89neuron
89neuron

Reputation: 940

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.

Upvotes: 3

Views: 7010

Answers (2)

szatmary
szatmary

Reputation: 31110

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.

Upvotes: 5

Bkillnest
Bkillnest

Reputation: 722

It works with me as:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1
http://streamer.abc.com:8080/videos/arvind1.mp4
#EXT-X-ENDLIST

Upvotes: 0

Related Questions