
Audio (MP3) - downloads the best quality audio stream and converts it to the MP3 format. Usually an Opus file with bitrate of ~160 kbps. Audio (best quality) - downloads the best quality audio stream. This option usually results in a video file in the WebM format with Opus audio. If this format doesn't contain an audio stream, it is merged with the best quality audio stream. Video (best quality) - downloads the best format (determined by yt-dlp) that contains video.
If no MP4 stream is available, this option will behave the same as Video (best quality).
Video (MP4) - downloads the best quality MP4 video stream and merges it with the best quality AAC audio stream. Visit the /yt endpoint to use the YouTube downloader, which is essentially a frontend for yt-dlp.
You can simply change the container without transcoding, or change the video codec to H.264 (AVC) using the x264 encoder and the audio codec to AAC using the high quality Fraunhofer FDK AAC encoder.
You can also convert a video to the MP4 or MKV format. Convert an audio or video file to any of the following formats: