Open suryabranwal opened 4 years ago
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.
Checklist
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