4
1
I understand that it is impossible to edit metadata of MPG files (i.e. 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).
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?
Here is the mediainfo specification of one of my MPG files:
General
Complete name : E:\Users\Owner\Desktop\test\MOV03521.MPG
Format : MPEG-PS
File size : 25.1 MiB
Duration : 20s 124ms
Overall bit rate mode : Variable
Overall bit rate : 10.5 Mbps
Video
ID : 224 (0xE0)
Format : MPEG Video
Format version : Version 1
Format settings, BVOP : No
Format settings, Matrix : Default
Format settings, GOP : N=1
Duration : 20s 100ms
Bit rate mode : Variable
Bit rate : 10.2 Mbps
Width : 640 pixels
Height : 480 pixels
Display aspect ratio : 4:3
Frame rate : 30.000 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 1.105
Time code of first frame : 00:00:00:00
Time code source : Group of pictures header
GOP, Open/Closed : Closed
Stream size : 24.4 MiB (97%)
Audio
ID : 192 (0xC0)
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 2
Duration : 20s 124ms
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 1 channel
Sampling rate : 32.0 KHz
Compression mode : Lossy
Stream size : 157 KiB (1%)
1MPEG-1 video? That seems rather old. But what is the reason you want to convert them? Editing metadata should even be possible with MPEG-PS containers. Converting to MP4/MOV would reduce the quality or at least take up a bit of space (that's the tradeoff here). Or do you want compatibility with iOS (which I assume does not handle MPEG-1)? – slhck – 2015-01-11T15:09:08.753
All I want is to add a "createdate" tag inside of my files, as otherwise they do not show up correctly in my Carousel by Dropbox timeline. I tried editing my MPG movie with EXIFTOOL and it did not work. It works with many different formats but not with MPG. I do not want to convert my files, I just want to have the time tag associated with my MPG files (which are actually camera videos). Conversion has resulted in loss of quality on my iOS devices. I don't know what to do and that's why I am seeking advice from the experts. – zarko – 2015-01-11T16:52:57.997
Ah, please ignore the "editing metadata should be possible". That's of course not always true. See my answer below. Let me know if you need help getting ffmpeg to run from a command line, or getting some other video conversion tool to do the job for you. – slhck – 2015-01-11T17:10:08.307