MAC·DVD
Guides

How to Convert an AVCHD MTS File to MP4 on a Mac

Editorial illustration of a home camcorder and an SD card beside a silver laptop
The TL;DR: For a single MTS clip containing H.264 video, FFmpeg can copy the video into an MP4 and convert the sound to AAC. Keep the original clip and check the new file's picture, sound and duration.

An editor asks for an MP4. The clip you have is called 00001.MTS. If it already contains H.264 video, you can keep the encoded picture and change the file that carries it. This walkthrough uses FFmpeg on a Mac and also converts the first audio track to AAC.

Start with the file you actually have

If you still have the camera card or a backup of the entire AVCHD folder, preserve the whole folder tree and work on a copy. A long take can span several files or cards. Turning one file into an MP4 gives you just that piece. For a complete take, import the camera archive or all its cards into an editor that recognizes spanned clips. Apple’s instructions for spanned clips · Import camera video to a Mac

If you already have one complete .MTS clip, put it in a working folder. Keep a fresh filename for the output. Renaming .MTS to .mp4 changes the label while leaving the same transport stream inside.

Check which video and audio tracks are inside

On a Mac with Homebrew, brew install ffmpeg supplies ffmpeg and ffprobe. To follow the commands exactly, save the original MTS sample (2.32 MB) in a working folder. In Terminal, type cd and a space, drag that folder from Finder into the window, and press Return. For your own clip, substitute its filename inside the quotes. FFmpeg for Homebrew

ffprobe -v error -show_entries stream=index,codec_type,codec_name,width,height,channels -of json "motion-and-tone.MTS"

Look for a video entry named h264 and at least one audio entry. Note the picture dimensions and the number of audio streams. Our sample has H.264 video and AC-3 stereo sound. If there are two languages or a separate microphone track, decide which one you want before you convert. FFprobe documentation

Make an MP4 with the original H.264 picture

ffmpeg -n -i "motion-and-tone.MTS" -map 0:v:0 -map 0:a:0 -c:v copy -c:a aac -b:a 192k -movflags +faststart "family-clip.mp4"

-map 0:v:0 and -map 0:a:0 select the first video and audio streams. If the sound you need is the second audio track, use -map 0:a:1 in place of -map 0:a:0. -c:v copy copies the compressed picture. FFmpeg encodes the selected audio as AAC at a target of 192 kb/s. The -n flag protects an existing output file. Choose a fresh output name to run the command again. FFmpeg stream selection and stream copying

If FFmpeg reports that 0:a:0 matches no streams, inspect the source again. For a genuinely silent clip, omit the audio map, -c:a aac and -b:a 192k, then add -an. If you expected sound, find the right source clip first. Keep the MTS for the original audio, additional languages and any subtitles or camera metadata you may need later.

Check the MP4 before sending it

Open family-clip.mp4 in QuickTime Player. Play the beginning and end with the volume up. Choose Window > Show Movie Inspector (Command-I) to check the format and dimensions. In our sample, Resolution reads 1280 × 720. Current Size reads 1024 × 576 because the playback window was smaller. Compare the last scene with your source as well, particularly if the camera split a long take.

QuickTime Movie Inspector shows 1280 by 720 pixels, H.264 video and 48 kHz AAC audio for motion-and-tone.mp4
QuickTime Player on macOS 15.8.2 showing our downloadable reference copy, motion-and-tone.mp4. Look for H.264 under Video Format and MPEG-4 AAC, 48000 Hz under Audio Format.

For an interlaced original, copying the video also preserves its interlacing. If your delivery requires progressive video, a smaller resolution or a different video codec, choose a video encode with those settings. The stream-copy command above is for keeping the existing picture.

Try the same conversion with our two files

We generated a five-second MTS clip with a moving test pattern and stereo tone. The single file uses 192-byte transport packets, H.264 video and AC-3 audio. The test starts with a file on disk, so it can be repeated without a camcorder or card reader.

What to checkOriginal MTSConverted MP4
Picture1280 × 720, progressive H.264Same dimensions and H.264 video
SoundStereo AC-3, 48 kHzStereo AAC, 48 kHz
Container duration5.024 seconds5.024 seconds
File size in this test2.32 MB2.17 MB

On macOS 15.8.2, FFmpeg 9.0.2 decoded 300 pictures from each file. We compared their checksums in order. All 300 matched. We then ran the printed command again on the downloadable MTS with the same build. Its output matched the reference MP4 byte for byte. The conversion re-encodes the audio, and other clips can have a different size change.

Save the original MTS (2.32 MB) and the reference MP4 (2.17 MB). Your own family-clip.mp4 should show the same moving pattern and play a steady tone to the end. The original file and reference MP4 have distinct names from your new export, so you can keep all three for comparison.

Cover illustration created with AI by MAC-DVD Editorial.