Wowza Community

Unable to play SMIL media list


I’m taking baby steps towards eventually serving a dynamic VOD playlist that adds more media chunks as they become available in the media cache. For now, I’ll settle for a playlist that will play the local sample.mp4. I chose to use SMIL because it’s the only playlist there appears to be any documentation for.


<?xml version="1.0" encoding="UTF-8"?>
<smil title="sample">
        <stream name="sample"></stream>
        <playlist name="pl1" playOnStream="sample">
            <video src="sample.mp4"/>

In the wowza test player, I select my VOD application, and I can play mp4:sample.mp4. But if I try to play smil:sample.smil, the player says it’s connected, but the logs say:

2020-01-22      19:07:58        UTC     ERROR   500     MediaReaderFactory.getInstance : java.lang.ClassCastException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL cannot be cast to|at|at|at|at|at|

Judging by the error, wowza appears to be refusing to treat my playlist as a playlist. There may be a problem with my file, and I’ve already tried using both sample.mp4 and mp4:sample.mp4 as the video src attribute.

There’s a related question at, but the answer doesn’t seem to be helpful. Changing my VOD application to live would be contrary to my goal, and I’m not sure how I can change the stream type.

Where did your store your SMIL file @Andrew O’Hara? It needs to be in the same directory as the sample mp4 or any other mps. Make sure your SMIL file is in the content folder in Wowza Streaming Engine folders. It shows up like this sometimes on its own or you can click on the Wowza Streaming Engine folder and it is in there as well. Either way is fine.

A bit more info is really required in your SMIL file and we have a great tutorial walking through these steps and playing the sample.mp4 in a playlist.

Here it is for you:

Hope it helps…