[FFmpeg-user] Demuxing HLS stream of fmp4 segments

Pedro Pedrosa pedrojvpedrosa at gmail.com
Fri Apr 17 15:26:14 EEST 2020


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


More information about the ffmpeg-user mailing list