ErrorFlynn / ytdlp-interface

Windows graphical interface for yt-dlp, designed as a simple YouTube downloader
MIT License
1.1k stars 58 forks source link

Confused on how to get the best compatable format #142

Closed snab43 closed 4 months ago

snab43 commented 5 months ago

Love this software, but I'm a bit confused on how it works. What I'm trying to achieve is the highest quality video format that is also compatible with Premiere Pro. So ideally H.264 codec. I wouldn't mind using ffmpeg to convert but I can't tell how to do.

I set my preferred video container to mp4 and my preferred video codec to h264 in the settings. But if I just select "Let yt-dlp choose the best format" it will download a webm with a weird codec (I think vp9) that Premiere can't read.

image

If I go to "Select formats" I usually only get 1 option above "Audio only" and "Video only" and it's 360p. Not HD.

image

I wouldn't be surprised if YouTube just uses vp9 now for everything HD and the only way to get a compatible HD format is to use ffmpeg, but I'm not understanding how to do that. I thought putting prefer h264 in the settings would mean that it would try to get me the highest quality video in h264 even if it needed to convert with ffmpeg to do so.

How can I achieve this?

Thanks again for this software! It's probably the best yt-dlp wrapper I've used.

githottub commented 5 months ago

If you select MP4 as preferred video container then you must also select M4A as the preferred audio container. Otherwise, in most cases, YT-DLP will consider Opus the best codec and therefore you'll end up with an MKV.

Your main problem fundamentally is your requirement to end up with an MP4 file due to Premiere still not being compatible with the MKV files. Personally, this inexcuseable failure to get with the times and add MKV support would cause me to move to different software. However, if you absolutely must stick with Premiere for some reason, you're going to be also stuck having to make compromises of some sort... either accepting whatever lower quality file you can download immediately in an MP4 container OR selecting whatever better audio/video formats you want from the format selection window then coverting the resultant MKV into an MP4. For that, try MKVToolNix.