[vlc-devel] Re: BUG modules/demux/ts.c DEMUX_GET_LENGTH
zorglub at via.ecp.fr
Tue Jan 10 14:14:37 CET 2006
We are currently unable to compute the length of a TS stream (well, I
assume we have a TS file, here, else, it's of course impossible to).
We could calculate a value by getting the mux rate and using the total
file size, but this will only work on constant bitrate streams, while
there are many variable bitrate streams. I don't know if it is possible to
know if a stream is cbr or vbr, in which case we could set 0 if vbr and
the result of the computation if cbr.
Hope this helps,
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