[FFmpeg-devel] [PATCH] hls: call avformat_find_stream_info for mpegts subdemuxer

Hendrik Leppkes h.leppkes at gmail.com
Thu Nov 10 17:02:26 EET 2016


On Thu, Nov 10, 2016 at 12:38 PM, wm4 <nfxjfg at googlemail.com> wrote:
> On Thu, 3 Nov 2016 01:12:03 +0100
> Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> wrote:
>
>> This fixes probing dts/eac3/mp2 in hls.
>>
>> The problem was introduced in commit 04964ac311abe670fb3b60290a330f2067544b13.
>>
>> Also update the fate reference for the fate-segment-mp4-to-ts test.
>>
>> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
>> ---
>>
>> I've no idea why the fate reference changes, but this also happens when
>> partially/fully reverting commit 04964ac311abe670fb3b60290a330f2067544b13.
>> And it's a very recent fate test...
>>
>> ---
>
> Will this make segment switch latencies even worse? The HLS demuxer is
> already terrible for realtime playback because it closes and reopens
> the TCP connection on each segment.
>

An alternative patch was applied that doesn't use double-probing
(hence the slowdown issue was brought up in this thread), but even in
this approach it would only probe at startup once, and not every
segment.

- Hendrik


More information about the ffmpeg-devel mailing list