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.
Feature request: select bestaudio format based on determined bestvideo to preserve container type #11517
Comments
|
Duplicate of #10226. There are some interesting discussions but no actual implementations yet. |
|
I attempted an implementation in JavaScript in response to @daemonster's Python version: https://gist.github.com/Daemonster/4c94372a85cd4b5ea86df06e102a19e7#gistcomment-2006531 |
Previous topic was closed due to perceived availability of such a feature.
Present behaviour of bestaudio is independent of bestvideo. My feature request is for bestaudio to be dependent on the determined bestvideo format to preserve container format e.g:
if bestvideo is determined to be mp4, bestaudio will default to bestaudio[ext=m4a] to preserve the mp4 container and avoid an mkv output.
similarly, if bestvideo is determined to be vp9, bestaudio will default to bestaudio[ext=webm] to preserve the webm container and avoid an mkv output.
Thank you!