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.
[Python] Calling Recode Video From Module #22126
Comments
|
You must explicitly set |
Checklist
Question
Hi, I have a basic script here that is designed to download the best format under 50MB here: https://pastebin.com/9Y4z2iwk
I know about the --recode-video which allows me to recode a video if the format is not supported by the download. My goal is to download the best mp4 videos and, if the best video is not in mp4 format, recode it into mp4. However, I am not using YouTube-DL via the command line but embedded into my Python module and there is no "recode-video" listed here in the YouTubeDL.
One last thing (a little off topic but relevant). Options such as the downloader cannot be controlled video the YouTubeDL module since their handled by the downloader, a seperate module. How do I control this and add it into my YouTubeDL options inside my Python program?