]> jfr.im git - yt-dlp.git/commit
Better Format Sorting (Squashed)
authorpukkandan <redacted>
Mon, 26 Oct 2020 15:50:09 +0000 (21:20 +0530)
committerpukkandan <redacted>
Sun, 13 Dec 2020 14:35:02 +0000 (20:05 +0530)
commiteb8a44336c3fbecefa9540794449adfd1b53d32b
tree6b4b8336da291bf0e4d76d3ba81500904ce9fef2
parent98e248faa49e69d795abc60f7cdefcf91e2612aa
Better Format Sorting (Squashed)

* Added --format-sort (-S height,filesize)
* Made fields reversible (-S +height)
* Added --format-sort-force, --no-format-sort-force
* Added limit (-S height:720)
* Added codec preference (-S vcodec,acodec)
* Correct handling of preference<-1000

* Rebased to yt-dlc
* Automatically determine missing bitrates
* aext, vext, protocol, acodec, vcodec can now takes priority as string, not number (-S vext:webm)
* Correct handling of None in codec, audio_codec (None means the codec is unknown while 'none' means it doesn't exist)
* Correctly parse filesize (-S filesize:200M)
* Generalized preference calculation

* Rewrote entire code into the class FormatSort
* Correctly handle user input errors
* Combined fields (-S +ext:webm:webm)
* Closest mode (-S filesize~50M)
* Aliases (framerate=fps, br=bitrate etc)

* Documentation
README.md
youtube_dlc/YoutubeDL.py
youtube_dlc/__init__.py
youtube_dlc/extractor/common.py
youtube_dlc/extractor/vimeo.py
youtube_dlc/options.py