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.
find the best format for video file and audio file in json #5475
Comments
|
Run youtube-dl with All the DASH videos are sorted by different attributes, like resolution or bitrate, and something similar for the audio. (It's all done in the |
hi, this is not an issue, just an ask for some help.
I am writing a php app that works with youtube-dl json generated file.
What is the best way to find the best video file and the best audio file in the generated with --dump-json json file?
I see there is a 'preference' key, but several format have the same preference value.
How does youtube-dl selects the best audio and video before merging to an audio+video with ffmpeg, what are its criteria of selection in the json generated?