Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
When I use some postprocessor_args the youtube-dl gives me an AssertionError when it tries to convert #26827
Comments
|
'postprocessor_args': ['-vf', 'pad=ceil(iw/2)*2:ceil(ih/2)*2'], |
It worked, thank you a lot |
Checklist
Question
Hi, I'm trying to make a code for converting videos with youtube-dl and convert it with ffmpeg after the download but I don't know the reason that when I run it it gives me an assertionError when it will convert the file.
This args is necessary because the webm [https://i.4cdn.org/wsg/1597715032203.webm] that I used for the example didn't work without making some padding if is converted to mp4 and I can cover this use case on the code I'm trying to build but using it in postprocessor_args doesn't work
This is the args I want to add:
-vf "pad=ceil(iw/2)*2:ceil(ih/2)*2"This is mine ydl_opts:
and this is the output I get when I try to download and convert something and gives me the assertion error: