I want to use a format selector that is something like -f bestvideo+
best audio whose extension is compatible with the video extension
so that they don't need to be muxed into an mkv (WARNING: Requested formats are incompatible for merge and will be merged into mkv.
).
Note: I know about -f best
and I don't want that. I want the best possible qualities of both audio and video while ensuring that they are compatible. How to do that?