'Best Quality' isn't quite right.
The logic of 'Best Quality' isn't quite right.
For an 8K video, if I select 'Best Quality or 8K' but choose H.264 as the codec, the download will be 1080p. If I choose VP9 as the codec, the download will be 2160p. To actually download in 8K, I must also select AV1.
For a 4K video, if I select 'Best Quality or 4K' but choose H.264 as the codec, the download will be 1080p. To get 4K, I must also select VP9.
I want quality to have the highest priority, and only then should the codec be considered. Alternatively, add a manual format selection dialog — that would be more user-friendly, especially since some videos have HDR and SDR versions.
I'm aware of this issue, but there's another problem to consider: many users only want to watch videos in the best possible quality for their device. When they select the highest quality (2K, 4K, 8K), the codec will switch to AV1 or VP9, which they won't be able to use with their default video players and will have to download an additional tool. Therefore, I don't want to address this issue. I want a simple application for users who aren't familiar with codecs, so I'll reconsider this later.
I will change codec default from 'h264' to 'auto'