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

Combining the highest available quality video with the highest quality sound track available locally. #26741

Open
suryabranwal opened this issue Sep 28, 2020 · 1 comment

Comments

@suryabranwal
Copy link

@suryabranwal suryabranwal commented Sep 28, 2020

Checklist

  • I'm reporting a site feature request
  • I've verified that I'm running youtube-dl version 2020.09.20
  • I've searched the bugtracker for similar site feature requests including closed ones

Description

WRITE DESCRIPTION HERE

After using -F option we can see all the available formats. Since, the best quality(video+audio) is limited to 720p only. By user's choice, downloading highest quality video and highest quality audio separately and then with the use of "ffmpeg" we can combine the two to get the best quality videos with the package itself as an option.
Reference for ffmpeg usage: https://superuser.com/questions/277642/how-to-merge-audio-and-video-file-in-ffmpeg#277667

@TegraMorgan
Copy link

@TegraMorgan TegraMorgan commented Oct 4, 2020

you can use this:
-f bestvideo+bestaudio --merge-output mkv
You can also try merging to mp4, but if best quality is webp or ogg it won't merge, because merge is only coping the stream as is, and not converting.
Good luck. If this helps, close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.