The remux vs re-encode decision starts with what needs to change. A remux changes the container while copying selected compressed streams without another encoding loss. Re-encoding decodes and encodes those streams again: typical delivery settings are lossy, but lossless encoding is possible. Choosing MP4 alone tells you neither which operation will happen nor whether the result will play on your device.
Key Takeaways
- Remuxing avoids another encoding loss for copied streams. It usually takes less processing than re-encoding, but still reads and writes the media data.
- Re-encoding is not inherently lossy. Typical delivery settings discard information; supported lossless settings can avoid further encoding loss but cannot recover missing source detail.
-c copycopies selected streams, not every track. Check audio, subtitles, attachments, and metadata separately.- A valid MP4 is not a playback guarantee. Check the target device’s codec, profile, level, and bit-depth support, especially for HEVC or high-bit-depth video.
- Prefer remuxing when the selected streams meet your needs. Re-encode only tracks that need a different codec or image processing, then verify the output.
The Simple Difference
A video file has two layers. The container is the wrapper: MP4, MKV, WebM, MOV, MPEG-TS. The codec is how the video and audio streams inside the wrapper are compressed: H.264, H.265, AV1, VP9, AAC, Opus, MP3. If you need a deeper primer, read the sibling guide on video containers vs codecs.
Remuxing copies selected encoded media into a new wrapper. MKV to MP4 with H.264 video and AAC audio is a common candidate. It avoids decoding and encoding, but completion time still depends on file size and storage speed. FFmpeg’s formats documentation describes container readers and writers; a container accepting a stream does not establish that every player can decode it.
Re-encoding decodes frames, then encodes them with a new codec or different settings. This is needed when you must keep a track that the destination cannot accept, meet a device’s decoder requirements, or change the picture. Typical lossy delivery encoding trades information for a smaller file. Lossless encoding preserves the samples presented to the encoder; resizing, color conversion, or bit-depth reduction before encoding can still discard information. Neither approach restores detail already lost in the source.
FFmpeg -c copy vs Re-Encoding
The short answer: -c copy copies selected compressed streams into the new container. Naming an encoder instead makes FFmpeg decode and encode the corresponding streams again. FFmpeg’s stream copy documentation explains that copying bypasses decoding and encoding, while stream selection determines what reaches the output.
A minimal remux from MKV to MP4:
ffmpeg -i in.mkv -c copy out.mp4
A minimal re-encode of the same file to H.264 video and AAC audio:
ffmpeg -i in.mkv -c:v libx264 -crf 23 -c:a aac out.mp4
These examples rely on automatic stream selection. -c copy controls how selected streams are handled; it does not select all streams. Extra audio tracks, subtitles, attachments, or metadata may be omitted or unsupported by the destination. For detailed stream selection and subtitle handling, use the SRT vs VTT subtitle guide.
The first command avoids re-encoding the selected media if MP4 can carry it. Muxing can fail when a selected stream is unsupported; a valid output can also fail to play if the device lacks its decoder. These are separate checks.
The second command uses lossy H.264 and AAC settings. FFmpeg’s H.264 encoding guide covers CRF quality control and lossless H.264. Lower lossy CRF values generally retain more detail at larger sizes. A lossless video mode does not make AAC audio lossless, and lossless H.264 has limited playback support. The encoder name alone guarantees neither quality preservation nor compatibility. Inspect the resulting profile, level, pixel format, and bit depth before relying on it for a device.
Two common situations show the difference. When a downloaded video has no sound because audio and video arrived separately, joining compatible streams can be a remux. When an HEVC file will not play on Windows because a decoder is missing, a container change cannot supply that decoder. Use a suitable decoder or re-encode to a supported format.
When Remuxing Is Enough
Remuxing is enough when the selected streams fit the target container and the destination device supports their actual encoding parameters.
One common case is MKV to MP4 with H.264 + AAC. A converter can copy compatible streams into MP4 without re-encoding. This can help a player that accepts MP4 but not MKV, while preserving the copied picture and audio. It does not fix an unsupported H.264 profile or bit depth.
Another common case is MOV to MP4 from a phone or camera. If the MOV contains compatible H.264 or H.265 video with AAC audio, conversion may only need a container change. H.265 is HEVC: copying it into MP4 still requires HEVC decoding on the receiving device. High-bit-depth material needs a supported decoding path too.
Streaming files can also benefit from remuxing. HLS commonly uses MPEG-TS or fragmented MP4 segments; DASH commonly uses fragmented MP4. A tool must interpret the manifest, initialization data, and timestamps to assemble the selected tracks correctly. When those tracks are compatible with MP4 and the target player, they can be remuxed into one file without re-encoding. Simply joining segment files is not always sufficient.
Check all of these before choosing remuxing:
- The destination container accepts the selected video, audio, and subtitle formats.
- The target player supports the codecs and their profile, level, and bit depth.
- The tracks and metadata you need can be retained in the destination.
- You are not asking for a smaller file.
- You are not changing resolution, frame rate, or bitrate.
When Re-Encoding Is Required
Re-encode when a required track cannot be copied into the target container or decoded by the destination device.
The most obvious case is codec incompatibility. A WebM file with VP9 video and Opus audio may need H.264 and AAC for an older player. That is a requirement of the destination, not proof that every WebM-to-MP4 conversion needs new codecs.
Re-encoding is also required when you change the actual image. If you resize 4K to 1080p, crop black bars, burn subtitles into the picture, or stabilize a shaky clip, the original compressed frames cannot simply be copied. The converter has to create new frames and encode them again.
If you only want captions and the player supports a separate subtitle track, that avoids re-encoding the video; see SRT vs VTT subtitle formats for soft versus burned-in subtitles.
Substantial size reduction usually requires re-encoding if you keep the same duration and tracks. Remuxing does not shrink the copied media payload; dropping an unwanted track is a separate operation. A lower bitrate or a more efficient codec can reduce size, usually with lossy delivery settings. Lossless encoding offers no guarantee of a smaller file and can be much larger than a lossy source.
Common re-encode triggers:
- WebM to MP4 for older devices.
- AV1 to H.264 for a device that does not decode AV1.
- H.265 to H.264 for old TVs, browsers, or editing software.
- Opus to AAC for an MP4 player that does not support Opus.
- 4K to 1080p downscaling.
- Compressing a large file to a smaller target size.
Why “Convert to MP4” Is Ambiguous
“Convert to MP4” can mean two things.
It can mean put the existing video into an MP4 container. That is remuxing. Copied streams avoid another encoding loss when they fit; keeping every track is a separate requirement.
It can also mean make an MP4 for a particular device. H.264 video plus AAC audio is a common compatibility target, subject to supported profiles, levels, and pixel formats. If the source already meets that device’s requirements, remuxing can be enough. If a required track does not, re-encode that track. AV1 or HEVC inside MP4 can be valid yet unsupported on an older device.
Two MKV files can therefore require different operations: one contains streams the receiving phone supports, while the other needs a codec change. Inspecting the streams and the device requirements tells you more than the filename.
A Practical Decision Table
| Source | Target | Likely operation | Why |
|---|---|---|---|
| MKV with H.264 + AAC | MP4 | Remux | MP4 supports both streams |
| MOV with H.265 + AAC | MP4 for an HEVC-capable device | Remux if streams fit | Container change keeps HEVC; decoder support is still required |
| WebM with VP9 + Opus | MP4 for a device requiring H.264/AAC | Re-encode incompatible tracks | The device determines the needed codecs |
| MP4 with AV1 | MP4 for old TV | Re-encode | The device may not decode AV1 |
HLS .ts segments | MP4 | Remux if selected streams fit | Requires correct track assembly and timestamps |
| 4K MP4 | 1080p MP4 | Re-encode | Resolution changes require new frames |
| Large MP4 | Much smaller MP4, same duration and tracks | Usually lossy re-encode | Copied streams retain their media payload size |
This table is simplified, but it is a useful mental model. If the media streams can stay the same, remux. If the streams need to change, re-encode.
Choosing a Conversion Workflow
A reliable converter should make the operation explicit instead of hiding both paths behind the same label:
- If the selected streams fit both the output container and the target player’s requirements, remux them to avoid another encoding loss.
- If the target container or target device needs different codecs, re-encode only the incompatible tracks.
- For broad compatibility, consider MP4 with H.264 + AAC and parameters the target device supports.
- If the user wants archival quality, preserving the source codec in MKV or MP4 may be the better choice.
Before replacing the original, inspect the output with a media-information tool such as ffprobe. Compare codec, profile, level, pixel format, bit depth, duration, and the audio and subtitle track list with what you intended to keep. Check required attachments and metadata too. Then play the output on the actual destination device, including sound and subtitles; a successful mux alone is not that check.
For a browser-based workflow, review the online video converter for its supported inputs, outputs, and processing limits before choosing it. Whatever tool you use, changing the container alone cannot supply a missing decoder. Keep the original until you have checked the result.
Common Mistakes
The biggest mistake is renaming a file extension and calling it a conversion. Renaming video.mkv to video.mp4 changes the label, not the bytes. Some players inspect the actual file header and ignore the extension. Others may reject the mismatched extension. A real remux rewrites the container correctly.
The second mistake is re-encoding everything without a reason. Re-encoding uses processing time and, with lossy settings, can discard information even when a remux would have been enough. Check which tracks actually need to change first.
The third mistake is choosing a codec without checking the destination. AV1 and H.265 offer efficient compression, but an older device may need H.264 with specific parameters. A filename ending in .mp4 does not tell you whether it meets those requirements.
Closing Thoughts
Remux when the selected streams already meet the destination requirements. Re-encode when a required track or the picture needs to change. Typical lossy re-encoding can reduce quality; lossless encoding can avoid further encoding loss but cannot undo earlier losses.
Preserving picture quality, retaining every track, and achieving playback compatibility are separate goals. Check all three before deleting the source.
Related reading