[vlc-devel] Re: AW: Re: BUG modules/demux/ts.c DEMUX_GET_LENGTH
Viktor Haas
viktor.haas at gmail.com
Tue Jan 10 20:41:40 CET 2006
Hi,
I get the correct length of ts files with ffmpeg-php.
TS files was made by vlc.
Why vlc can't determine the length?
Viktor
On 1/10/06, Dunsti <dunsti at vol.at> wrote:
> Hello,
> Why you dont use the timesatmp of the MPEG packet?
> Or ist this only possible in MPEG-PS streams?
>
> regards dunsti
>
> -----Ursprüngliche Nachricht-----
> Von: vlc-devel-bounce at videolan.org [mailto:vlc-devel-bounce at videolan.org] Im
> Auftrag von Clément Stenac
> Gesendet: Dienstag, 10. Jänner 2006 14:15
> An: vlc-devel at videolan.org
> Betreff: [vlc-devel] Re: BUG modules/demux/ts.c DEMUX_GET_LENGTH
>
> Hello,
>
> 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,
>
> --
> Clément
>
> --
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/ To
> unsubscribe, please read http://developers.videolan.org/lists.html
>
> --
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
>
>
--
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