How can I use playlists in SMIL with Wowza?

Hi guys,

I have a question about playlists.

I’m trying to play 2 different mp4 files in sequence - user at frontend should get it as single seamless media file. So I try to play this SMIL

<?xml version="1.0" encoding="UTF-8"?>
<smil title="test">
   <head>
    </head>
    <body>
       <playlist>
         <video src="sample.mp4"/>
         <video src="sample2.mp4"/>
        </playlist>
    </body>
</smil>

and but I always get

WARN    server comment    2017-10-26 19:40:51   -  -  -  -  -  0.03   -  -  -  -  -  -  -  -  HTTPStreamerSmoothStreamerIndexPlaylist.indexFile[vod/_definst_/smil:test3.smil]: MediaList is empty.

If I try to play each of them separatly with without any 's it works fine

I tried this tutorial, installed wse-plugin-streampublisher.zip, added server listener, module and application properties but was not succeed and got a lot of “MediaList is empty” again

Could anyone please give me the link to the example or tutorial how can I do that?

Thanks!

Hello @Pavel Gerasimov,

When you were playing back the stream after installing the StreamPublisher module, were you trying to play the .smil file or the stream that the module creates that you reference in the .smil file that you use with the module?

Using the example .smil file from the article:

<smil>
    <head>
    </head>
    <body>

        <stream name="Stream1"></stream>
        <stream name="Stream2"></stream>

        <playlist name="pl1" playOnStream="Stream1" repeat="true" scheduled="2016-04-15 16:00:00">
            <video src="mp4:sample.mp4" start="5" length="5"/>
            <video src="mp4:sample.mp4" start="50" length="5"/>
            <video src="mp4:sample.mp4" start="150" length="5"/>
        </playlist>

        <playlist name="pl2" playOnStream="Stream1" repeat="true" scheduled="2016-04-15 16:30:00">
            <video src="mp4:sample.mp4" start="0" length="-1"/>
        </playlist>

        <playlist name="pl3" playOnStream="Stream2" repeat="true" scheduled="2016-04-15 16:00:00">
            <video src="mp4:sample.mp4" start="30" length="5"/>
        </playlist>

    </body>
</smil>

You would need to play back Stream1 or Stream2:

http://[wowza-ip-address]:1935/[live-app-name]/Stream1/playlist.m3u8

Regards,

Alex C.

Wowza Support