Lower means better, so if you want to retain quality, you might even want to go below 18.
#Convert mpg to mpeg 2 mp4#
So, you can re-encode the video and audio to H.264/AAC in an MP4 container: ffmpeg -i input.mpeg -c:v libx264 -preset slow -crf 18 -c:a aac -strict experimental -b:a 128k output.mp4 Matroska is not natively supported on Windows or iOS though. It didn't when I tried, but in theory Matroska supports MPEG-1 video. With ffmpeg, you could try the following: ffmpeg -i input.mpeg -c copy output.mkv Re-muxing will not touch the video/audio bitstream, thus keeping the file size and quality intact. So if the real issue is that the videos need to show up in the correct order in a file manager of some sort, and you cannot change the file manager or use a metadata platform, you need to re-mux or re-encode the videos. Your 10 MBit/s MPEG-1 video will probably end up looking just as good at 1 MBit/s H.264, or even less than that. You have to be aware of the fact that MPEG-1 is very old-they started developing it when I was born-and you would probably be better off converting the videos to a more recent and compression-efficient codec like H.264. And when they designed MPEG containers they probably just didn't think about this application (yet). In fact, there's no standard for video metadata like there's EXIF for photos. Time code source : Group of pictures headerĬreation date (like many other metadata fields) is a property you can set for MP4/MOV and MKV containers (as well as several others), but not for MPEG Program Streams or Transport Streams.
![convert mpg to mpeg 2 convert mpg to mpeg 2](https://www.top-password.com/blog/wp-content/uploads/2014/09/convert-video-to-mpg.png)
Here is the mediainfo specification of one of my MPG files: GeneralĬomplete name : E:\Users\Owner\Desktop\test\MOV03521.MPG
![convert mpg to mpeg 2 convert mpg to mpeg 2](https://images.wondershare.com/videoconverter/convert-video/convert-m4v-to-mpg-1.jpg)
What should I do to achieve this goal? Remux/encode/convert my MPG videos into MP4 or MOV and what settings should be used in remuxing/encoding/converting the files? Which action would produce the best result as close as possible to the original MPG videos? createdate), so I am looking for another way to "upgrade" my MPGs into a newer file format (preferred are formats that work both on Windows and iOS). I understand that it is impossible to edit metadata of MPG files (i.e.