[FFmpeg-user] vlc does not like ffmpeg m3u8 live segments
andrea
mariofutire at googlemail.com
Mon Aug 26 10:49:55 CEST 2013
Hi,
I am trying to setup a live webcam stream and I use this command
capture -o | ffmpeg -re -f h264 -i - -c copy -map 0 -f segment -segment_list andrea.m3u8
-segment_list_flags +live -segment_time 5 -segment_wrap 10 -segment_list_size 5 out%03d.ts
(I need the capture program since ffmpeg cannot properly read h264 from my C920 webcam, there is an
other message in the list about that)
If I omit "-segment_list_size 5" then vlc is happy and plays continuously.
As soon as I add "-segment_list_size 5" then vlc stops with this message
stream_filter_httplive stream error: gap in sequence numbers found: new=0 expected 14
Cant really say whose fault it is, but I did find this old bug report for ffmpeg.
https://trac.ffmpeg.org/ticket/1842
about incorrect segment numbers. I wonder if the 2 things are related.
BTW, without "-segment_list_size 5" the list .m3u8 seems to grow indefinitely. Is this correct?
It is only a text file, but eventually it will fill the hard disk.
More information about the ffmpeg-user
mailing list