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

Laurent Aimar fenrir at via.ecp.fr
Fri Feb 4 09:22:15 CET 2005

On Thu, Feb 03, 2005, Benjamin PRACHT wrote:
> On Thu, Feb 03, 2005, Bart Kerver wrote :
> > Hi,
> > 
> > It's been a while since I used VLC, recently I noticed that transcoding 
> > a file towards a MPEG2-PS or TS, the 'duration' of the created file is 
> > corrupted/incorrect (transcode and open with VLC and see duration of 
> > file). If I mux (mp2v and mp2a) it on MP4 it seems to be fine.
> > 
> > Is this a known limitation is there a fix on this, searching through the 
> > archives didn't answer the question?
> > 
> 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 the
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).


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