I can't play m3u8 containing video with libx265 code.

I have used ffmpeg to transform a video into multiple chunks, the ffmpeg command works fine and I can play the video.

I have created an index.m3u8 that contains 4 qualities, each of those qualities contains the chunks of the video, I can play each chunk, but I can't play anything when using the index.m3u8.

here is my index #EXTM3U #EXT-X-VERSION:3 #EXT-X-STREAM-INF:BANDWIDTH=5000000,RESOLUTION=1920x1080 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=2800000,RESOLUTION=1280x720 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=1400000,RESOLUTION=842x480 http://cdn... #EXT-X-STREAM-INF:BANDWIDTH=800000,RESOLUTION=640x360 http://cdn...

here is my quality file

#EXTM3U #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-TARGETDURATION:8.341667 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:24 #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:8.341667, http://cdn.... #EXTINF:6.873533, http://cdn.... #EXT-X-ENDLIST

  1. I am assuming the lack of newlines in your playlists is an artifact of pasting it in. Otherwise that is your first problem.

  2. Playing a single file is not the same as playing through HLS. They use different paths.

  3. Are the output media segments (chunks) in MP4 or TS? HLS only supports H.265 in MP4.

  4. Each fMP4 segment must have an EXT-X-MAP tag

  5. EXT-X-TARGETDURATION should be an integer. A value of 8 is fine as long as no segment has a duration greater than 8.5.

You should be able to play the media playlist (what you cal a quality) independent of the multivariant playlist. Look at the example playlists at https://developer.apple.com/streaming/examples/

I can't play m3u8 containing video with libx265 code.
 
 
Q