[vlc-devel] Re: mpeg2-ps transcode error of duration?

Gildas Bazin gbazin at altern.org
Fri Feb 4 11:22:27 CET 2005

On Friday 04 February 2005 08:33, Bart Kerver wrote:
> Laurent
> >>AFAIK, this is related to the "fps" field being set to 0 by VLC's ps
> >>muxer. So, yes, it is a flow in VLC... not sure it is easy to fix...
> > 
> >  It's related to the bitrate field. The problem is that we don't know 
> > average bitrate (for the whole file) and thus we don't set a valid value
> > while muxing.
> >  (And anyway our muxer isn't really good).
> Any particular reason why the MP4 muxer seems to do the job properly? In 
> the end I muxed mpv2 and mpa into an MP4 instead of a MPEG-PS container. 
> Basically this should give the same result but it doesn't ?!

Simply because MP4/MOV files contain an index (written at the end of the 
muxing) that tells you the length of the file. MPEG PS/TS don't have such 


This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html

More information about the vlc-devel mailing list