We help IT Professionals succeed at work.

mpg to mp4

Medium Priority
250 Views
Last Modified: 2019-01-10
hi i have 13 hour .mpg video file which i am trying to play in my phone which is not working

how to conver tthat to say mp4 which easily play in my anroid phone.
i am using mx player to play videos on phone

any free good tool for this conversion

please advise
Comment
Watch Question

Lead Technical Consultant
CERTIFIED EXPERT
Commented:
Here is one of the opensource tool to convert to any format you need. As it is opensource it is free, i am sure it also works for your requirement.
https://handbrake.fr/

However there are many other tools also provide the conversion part you can check the best comparatives of the tool for conversion; https://www.techradar.com/news/the-best-free-video-converter
Joe WinogradDeveloper
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2018
Commented:
mpg to mp4

VLC is an excellent (free!) product that I've been using for many years:
http://www.videolan.org/

After downloading and installing VLC, here are the steps to convert your MPG file to MP4:

(1) Run VLC.

(2) Click the Media menu, then Convert/Save.

(3) You'll be on the File tab. Click the +Add... button.

(4) Browse to the MPG file and select it.

(5) Click the Convert/Save button.

(6) Fill in the Convert dialog. Select the Source, Destination, and MP4 from the drop-down:

vlc convert
That should do it! Regards, Joe
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019
Commented:
Joe's option is the best for single video transcoding.

If you end up having many videos you have to transcode repeatedly, use this...

ffmpeg -i file.mpg file.mp4

Open in new window


If you're using Windows, download using https://ffmpeg.org which usually redirects to a known good build.

If you're using OSX/Macs, install using https://macports.org only.

If you're using Linux, install from your Distro's repository or build from source each night (what I do).

Author

Commented:
which video output file format occupies less foot memory print with good quality of video on android phone? please advise
Joe WinogradDeveloper
CERTIFIED EXPERT
Fellow
Most Valuable Expert 2018

Commented:
My recommendation is H.264-MP4. For example, I just converted an MPG file that is 11.43 MB to an  H.264-MP4 using the VLC method described in my previous post. The resulting MP4 file is only 4.02 MB, while its video and audio quality is just as good as the MPG.
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
HEVC (h.265) is by far smallest file size.

I your playback system supports HEVC, this will be what you use... if you have sufficient CPU speed + threads for sensible transcoding, as HEVC takes far more resource than h.264 takes.

Most phones + tablets have had HEVC codecs available for years, many times undocumented.

Also the options you use, primarily the preset + CRF setting, will determine speed of transcode + video quality + file size.

Likely you'll have to experiment a bit to get an acceptable setting.