[vlc-devel] [PATCH] demux: ts: support get length for non fastseekable
wantlamy at gmail.com
Fri Mar 18 14:00:06 CET 2016
On Fri, Mar 18, 2016 at 7:15 PM, Francois Cartegnie <fcvlcdev at free.fr>
> Le 18/03/2016 15:12, Zhao Zhili a écrit :
> > Some test results. Yes, for a TS with multiple programs, there are a lot
> of http
> > requests (14 in this test).
> > For TS with single program, four requests is enough, and one of the
> requests is
> > to check if file size has changed.
> The issue being exactly to avoid a large number of HTTP requests which
> could be slow (!canfastseek). A better option might be to increase the
> number of packets, but which will also increase delay depending on
> bandwidth, and multiplex.
If I didn't make a mistake, the patch is trying to avoid multiple seek in
by increase the number of packets.
I think we can decrease delay by searching a dts near the last one (return
ProbeChunk() early), instead of the last one exactly. The final result will
second (likely) or a few seonds (unlikely) smaller then the real duration
on the bitrate.
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel