[FFmpeg-user] hls_flag single_file not playing properly

chovy chovy at protonmail.ch
Sun Jan 10 21:53:27 CET 2016


I'm running this command and it starts ffmpeg, creates an index.m3u8 with a single video.ts file...however when I open the stream in VLC it does not play properly.

It skips around and in other players it just stops.

Did I mess something up in my ffmpeg arguments?

this is for HLS 4 single .ts file:


ffmpeg -y -threads 8 -analyzeduration 10 -probesize 10000000 -user-agent 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12H143' -headers 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 8_4 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12H143' -headers 'Connection: keep-alive' -i http://rt-lh.akamaihd.net/i/ch_04@325608/index_720p_av-p.m3u8?sd=10\&rebase=on -copytb 1 -hls_time 10 -hls_list_size 10 -hls_flags single_file -hls_segment_filename video.ts -c copy index.m3u8


More information about the ffmpeg-user mailing list