Skip to main content
FormatDrop
How-To Guide

How to Convert MXF to MP4

MXF (Material Exchange Format) is the broadcast and pro video container used by Sony XDCAM, Panasonic P2, Avid, and most professional editing pipelines. Converting MXF to MP4 makes professional footage shareable and playable on consumer devices. MP4 with H.264 is the universal target — every device plays it.

FormatDrop doesn't convert MXF to MP4 yet. The methods below use free tools that do. FormatDrop's own converters cover common image, audio, video and PDF formats, all in your browser.

Convert MXF to MP4 with free tools

  1. 1

    Check what's inside

    Run ffprobe input.mxf (it comes with FFmpeg) or open the file in MediaInfo (free). MXF can hold MPEG-2 (XDCAM, IMX), DV/DVCPRO, AVC-Intra, XAVC (H.264), JPEG 2000 and more. The codec decides whether you can copy the video or must re-encode it.

  2. 2

    Re-encode with FFmpeg

    ffmpeg -i input.mxf -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a aac -b:a 192k -movflags +faststart output.mp4. The -pix_fmt yuv420p part turns 10-bit or 4:2:2 camera video into the 8-bit 4:2:0 video that phones and browsers play.

  3. 3

    Keep the right audio channels

    Camera MXF files often store each microphone as its own mono track. List them with ffprobe, then pick the ones you want: ffmpeg -i input.mxf -map 0:v -map 0:a:0 -map 0:a:1 -c:v libx264 -crf 20 -pix_fmt yuv420p -c:a aac output.mp4. To merge two mono tracks into one stereo track, use -filter_complex "[0:a:0][0:a:1]amerge=inputs=2[a]" -map 0:v -map "[a]" instead of the -map options.

  4. 4

    Or use a free editor

    DaVinci Resolve (free) opens most camera MXF files; export with an H.264 MP4 preset on the Deliver page. Shutter Encoder (free, Windows and Mac) puts FFmpeg behind a simple window.

Why convert MXF to MP4?

MXF is broadcast's professional format; MP4 is the consumer standard. Converting between them is the bridge from production pipeline to deliverable.

Frequently asked questions

FFmpeg command for MXF to MP4?
`ffmpeg -i input.mxf -c:v libx264 -crf 20 -c:a aac -b:a 192k -movflags +faststart output.mp4`. The faststart flag helps streaming/web playback.
Is MXF to MP4 lossless?
Re-encoding is lossy, though at CRF 18–20 the loss is hard to see. A remux keeps the camera's video as it is: `ffmpeg -i input.mxf -c:v copy -c:a aac output.mp4`. The sound still becomes AAC, because browsers don't play the PCM audio that camera MXF files use. Copying only helps when the video is MPEG-2 or 8-bit H.264; DV, JPEG 2000 and 10-bit or 4:2:2 video won't play on phones even when copied. For most files, re-encoding to H.264 is the practical path.
What if my MXF has multiple audio tracks?
Map specific tracks: `ffmpeg -i input.mxf -map 0:v -map 0:a:0 -map 0:a:1 -c:v libx264 -c:a aac output.mp4` to keep video plus first two audio tracks. List tracks with `ffprobe input.mxf`.
Browse FormatDrop's converters

No account. No upload. Works in any browser.