[FFmpeg-user] extract a segment from a live HLS encoding
lletourn49 at gmail.com
Thu Oct 27 21:26:08 EEST 2016
> I do realise that a wrapping HLS stream could be problematic, but still I
> was wondering if a parameter existed to force it to try anyways.
> Sorry missed it in the doc -live_start_index does exactly this.
If it can help someone else:
ffmpeg -y -live_start_index 0 -ss 00:10:00 -i segment.m3u8 -codec
copy -bsf:a aac_adtstoasc -t 60 my_segment.mp4
More information about the ffmpeg-user