How do I remux video to a different format Using the Python yt-dlp invocation? #9941
Closed
6 of 9 tasks
Labels
question
Question
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Please make sure the question is worded well enough to be understood
I've been looking at the python version of the command at https://github.com/yt-dlp/yt-dlp/blob/9ebac35577e61c3d25fafc959655fa3ab04ca7ef/yt_dlp/YoutubeDL.py, and I noticed there isn't a "remux-video" option. Looking closer at the code, however, it appears there should be a way to remux or recode a video using the 'postprocessors' argument, but it isn't clear to me how this should be used. I've tried using
[{"key": "FFmpegVideoConvertor", "when": "post_process"}]
or[{"key": "FFmpegVideoRemuxer", "when": "post_process"}]
, with the extension in thefinal_ext
argument, but there are some issues. Any guidance on what options I should use to get a remux or recode from mp4 to other formats in place of--remux-video
in the command line version, like mov and avi?Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
No response
The text was updated successfully, but these errors were encountered: