Convert MTS to MPG — Free Online Tool
Convert AVCHD camcorder footage (MTS) to MPEG-2 MPG format, re-encoding the H.264 video stream to mpeg2video and the AC-3/AAC audio to MP2 — producing files compatible with legacy DVD authoring software, broadcast systems, and older media players that predate H.264 support.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your MTS file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
MTS files store video as H.264 inside an MPEG-2 Transport Stream container, which is efficient for modern playback but incompatible with many classic DVD and broadcast workflows. This conversion fully re-encodes the video: the H.264 stream is decoded and re-encoded to MPEG-2 video (mpeg2video), which is the codec used on DVDs and in broadcast television. The audio — originally AC-3 or AAC in the MTS file — is similarly re-encoded to MP2 (MPEG-1 Audio Layer II), the audio standard native to MPEG-2 video programs. Because both video and audio are transcoded rather than remuxed, expect some generation loss and longer processing times compared to container-only conversions. The output MPG file uses a fixed quantizer scale (-q:v 2) for near-maximum MPEG-2 video quality.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg program, the open-source multimedia processing engine that handles decoding the AVCHD MTS input, re-encoding to MPEG-2/MP2, and writing the MPG output. |
-i input.mts
|
Specifies the input file — an MTS file in the AVCHD format, containing H.264 video and AC-3 or AAC audio wrapped in an MPEG-2 Transport Stream container as recorded by Sony or Panasonic camcorders. |
-c:v mpeg2video
|
Sets the video encoder to mpeg2video, which re-encodes the H.264 video stream from the MTS source into MPEG-2 video — the codec required for DVD, broadcast, and legacy MPG compatibility. |
-c:a mp2
|
Sets the audio encoder to MP2 (MPEG-1 Audio Layer II), re-encoding the source AC-3 or AAC audio into the audio format native to MPEG-2 video programs and required by many DVD authoring and broadcast workflows. |
-q:v 2
|
Sets the MPEG-2 video quality using the fixed quantizer scale, where 1 is the highest quality and 31 is the lowest. A value of 2 produces near-maximum MPEG-2 video quality to minimize generational loss from the H.264-to-MPEG-2 transcode. |
-b:a 192k
|
Sets the MP2 audio output bitrate to 192 kilobits per second, which is the standard bitrate for high-quality MPEG-2 audio in broadcast and DVD contexts — providing clear stereo audio from the camcorder's original recording. |
output.mpg
|
Defines the output filename with the .mpg extension, which tells FFmpeg to write an MPEG-2 Program Stream container — the standard file format recognized by DVD authoring tools, legacy media players, and broadcast ingest systems. |
Common Use Cases
- Importing Sony or Panasonic camcorder footage into legacy DVD authoring applications like DVD Architect or Nero Vision that require MPEG-2 MPG input rather than H.264 MTS files
- Delivering video to broadcast facilities or cable access stations that require MPEG-2 Program Stream or Transport Stream files in MPG format per older ingest specifications
- Archiving family camcorder recordings to MPG so they can be played on standalone DVD players with USB playback support that recognize MPEG-2 but not H.264
- Supplying video to video editing software from the early 2000s or hardware-based editors (e.g., older Avid or Pinnacle systems) that accept MPEG-2 natively but cannot decode AVCHD
- Converting MTS footage for use with VCD or SVCD creation tools that specifically require MPEG-1 or MPEG-2 elementary streams in MPG format
- Providing MPEG-2 MPG files to clients or organizations using legacy digital signage players or kiosk hardware that cannot handle H.264 video streams
Frequently Asked Questions
Yes, some quality loss is unavoidable because this conversion fully re-encodes the video from H.264 to MPEG-2. H.264 is a more efficient codec — it achieves comparable visual quality at roughly half the bitrate of MPEG-2. To maintain similar perceived quality in the MPG output, the MPEG-2 stream will typically be larger than the original H.264 video. Using the default -q:v 2 setting produces near-maximum MPEG-2 quality to minimize generational degradation.
This is expected and is a direct consequence of codec efficiency. H.264 (used in MTS) is far more compression-efficient than MPEG-2 (used in MPG). To reproduce similar visual quality, MPEG-2 requires a significantly higher bitrate. At the default -q:v 2 quality setting, the MPEG-2 encoder operates near its highest quality level, which produces a generous bitrate — resulting in an output file that can be two to three times larger than the source MTS file.
No. The MPG format as used here does not support multiple audio tracks or subtitle streams. If your MTS file contains more than one audio track, only the default (first) track will be included in the MPG output. Any subtitle streams embedded in the MTS file will be dropped during conversion. If preserving subtitles or alternate audio tracks is important, consider a container like MKV or MP4 instead.
MP2 (MPEG-1 Audio Layer II) is the audio codec native to the MPEG-2 video standard and is mandatory for PAL DVD and SVCD specifications, as well as broadcast television in many regions. Most standalone DVD players that support MPEG-2 playback via USB will recognize MP2 audio alongside the MPEG-2 video stream. It is distinct from MP3 (Layer III) and AAC — both of which were used in the source MTS file — but is widely compatible with legacy hardware designed around MPEG-2.
To adjust video quality, change the -q:v value: lower numbers mean higher quality (1 is maximum, 31 is lowest), so -q:v 4 or -q:v 6 will reduce file size at some visual quality cost. To adjust audio bitrate, modify the -b:a value — for example, replacing 192k with 128k reduces the audio bitrate, or 256k increases it. A full example for smaller file size would be: ffmpeg -i input.mts -c:v mpeg2video -c:a mp2 -q:v 5 -b:a 128k output.mpg
Yes, with a simple shell loop. On Linux or macOS, run: for f in *.mts; do ffmpeg -i "$f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "${f%.mts}.mpg"; done — this processes every MTS file in the current directory and saves a matching MPG file. On Windows Command Prompt, use: for %f in (*.mts) do ffmpeg -i "%f" -c:v mpeg2video -c:a mp2 -q:v 2 -b:a 192k "%~nf.mpg". The browser-based tool processes one file at a time, so the FFmpeg command is especially useful for batch workflows.
Technical Notes
The MTS-to-MPG conversion involves a full transcode of both video and audio streams — there is no opportunity to stream-copy (remux) either codec, since H.264 is not valid inside an MPG container and AC-3/AAC must be converted to MP2 for MPEG-2 program stream compatibility. The MPEG-2 video encoder's -q:v parameter uses a fixed quantizer scale from 1 (best) to 31 (worst), unlike the CRF scale used for H.264 encoding in MTS production. At -q:v 2, the encoder targets very high quality but produces variable bitrates depending on scene complexity — fast-motion camcorder footage may produce substantially larger files than static scenes. Chapters embedded in the MTS file (if any) are not preserved in MPG, as neither format's use here supports chapter metadata in a meaningful way. Additionally, AVCHD MTS files frequently contain interlaced video shot at 1080i; the MPEG-2 encoder can handle interlaced content natively, but if your downstream application requires progressive video, you should add a deinterlace filter such as -vf yadif to the FFmpeg command. Color space and frame rate are preserved from the source during re-encoding.