[FFmpeg-user] continuous hls simulated live streaming

Brent Troge brenttroge2016 at gmail.com
Wed Aug 6 16:21:47 CEST 2014


i have a video i would like to loop through, and have the segment muxer
simply continue to increment segment count. instead of going to the end of
the video and
issuing a '#EXT-X-ENDLIST'to the m3u8 file.

the only way i can extend playback is by increasing video duration. however
the end tag is still applied to the m3u8 and the segment count is reset.

below is what i am using.

ffmpeg -y -re -i file.mp4 -map 0 -codec copy -f segment -segment_list_size
10 -segment_list <list> -segment_list_flags +live -segment_time 10 -vbsf
h264_mp4toannexb file%03d.ts


please advise.

thanks!


More information about the ffmpeg-user mailing list