Wowza Community

MediaReaderFactory: getInstance: Missing definition for smil

Hi,

I’m trying to run read a SMIL stream from brightcove. I passed the stream name as:

smil:myStream.smil

I’m seeing this error in my wowza logs:

MediaReaderFactory: getInstance: Missing definition for smil

When I check my MeaderReaders.xml, I do not see a smil entry. Can someone please share with me what the smil entry should look like so I can add it?

thanks,

Laura

Laura,

We need more details about what you are doing to understand and help. What player, where is smil located, where are files? What version of Wowza?

Server-side smil works with Flash HTTP (Sanjose), iOS (Cupertino), and Silverlight (Smooth).

For RTMP multi-bitrate streaming, take a look at this JW Player method:

http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/16012/setting-up-rtmp-dynamic-streaming

Richard

You may be running Wowza Server 1.x which does not support SMIL files.

Charlie

This file is new to Wowza Server 3. It is not a Wowza Server 2 .jar file. It is built into the wms-server.jar in Wowza Server 2.

Charlie

Laura,

This indicates your server’s conf xml files and lib jar files are mismatched, perhaps from copying configuration files from old version of Wowza or using a wrong patch maybe. It’s really easiest to backup conf for reference only, then uninstall, then re-install Wowza and re-configure each app with the current files. Don’t copy old files.

Richard

This is the error that makes me think you have a mismatch situation:

java.lang.ClassNotFoundException: com.wowza.wms.mediareader.smil.MediaListReaderSMILjava.lang.ClassNotFoundException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL

Richard

Smil files are supported in 2.2.3.

Your conf/MediaReaders.xml should contain this section:

    <MediaReader>
    <Name>smil</Name>
    <Description>SMIL Media Reader</Description>
    <FileExtension>smil</FileExtension>
    <ContentType>medialist</ContentType>
    <ClassBase>com.wowza.wms.mediareader.smil.MediaListReaderSMIL</ClassBase>
    <Properties>
        <Property>
            <Name>smilMaxFileLength</Name>
            <Value>1048576</Value>
            <Type>Long</Type>
        </Property>
    </Properties>
</MediaReader>

This is in the MediaReaders file when the product is installed, so I’m confused/concerned why it would not be in yours.

Hi,

I’m running Wowza Media Server 2 for EC 2.2.3 buildd 26454

I’m trying to output to two different players

  1. iOS

  2. brightcove - the issue is when i’m trying to make a request from brightcove - that is when I see that error

  3. this is a live stream event being broadcast from wirecast

if brightcove isn’t support by SMIL, how can I broadcast to one URL, but create 2 different file types?

thanks,

Laura

Hi Scott,

When I add that and try to invoke the stream, then I get this error:

ERROR server comment 2011-07-14 11:29:14 - - - - - 3033.819 - - - - - - – MediaReaderFactory: getInstance: java.lang.ClassNotFoundException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL

So it definitely sounds like something is missing, can you point me to a jar or someplace in the installer that I can verify that this existed with my copy?

Thanks,

Laura

Hi Richard,

I’m a little suspect thought because hitting this url: http://ec2-67-202-23-220.compute-1.amazonaws.com:80/live/smil:myStream.smil/playlist.m3u8 on my ipad works for me. If I didn’t have the right jars shouldn’t this not work?

What doesn’t work is trying to fetch the stream via brightcove using this url: http://ec2-67-202-23-220.compute-1.amazonaws.com:80/live streamname: smil:myStream.smil

Do you still think its a config issue? I’m not aware of any upgrade that we did.

thanks,

Laura

I have the same error.

I tried to install Wowza 2.2.4 dev edition on linux and win, but i can’t find file wms-mediareader-smil.jar in lib folder.

Where a can find this library?

Is this library available in the dev edition?