Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can m3u8 files have mp4 file urls?

I am in a situation where I have my flv video converted to mp4 and then I am streaming this as http url using my nginx server. For multibitrate supoport on html5 I have created a m3u8 file like this :

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=200111, RESOLUTION=512x288
http://streamer.abc.com:8080/videos/arvind1.mp4
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=3000444, RESOLUTION=400x300
http://streamer.abc.com:8080/videos/arvind1.mp4
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=400777, RESOLUTION=400x300
http://streamer.abc.com:8080/videos/arvind1.mp4
#EXT-X-ENDLIST

But jwplayer is not playing this saying playlist not loaded. Specifically "No playable sources found". Please help.

like image 465
89n3ur0n Avatar asked Oct 20 '25 09:10

89n3ur0n


1 Answers

EDIT: This information is out of date. HLS now supports fragmented MP4

No, HLS only supports segmented transport streams in an m3u8 playlist. You may find it to works in some players, but it is not part of the standard, and will not work in iOS.

like image 180
szatmary Avatar answered Oct 21 '25 22:10

szatmary



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!