Menu

#75 Splitting file creates jumping timestamps

v1.3.1
open
nobody
None
5
2005-12-03
2005-12-03
Anonymous
No

The original file is an MPEG2 file captured from a TV
tuner card and has no issues with any players, or with
using gordian knot to convert it to an xvid encoded AVI.

Original file information:

C:\tv>mpgtx -i lv01_original.mpg
lv01_original.mpg
Mpeg 2 Program Stream File [Video/Audio]
Muxrate : 6.34 Mbps
Estimated Duration: 01:00:13.89s
Checking all time stamps (This may take a while.) ...
Time line seems to be ok.
Aspect ratio 1/1 (VGA)
Not interlaced, chroma format: 4:2:0
Video Format: NTSC
Size [720 x 480] 29.97 fps 4.00 Mbps
Audio : Mpeg 1 layer 2
224 kbps 48000 Hz
Stereo, No emphasis

After using mpgtx to remove the commercials from the 1
hour show, the video file is no longer playable by most
players. Gordian Knot is unable to find the video
stream, and mpgtx itself complains that the file has
issues. The following command was used to split the file:

mpgtx.exe -j -f -o "lv01.mpg" "lv01_original.mpg"
[0:0:21-0:3:50] [0:6:59-0:17:33] [0:20:53-0:32:14]
[0:32:51-0:35:22] [0:36:24-0:44:30] [0:47:35-0:56:14]
[0:56:40-0:57:11]

... and the resulting file information looks like:

C:\tv>mpgtx -i lv01.mpg
lv01.mpg
Mpeg 2 Program Stream File [Video/Audio]
Muxrate : 6.34 Mbps
Estimated Duration: 45:14.81s
Checking all time stamps (This may take a while.) ...
Time stamps jumped from 1043.650367 to
834.189356 at position 1b072b14
Time stamps jumped from 1877.521911 to
1468.373811 at position 2f9481fe
Time line is interupted at 2 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 1/1 (VGA)
Not interlaced, chroma format: 4:2:0
Video Format: NTSC
Size [720 x 480] 29.97 fps 4.00 Mbps
Audio : Mpeg 1 layer 2
224 kbps 48000 Hz
Stereo, No emphasis

I find this happens with about 75% of my recorded
video, while the other 25% seem to have no issues. I
haven't noticed any pattern. All are 1 hour MPEG2
videos where I am cutting the commercials, some work,
some don't.

I am using the following version of mpgtx on an AMD
athlon with windows XP:

C:\tv>mpgtx -v
mpgtx Version 1.3.1
Copyleft 2001 Laurent Alacoque
<laureck@users.sourceforge.net>
Partial work 2002 by Philipp Biermann
<mpegcut@biermann.org>
updates, bugs, patch, money :
http://mpgtx.sourceforge.net

Brian.King@gmail.com

Discussion


Log in to post a comment.

MongoDB Logo MongoDB