Mediatavio
YouTube to MP3PriceBlogPrivacy

Video conversion

Video Converter: Containers, Codecs and Playback

Choose the right file for the destination, not just a familiar extension.

By Mediatavio Engineering

Start with the player that needs the file

Video Converter creates a separate output file in the browser. Before choosing a format, check the receiving application, website or device: compatibility depends on both the container and the encoded tracks.

  1. Load a video and inspect its duration and dimensions.
  2. Select the destination container. MP4 with H.264 video and AAC audio is a common starting point, but confirm the destination's requirements.
  3. Use Balanced for re-encoding, or Original encoding when you specifically want to copy compatible streams.
  4. Keep resolution and frame rate at Source unless the destination requires a change. Decide whether to retain audio.
  5. Sign in, export, download and test the result in the receiving player.

Changing a filename from MOV to MP4 does not convert the contents. Likewise, successful playback in your browser is not proof that every phone or editing application supports the file.

A container is not a codec

MP4, MOV, MKV and WebM describe how tracks and metadata are packaged. H.264, VP8, AAC and Opus describe how video or audio is encoded. Two files ending in MP4 can contain different codecs and have different playback support.

Current re-encoding choices, not every codec each container can hold
OutputVideoAudio when retained
MP4 / MOV / MKV / 3GPH.264AAC
WebMVP8Opus
AVIMPEG-4 Part 2MP3
WMVWMV2WMA
OGVTheoraVorbis

The table describes this tool's selected encoding paths. In the native video route, compatible same-codec audio can be copied rather than encoded again. Original encoding can retain other input codecs, subject to destination-container support.

Re-encoding versus Original encoding

Balanced decodes pictures and encodes a new video stream. High and Small adjust the chosen encoder's quality or bitrate settings. These labels are not identical mathematical quality levels across WebCodecs and FFmpeg, and no setting can recover detail already lost in the source.

Original encoding uses FFmpeg to remux compressed packets without decoding and re-encoding the picture. Resolution and frame rate must remain at Source. The export model maps the first video stream and, when requested, the first available audio stream, then uses stream copying:

-map 0:v:0 -map 0:a:0? -c copy -sn -dn

This is an argument fragment, not a complete command. Subtitles and data streams are excluded. A container may reject the original codecs; copying is not a universal compatibility repair. Choose Balanced if the destination requires a different codec.

When WebCodecs runs and when FFmpeg takes over

For compatible MP4, MOV, MKV and WebM re-encoding, the page tries a module Worker using Mediabunny and the browser's media APIs. It requires a secure context, suitable input decoding and available output encoders. HTTPS and localhost qualify as secure contexts; browser brand alone does not guarantee codec support.

AVI, WMV, OGV, 3GP and Original encoding stay on FFmpeg. Native unavailability or conversion failure also falls back to FFmpeg. The native route lets the browser choose hardware or software processing; it does not prove that the GPU is being used.

Native input is read from the selected file through a Blob source rather than copied wholesale into the WASM filesystem. Output is still buffered in memory. FFmpeg writes the input to its virtual filesystem and reads back the output. Both paths can exhaust memory on large videos, especially on mobile.

What resolution, frame rate and audio settings change

Resolution caps output height while preserving proportions with even-pixel rounding; it does not enlarge a smaller source. A higher requested frame rate cannot recreate motion that was never captured. Frame duplication or timing conversion is not motion interpolation.

Keep audio retains a selected audio track when present, not every language track. If native conversion cannot retain a required existing audio track, the page falls back rather than silently discarding it. Turning audio off deliberately creates a silent result.

For an exact viewing interval, use Video Trimmer. For a size budget, use Video Compressor. Conversion by itself does not guarantee a smaller output, and a downloaded format may require a different player than the browser preview.