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.
use "youtube-dl -f .." with more complexe rule sets #23584
Comments
|
and similiar rules (e.g. for resolution : low->high , high->low) ... |
|
Parse JSON output and write whatever script you need. |
Checklist
Question
currently i manually check for the final file-sizes of
webm : "youtube-dl -f 248/247/...+251/250 -o video.webm 'URL'"
mp4 : "youtube-dl -f 137/136/...+140 -o video.mp4 'URL'"
and then keep the smaller file.
for downloading muliple (from playlist or file) videos this is not efficient since it would require to first download both and then manually check+delete the less good file.
doing such is more time and storage consuming, and therefore not ideal
is there a way to directly tell youtube-dl to compare the (approx.) filesizes of the video-only formats (always comparing with same resolution) between the 'mp4'- and 'webm'-format ? (and compare merged size)
FG Patrickjred