
Problem with HLS Streaming (Internet Explorer, Chrome, Firefox)
I use the ffmpeg tool to generate the m3u8 file from the mp4 video, and it generates the five segment files called segment000.ts ~ segment004.ts and the playlist.
But when I use Internet Explorer (Adobe Flash Active X 14) and Chrome, Firefox (Adobe Flash Player 14) to play the m3u8 file, the stream was stopped suddenly while playing, it cannot display the segment004.ts file.
Safari (Mac OSX) is OK.
How can I solve this. Please help...
Here is my playlist.m3u8
-----------
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-ALLOW-CACHE:YES
#EXT-X-TARGETDURATION:17
#EXTINF:16.750067,
segment000.ts
#EXTINF:8.341667,
segment001.ts
#EXTINF:8.341667,
segment002.ts
#EXTINF:8.274933,
segment003.ts
#EXTINF:0.300300,
segment004.ts
#EXT-X-ENDLIST
---------
The following is my ffmpeg command line
----
ffmpeg -i video.mp4 -map 0 -codec:v libx264 -codec:a aac -strict -2 -f ssegment -segment_list playlist.m3u8 -segment_list_flags +live -segment_time 10 segment%03d.ts 2>&1