[FFmpeg-user] Demuxing HLS stream of fmp4 segments

vectronic hello.vectronic at gmail.com
Fri Apr 17 16:05:02 EEST 2020



> On 17 Apr 2020, at 13:26, Pedro Pedrosa <pedrojvpedrosa at gmail.com> wrote:
> 
> Hello all
> 
> I'm trying to demux an HLS stream containing fmp4 segments. It works fine
> if I demux from the start of the input but as soon as I add the -ss flag to
> skip to a timecode it no longer produces any output.
> 
> I have tested on my own ffmpeg-generated streams and also on a public file
> at
> https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_270_400000.m3u8
> 
> Exact command that does not work: ffmpeg -ss 00:03:00 -i
> https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_270_400000.m3u8
> -y -frames 1 -f image2 test.jpg
> 
> Usage that works (omit -ss): ffmpeg -i
> https://bitmovin-a.akamaihd.net/content/MI201109210084_1/m3u8s-fmp4/f08e80da-bf1d-4e3d-8899-f0f6155f6efa_video_270_400000.m3u8
> -y -frames 1 -f image2 test.jpg
> 
> Any help would be greatly appreciated
> 

I’ve had success using the patch I submitted against this ticket:

https://trac.ffmpeg.org/ticket/7359 <https://trac.ffmpeg.org/ticket/7359>




More information about the ffmpeg-user mailing list