Hi,
I have the following problem: When I record satellite TS streams, use ProjectX or PVAstrumento to demux them, edit the elementary streams with Mpeg2Schnitt, and use mplex (Mjpegtools) or imagomuxer for muxing, vlc shows most of the time a wrong duration (mostly half of the film length) for the resulting mpg movies. The movies themselves play fine.
I know, this seems to be an old problem, but I haven't found a solution so far.
Interestingly, when I use bbmpeg or mplex (Mike Grover) for muxing the same elementary streams, vlc shows the correct duration. Therefore, it seems that this problem could be caused by improper muxing parameters or by errors in the streams that are corrected by some muxers. Unfortunately, I cannot work out why vlc sometimes shows a wrong duration for mplex(Mjpegtools)/imagomuxer but not for bbmpeg/mplex(Grover).
Could someone help me an explain how vlc determines the duration/length of an mpeg2 movie?
If required, I could upload examples of mpeg files created from the same elementary streams with different muxers that show this behavior.
Thanks for your help
McDummy