MPG to MP4 Converter
Turn an MPG video into an MP4 that plays on nearly every device.
or drop files here
MPG Format
MPEG video
A file extension for MPEG-1 or MPEG-2 video and audio in an MPEG program stream. It was the standard for VCD and DVD video.
- MPEG-1 or MPEG-2 video
- MPEG program stream
- lossy compression
- legacy format
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
- plays on nearly every device
How to convert MPG to MP4
Follow these steps to convert MPG to MP4 online.
Choose your MPG file, or several at once.
Wait while the converter turns each file into MP4.
Download each new MP4 file. Your original file isn't changed.
Related Tools
MP4 to MPG
Convert MP4 video files to MPG format
MPG to AMR
Convert MPG files to AMR format
MPG to AU
Convert MPG files to AU format
MPG to CAF
Convert MPG files to CAF format
MPG to CDDA
Convert MPG files to CDDA format
MPG to HEVC
Convert MPG files to HEVC format
MPG to M2TS
Convert MPG files to M2TS format
MPG to M4V
Convert MPG files to M4V format
MPG to MP3
Convert MPG files to MP3 format
MPG to MPEG2
Convert MPG files to MPEG2 format
MPG to MXF
Convert MPG files to MXF format
MPG to OGA
Convert MPG files to OGA format
MPG to WEBM
Convert MPG files to WEBM format
3G2 to MP4
Convert 3G2 files to MP4 format
AVCHD to MP4
Convert AVCHD files to MP4 format
AVI to MP4
Convert AVI files to MP4 format
DIVX to MP4
Convert DIVX files to MP4 format
M2TS to MP4
Convert M2TS files to MP4 format
M2V to MP4
Convert M2V files to MP4 format
M4V to MP4
Convert M4V files to MP4 format
MKV to MP4
Convert MKV video files to MP4 format
VOB to MP4
Convert VOB files to MP4 format
WebM to MP4
Convert WebM files to MP4 format
WMV to MP4
Convert WMV files to MP4 format
Before changing MPG to MP4
- The video is re-encoded as H.264 with 96 kbps AAC audio.
- Pictures wider or taller than 1920 px are scaled down; above 30 fps frames are dropped and the clip keeps its length.
- An odd width or height is rounded down by 1 px.
- Interlaced frames are deinterlaced.
- A choice of several files gives one MP4 for each, converted one after another.
Understanding MPG for MP4 output
What is an MPG file?
Short for MPEG video, the MPG ending marks the format of Video CDs and DVDs. The file holds MPEG-1 or MPEG-2 video with sound in a program stream. MPEG-2 was developed for television delivery and then adopted for DVDs. Both .mpg and .mpeg name the same kind of file, and the Library of Congress gives them one shared media type, video/mpeg.
Inside, the picture, the sound and any data are coded apart from each other. A coded component is called an elementary stream, and its packetized form cuts it into packets that a single file can interleave.
You meet an MPG as Video CD or DVD material, as an older video download or as a broadcast capture. Such a file can be a system stream, with picture and sound woven together, or a raw video stream, and that structure decides which tools can read it.
If a video site, phone or editor rejects the file, the cause is usually the format rather than the footage. MPG is a legacy format. Converting gives you one file that plays almost anywhere, at the cost of one more lossy generation.
Programs that open MPG files
Linux, Mac and Windows
- VLC reads elementary, program and transport streams of MPEG.
- FFplay: plays MPG through FFmpeg's decoders.
Windows
- Windows Media Player plays MPEG video.
Mac
- QuickTime Player can open MPEG video.
Mobile
- iPhone and Android: VLC for iOS plays local files in its own player, and VLC for Android is a port of the desktop player, so nothing needs converting just to watch.
MPG and MP4 compared
- Extensions and media types: .mpg or .mpeg with video/mpeg for the MPG. The MP4 container is defined in ISO/IEC 14496-14.
- Contents: an MPG is an MPEG program stream with MPEG-1 or MPEG-2 video. An MP4 is a container whose video may be H.264, H.265 or AV1, and it can carry subtitles and chapters.
- Support: nearly every device and browser opens an MP4, while an MPG needs a player such as the ones above.
- Quality: lossy to lossy, which makes the MP4 a second-generation picture.
On this page an MPG is decoded and re-encoded: H.264 for the picture, AAC at 96 kbps for the sound, and an encoder setting that favors speed over file size. Interlaced frames are cleaned up by deinterlacing. Frames over 1920 px on the longer side shrink to fit. Above 30 fps, frames are dropped and the clip keeps its length. If a side is odd it loses a pixel, so width and height end up even. Small pictures are never enlarged. No quality setting is passed, so every MPG gets the same encoder settings, and several files run one after another with one MP4 each. The MPG you picked stays as it was, and the download keeps its name with an .mp4 ending.
Other ways to convert MPG to MP4
- FFmpeg (Windows, Mac, Linux): try
ffmpeg -i family.mpg -c:v libx264 -c:a aac family.mp4. FFmpeg lists MPEG-1 System and MPEG program streams among the formats it reads, and this command writes H.264 video and AAC audio. Here -i gives the input file, -c:v the video encoder and -c:a the audio encoder. Without extra options FFmpeg picks the streams itself, so the result is not the same as this page makes.
Problems with MPG files
- No sound in a player: the audio stream needs its own decoder and can use a different codec from the picture. Try VLC, or convert to MP4.
- A site rejects the upload: the site does not accept this old format. Convert the MPG to MP4 here and upload that.
- Combing on moving edges: this is interlacing, where one frame is made of two fields woven together. This page deinterlaces frames flagged that way.
- A blocky or smeared picture: lossy MPEG encoding discards detail that no converter can bring back.
- A renamed file won't open: changing .mpg to .mp4 leaves MPEG data inside, because only the label changes.
- A program says it is not a movie: the file may hold only a raw video stream, not the system stream a player expects. Open it in VLC to see what it holds.
Frequently Asked Questions
Everything you need to know about our converter
How do I convert an MPG file to MP4?
Is an MPG the same as an MPEG file?
Why is my MPG video blocky when I convert it?
Can I choose the quality or bitrate of the MP4?
Does the MP4 keep my video's size?
What happens to the sound in my MPG?
Can I convert a DVD or camcorder recording in MPG format?
Why does the converted video have lines on moving edges?
Is there a limit on how long my MPG can be?
Why do I need MP4 instead of MPG for uploads?
Browse All Tools
Browse by category instead of one giant mixed list.
Convert Tools
Convert image, audio, video, document, and data files directly in your browser.