MP4 to AVCHD Converter

Re-encode an MP4 to an H.264 AVCHD (M2TS) stream.

or drop files here

MP

MP4 Format

MPEG-4 Part 14

A container format defined in ISO/IEC 14496-14 that can hold video, audio, subtitles and metadata. H.264 video with AAC audio is the most common combination.

  • container for several codecs
  • H.264, H.265 and AV1 video
  • subtitles and chapters
  • widely supported for playback
AV

AVCHD Format

Advanced Video Coding High Definition

A format for HD camcorders introduced by Sony and Panasonic. It records H.264 video in MPEG transport stream files on cards, discs or drives.

  • H.264 video
  • Dolby Digital or PCM audio
  • MTS or M2TS files
  • Sony and Panasonic format

How to convert MP4 to AVCHD

Follow these steps to convert MP4 to AVCHD online.

    1

    Choose your MP4 file, or several at once.

    2

    Wait while the converter turns each file into AVCHD.

    3

    Download each new AVCHD file. Your original file isn't changed.

Before converting MP4 to AVCHD

  • The output is a single H.264 AVCHD (M2TS) transport stream, not a full camcorder folder structure.
  • Audio is AAC, while the AVCHD system lists AC-3 or Linear PCM.
  • Video is re-encoded at CRF 30, capped at 1920 px and 30 fps, with both sides rounded down to even numbers.

About MP4 and AVCHD

What is an MP4 file?

A media container standardized as MPEG-4 Part 14 (ISO/IEC 14496-14) and published in 2003, MP4 bundles video, audio, subtitles and metadata. The common contents are H.264 video and AAC audio, and phones, cameras and streaming sites produce it. Browsers all play it.

Programs that open MP4 files

  • Mac: QuickTime Player opens it.
  • Windows: Adobe Premiere imports it once a decoder for the contents is present, and Windows Media Player plays it.
  • Linux: mpv lets you pick audio and subtitle streams.
  • Web: Chrome and Firefox play it directly.
  • Mobile: VLC has apps for Android and iOS.

mpv and ffplay also run on Windows and Mac, and VLC media player plays MP4 too.

MP4 and AVCHD compared

  • Origin: AVCHD was introduced by Sony and Panasonic for HD camcorders. It packages its streams as MPEG-2 Transport Stream in MTS or M2TS files.
  • Video: its standard compression is MPEG-4 AVC/H.264, with 8-bit samples and 4:2:0 chroma, in interlaced and progressive HD modes.
  • Audio: Dolby Digital AC-3 or uncompressed Linear PCM.
  • Media: it records to memory cards, built-in storage or small 8 cm DVDs.

On this page, FFmpeg re-encodes the video with libx264 at CRF 30 and the audio as AAC at 96 kbps into an MPEG transport stream. The picture keeps its size when the longer side is 1920 px or less, extra frames are discarded to stay at or below 30 fps, and each width and height is rounded down to an even number.

Other ways to convert MP4 to AVCHD

  • FFmpeg, H.264 and AC-3: ffmpeg -i clip.mp4 -f mpegts -mpegts_m2ts_mode 1 -c:a ac3 -c:v libx264 clip.m2ts.
  • FFmpeg, remux: ffmpeg -i clip.mp4 -c copy -mpegts_m2ts_mode 1 -f mpegts clip.m2ts, which copies the streams and suits an MP4 whose codecs already fit AVCHD.
  • tsMuxer: write a meta file whose first line is MUXOPT --avchd, then a V_MPEG4/ISO/AVC, clip.mp4, track=1 line and an A_AC3, clip.mp4, track=2 line, setting track to each stream's number in the MP4. Run tsMuxeR project.meta avchd-output.

Problems with MP4 files

  • A decoder may be missing: a container that a program accepts can still hold video or sound it has no decoder for.
  • No sound to extract: an audio editor gets nothing from an MP4 that has no audio.
  • Interrupted recordings: the packet metadata of a normal MP4 stays together, so if writing stopped early the file may not play.

Frequently Asked Questions

Everything you need to know about our converter

What file do I get?

Will a camcorder or Blu-ray player accept it?

Is the picture size kept exactly?

What happens to a 60 fps clip?

Does the video get re-encoded?

Can I keep the streams as they are?

Can I process several clips together?

Is my MP4 uploaded for the re-encode?