Results 1 to 4 of 4

Thread: Problem smil vod wowza 3.5.0

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Problem smil vod wowza 3.5.0

    Hi.

    I'm getting this error on wowza:

    ERROR server comment - MediaReaderFactory.getInstance: java.lang.ClassCastException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL cannot be cast to com.wowza.wms.stream.IMediaReader

    I have smil in /usr/local/WowzaMediaServer/content:

    bigbuckbunny_1100.mp4 bigbuckbunny_750.mp4
    bigbuckbunny_1500.mp4 bigbuckbunny.smil
    bigbuckbunny_450.mp4


    The smil file:

    <smil>
            <head>
            </head>
            <body>
                    <switch>
                            <video src="mp4:bigbuckbunny_450.mp4" system-bitrate="450000"/>
                            <video src="mp4:bigbuckbunny_750.mp4" system-bitrate="750000"/>
                            <video src="mp4:bigbuckbunny_1100.mp4" system-bitrate="1100000"/>
                            <video src="mp4:bigbuckbunny_1500.mp4" system-bitrate="1500000"/>
                    </switch>
            </body>
    </smil>

    MediaReader.xml

    
      <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>

    Any problem in this version?

  2. #2
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    What is the playback URL? Are you using smil: prefix?

    Richard

  3. #3

    Default

    using wowza vod player:


    Server: rtmp://127.0.0.1/vod
    Streamname: smil:bigbuckbunny.smil ---> ERROR server comment - MediaReaderFactory.getInstance: java.lang.ClassCastException: com.wowza.wms.mediareader.smil.MediaListReaderSMIL cannot be cast to com.wowza.wms.stream.IMediaReader



    If i try:

    Server: rtmp://127.0.0.1/vod
    Streamname: mp4:sample.mp4 --> Works

  4. #4
    Join Date
    Dec 2007
    Posts
    21,962

    Default

    Right, this is because .smil files only work with HTTP streaming types: cupertino, sanjose and smooth. You can use them indirectly with the JW Player dynamic streaming.

    This is JW Player documentation that covers dynamic streaming, and qualitymonitor:
    http://www.longtailvideo.com/support...rtmp-streaming
    http://www.longtailvideo.com/support...amic-streaming

    And then you can do this to deliver client-side .rss or .smil to JW Player:
    http://www.wowza.com/forums/content....a-Media-Server

    Richard

Similar Threads

  1. smil file (adaptative bitrate for VOD) problem
    By xandeact in forum Video On Demand Streaming Discussion
    Replies: 4
    Last Post: 04-22-2012, 10:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •