MPEG-2 to M4R: A Ringtone from an MPEG-2 Program Stream
A file ending in .mpeg2 is almost always an MPEG-2 program stream, the same multiplex DVDs and many capture and broadcast tools use, with MPEG-2 video and an MP2, Dolby Digital (AC-3) or PCM soundtrack interleaved in one file. This converter keeps only the soundtrack. It decodes the audio, encodes it as AAC, and writes an .m4r file: AAC-LC in an MPEG-4 container, with the extension iPhone uses for custom ringtones.
Because Apple says ringtones can be up to 30 seconds long, the Trim control matters more here than on an ordinary audio conversion. You are lifting half a minute out of what may be an hour-long recording.
How to Convert MPEG-2 to an iPhone Ringtone
- Upload the MPEG-2 File: Drag the
.mpeg2file onto the page or click "Add Files". Queue several if you want more than one tone; they share the same settings. - Trim the Part You Want: Change Trim from Unchanged to Trim, enter a Start time in seconds or HH:MM:SS.sss, and set Duration to 30 seconds or less, as the note under the field suggests.
- Set Bitrate and Channels: Audio Codec is AAC, the only codec M4R takes. Choose Constant Bitrate (8-384 kbps) for a known size, or Variable Bitrate, Quality Preset, Custom Bitrate or a target file size. Set Audio Channel to Stereo for surround sources.
- Convert and Install: Click Convert and save the
.m4r. Copy it to the iPhone and select it in Settings > Sounds & Haptics > Ringtone.
Why the Audio Can Be Pulled Out Cleanly
MPEG-2 is a family of standards (ISO/IEC 13818), and each part does one job. That separation is why a soundtrack can be lifted out of an MPEG-2 file without touching the picture, and also why one kind of MPEG-2 file, the bare video stream, has no sound at all.
| MPEG-2 part | What it defines | Where you meet it |
|---|---|---|
| Part 1 (Systems) | Program stream and transport stream multiplexes | .mpeg2, .mpg, .vob (program stream); .ts, .m2ts (transport stream) |
| Part 2 (Video, also ITU-T H.262) | MPEG-2 video coding | .m2v elementary streams: picture only |
| Part 3 (Audio) | Multichannel extension of MPEG-1 audio (MP2) | Soundtracks on capture-card files, some DVDs and broadcasts |
| Part 7 (AAC) | Advanced Audio Coding | The codec family your M4R uses |
AAC was first standardised as MPEG-2 Part 7 in 1997 and later carried into MPEG-4 Audio, so the source and the result are relatives. An MP2 or AC-3 soundtrack still has to be re-encoded to become AAC, though. If your file turns out to be a bare video stream, there is nothing to convert; M2V to M4R explains where the sound usually is.
MPEG-2 Program Stream vs M4R
| Property | MPEG-2 (.mpeg2) | M4R |
|---|---|---|
| Structure | Program stream: interleaved video and audio packs | MPEG-4 file with a single AAC track |
| Video | MPEG-2 (H.262), usually standard definition from DVD-era sources | None |
| Audio | MP2, AC-3 (stereo or 5.1) or LPCM, usually 48 kHz | AAC-LC |
| Channels | Up to 5.1 with AC-3 | Original, Mono or Stereo, as you choose |
| Length | Often an hour or more | Up to 30 seconds as a ringtone |
| Size of 30 seconds | Tens of megabytes with the video | About 480 KB at 128 kbps, 960 KB at 256 kbps |
| Used for | Archiving, editing, DVD authoring | iPhone ringtone or text tone |
Settings That Matter for an MPEG-2 Soundtrack
- Audio Channel: a DVD-sourced MPEG-2 file often carries 5.1 Dolby Digital. Choose Stereo so the tone is a two-channel mix; Mono suits speech.
- Audio Sample Rate: MPEG-2 sources are usually 48 kHz, and AAC handles that natively, so Original is the sensible choice. 44100 Hz is there if another tool insists on it.
- File Compression: 128 kbps Constant Bitrate is plenty for a phone, or 192 kbps if the clip is music you care about. The Variable Bitrate bands (20k-32k up to 96k-112k) are nominal labels; the delivered rate follows the material.
- Trim: Start time and Duration take seconds or HH:MM:SS.sss. Keep Duration at 30 or less.
Installing the Ringtone
On a Mac with macOS Catalina or later, connect the iPhone, select it in the Finder sidebar and drag the .m4r onto it. On Windows, use iTunes. With only the phone, save the file to Files, open it in GarageBand and use Share > Ringtone; Apple's GarageBand guide says exported ringtones can be up to 30 seconds and can be used as a ringtone or a text tone. Then choose it in Settings > Sounds & Haptics > Ringtone, or assign it to one person in Contacts > Edit > Ringtone. Android users should make an MP3 instead with MPEG-2 to MP3.
Frequently Asked Questions
Is an .mpeg2 file different from an .mpg file?
Usually not in structure. Both normally contain an MPEG-2 program stream; .mpeg2 is simply a more explicit name some capture and editing tools use. If your files end in .mpg or .mpeg, use MPG to M4R, which accepts those extensions.
Which soundtrack ends up in the ringtone if the file has several?
There is no track picker on this page, so the converter selects one audio stream automatically, normally the main soundtrack. If you need a specific language or commentary track, separate it with a desktop tool first and upload the result.
Will a 5.1 Dolby Digital track work?
Yes. The AC-3 track is decoded and encoded as AAC. Set Audio Channel to Stereo so the surround channels are folded into a two-channel mix, which is what you want for a phone ringtone.
How long can an iPhone ringtone be?
Apple says up to 30 seconds, and GarageBand shortens a longer ringtone automatically on export. A 40-second limit is often quoted from the iTunes era, but it is not in Apple's current documentation; 30 seconds is the safe length.
Do I lose quality converting MPEG-2 audio to AAC?
A little, in principle, because MP2 and AC-3 are already lossy and AAC is a second lossy encode. At 128 kbps or above on a 30-second clip the difference is not something a phone speaker reveals. PCM sources get a single clean encode.
Can I keep the whole soundtrack instead of 30 seconds?
Yes, but as a music file rather than a ringtone. MPEG-2 to M4A produces the same AAC-in-MPEG-4 format without the ringtone extension, at any length.
Is my MPEG-2 file kept after conversion?
No. It is uploaded over an encrypted (TLS) connection, processed on our servers, and deleted automatically after a few hours, as is the ringtone. The converter is free, with no sign-up and no watermark.