Seems the calculation of timing info for MPEG2-PS files is inaccurate.
File with length of 1 min 11 seconds is reported as being only 37 seconds long.
During playback, the time counter increments in about 2 sec. intervals.
Edited
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
No, I'm not reffering to any DVDs, nor DVD files (.vob). This file is plain MPEG-2 PS
with constant bitrate (recorded from a TV station and saved in PS format by VLC).
Something's wrong in PS demuxer calculations.
The dvdread/dvdnav modules mentioned in #198 (closed) are not being used in this case
What is the meaning of the constant 50 here? Shouldn't we read the actual framerate from the stream? This would be 25 as this is PAL TV with 50 half-frames (fields).
I looked at the file in quite some detail, investigated VLCs PACK header reading, and as far as I can tell, the mux_rate is simply set incorrectly in this file.
That still leaves the issue that we shouldn't be using the mux_rate in the first place of course, but that already has ticket #216 (closed).
BTW: other players probably don't base their estimate on the mux rate, but rather on the first and last PTS in the file. explaining why only VLC is seeing this issue.