Wowza Community

m3u8 referencing m3u8 issue

I need to have a m3u8 file call another m3u8 file

This is what is inside my first m3u8 file called http://server_IP/FILENAME.m3u8

#EXTM3U

#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=52

http://my_server_IP:1935/vod/mp4:FILENAME.mp4/playlist.m3u8

This is what is inside playlist.m3u8 offered over http on port 80

#EXTM3U

#EXT-X-VERSION:3

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=443523,CODECS=“avc1.66.30, mp4a.40.2”,RESOLUTION=320x240

chunklist_w82163552.m3u8

Calling FILENAME.m3u8 does not work.

Calling playlist.m3u8 works.

Any ideas would be appreciated, thanks.

Hi,

In previous versions of Wowza, it was possible to call a playlist using a designated/arbitrary filename. In current versions, this is no longer supported. You need to use playlist.m3u8 for your workflow.

I hope you find this helpful.

-Tim

Hi,

m3u8 urls are created dynamically within Wowza and they have a request handler that intercepts the request and directs it to the code that creates the returned content.

It is not possible to have a static file with a .m3u8 extension that points to another .m3u8 url.

As Tim mentioned, you need to call playlist.m3u8 with the stream name that is being published or the vod file name that you want to play. This will return the chunklist_xxxx.m3u8 url which contains the list of media segments.

If you call chunklist.m3u8 without a session id, one will be assigned automatically but the next time it is called from the same player, a new session id will be assigned.

Can you explain why you want to use custom urls? There may be a different way to do what you want to do.

Roger.

Thanks tim_d. I am calling wowza using playlist.m3u8. playlist.m3u8 is called by filename.m3u8. Would this cause issues further down the chain?

Hi,

I have to bump this thread, because I have found the same error the OP found about.

I have a video management software that generates m3u8 files pointing to the original URLs of my wowza server.

VLC player can read these files without problems, but when I try to call them on an Android or IOS, the video doesn’t play.

Has anyone found why?

It is not possible to have a static file with a .m3u8 extension that points to another .m3u8 url.

Why not? It should be the client who parses and reads this file, making whatever process is needed to play the video. I don’t see this impossibility in the specification of the files’ format described here: http://tools.ietf.org/html/draft-pantos-http-live-streaming-13

Hi,

I have to bump this thread, because I have found the same error the OP found about.

I have a video management software that generates m3u8 files pointing to the original URLs of my wowza server.

VLC player can read these files without problems, but when I try to call them on an Android or IOS, the video doesn’t play.

Has anyone found why?

Why not? It should be the client who parses and reads this file, making whatever process is needed to play the video. I don’t see this impossibility in the specification of the files’ format described here: http://tools.ietf.org/html/draft-pantos-http-live-streaming-13

Ok, I have to reply to myself. After some research and a lot of tests, I can tell roger_l was actually right. You cannot have a “Master playlist” pointing to another “Master Playlist”. If you create a m3u8 file pointing to the “Media Playlist”, it should work (or at least this is what I understand from the same web I pointed before, section 6.3.1: http://tools.ietf.org/html/draft-pantos-http-live-streaming-13#section-6.3.1)

I solved it like this: making the video management software do an inside request to the playlist.m3u8 of my wowza server, and put the inside contents of the response file (which has the chunklist URL) to my generated m3u8 file.