Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use H.264 codec first #173

Merged
merged 1 commit into from
Sep 26, 2020
Merged

Use H.264 codec first #173

merged 1 commit into from
Sep 26, 2020

Conversation

tatzyr
Copy link
Contributor

@tatzyr tatzyr commented Sep 20, 2020

This pull request improves the portability of the video.

Very occasionally, YouTube publishes videos that combine the AV1 codec and MP4 containers.
AV1+MP4 video was downloaded when I specified the quality = "low", format = "video" option (see below).

# tested in youtube-dl 2020.09.20

# Use original 'low' format
$ youtube-dl -f 'worstvideo[ext=mp4]+worstaudio[ext=m4a]/worst[ext=mp4]/worst' DIe_PXlpRd0 --output 'video_%(vcodec)s.%(ext)s'

# => creates video_av01.0.00M.08.0.110.01.01.06.0.f394.mp4

Most podcast players don't support the AV1 codec, so I changed to select H.264 (AVC) codec first.

@mxpv
Copy link
Owner

mxpv commented Sep 26, 2020

Thanks!

@mxpv mxpv merged commit a4f8545 into mxpv:master Sep 26, 2020
@tatzyr tatzyr deleted the h264 branch September 27, 2020 12:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants