#91 Incorrect recognition file's characteristics

v1.3.1
open
nobody
None
5
2007-07-14
2007-07-14
No

mpgtx -i /var/tmp/dvd/300-1.mpg2
warning: couldn't find any valid system header. I'm continuing anyway
/var/tmp/dvd/300-1.mpg2
Mpeg 2 Program Stream File [Video/Audio]
Muxrate : 10.08 Mbps
Estimated Duration: 04:56:02.08s
Checking all time stamps (This may take a while.) ...
Time stamps jumped from 0.100767 to 0.100767 at position 3700006800
Time stamps jumped from 1.870800 to 1.870800 at position 3700016800
SEVERAL OF THIS
Time stamps jumped from 3344.043500 to 3344.043500 at position 3751ca2000
Time line is interupted at 2864 times.
That means at these points the time stamp is earlier than the previous one.
You may have problems in joining and splitting this file, sorry.
Aspect ratio 16/9 (large TV)
Not interlaced, chroma format: 4:2:0
Size [640 x 272] 30.00 fps 9.80 Mbps
Audio : Mpeg 1 layer 2
free bitrate 32000 Hz
Joint Stereo: (Intensity stereo on bands 12-31/32)
No emphasis

But if I do a

mpgjoin 300-1.mpg2 300-2.mpg2 -o 300.mpg

Incompatible audio bitrates 300-1.mpg2 (0 bps) 300-2.mpg2 (56 bps)

ffmpeg recognize it as

Input #0, mpeg, from '/var/tmp/dvd/300-1.mpg2':
Duration: 00:55:44.3, start: 0.233367, bitrate: 3282 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 640x272, 9800 kb/s, 30.00 fps(r)
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, stereo, 192 kb/s

The file was created using mencoder

mencoder -of mpeg -mpegopts format=dvd:vaspect=16/9:vframerate=30 -srate 48000 -ofps 30000/1001 -ovc lavc -oac lavc -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:keyint=18:vrc_maxrate=9800:vbitrate=4900:aspect=4/3:acodec=ac3:abitrate=192 -vf harddup -sub 300-1.srt 300-1.avi -o /var/tmp/dvd/300-1.mpg2

Discussion