Results 1 to 5 of 5

Thread: smil file (adaptative bitrate for VOD) problem

  1. #1
    Join Date
    Mar 2012
    Posts
    8

    Default smil file (adaptative bitrate for VOD) problem

    hello again...

    im trying to setup an adaptative bitrate for VOD instance.

    folow instructions from tutorials...

    my smil file:

    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="mp4:CO20-450.mp4" system-bitrate="450000"/>
    <video src="mp4:CO20-750.mp4" system-bitrate="750000"/>
    <video src="mp4:CO20-1100.mp4" system-bitrate="1100000"/>
    <video src="mp4:CO20-1300.mp4" system-bitrate="1300000"/>
    <video src="mp4:CO20-1500.mp4" system-bitrate="1500000"/>
    <video src="mp4:CO20-mobile300.mp4" system-bitrate="300000"/>
    <video src="mp4:CO20-mobile400.mp4" system-bitrate="400000"/>
    <video src="mp4:CO20-mobile600.mp4" system-bitrate="600000"/>
    </switch>
    </body>
    </smil>

    all files are encoded by Adobe Media Encoder.

    my application conf:

    [install-dir]/conf/vod/ecofest - here is my Application.xml specific file.

    is needed an [install-dir]/application/vod/ecofest ?

    the encoded mp4s and smil file are here:

    [install-dir]/content/ecofest

    when i try to play via OSMF player from examples-dir i got the error:

    INFO stream create ecofest.smil -
    WARN server comment ecofest.smil open: java.io.FileNotFoundException: /usr/local/WowzaMediaServer/content/ecofest.smil (No such file or directory)
    WARN server comment - HTTPStreamerSanJoseIndex.indexFile[vod/ecofest/smil:ecofest.smil]: MediaList is empty.
    INFO stream destroy ecofest.smil -
    INFO sanjose disconnect 1752844089 -

    what could be wrong here?
    thanks again...
    Last edited by xandeact; 04-21-2012 at 08:22 AM.

  2. #2

    Default

    Hi xandeact,

    You are close.

    You can cannot nest folders in /conf/. Wowza will not find the Application.xml in the nested folder.
    [install-dir]/conf/ecofest - Application.xml goes here
    [install-dir]/applications/ecofest - also create empty folder in applications

    You can nest folders in your content dir:

    The stream name is this:
    [prefix]:[path-to-VOD-file-from-content-folder]/manifest.f4m

    So for you, the correct syntax is:
    Server: http://[Wowza-IP]:1935/ecofest/_definst_/
    Stream: smil:ecofest/ecofest.smil/manifest.f4m

    And your .smil:

    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="mp4:ecofest/CO20-mobile300.mp4" system-bitrate="300000"/>
    <video src="mp4:ecofest/CO20-mobile400.mp4" system-bitrate="400000"/>
    <video src="mp4:ecofest/CO20-mobile600.mp4" system-bitrate="600000"/>
    </switch>
    </body>
    </smil>

    Note, you cannot mix differently encoded videos in one .smil.
    Last edited by randall; 04-22-2012 at 10:45 AM. Reason: fixed incorrect info

  3. #3
    Join Date
    Mar 2012
    Posts
    8

    Default

    hey randall.... i got it...

    changes are made.... seems to be working now...

    the .smil file could be:

    <smil>
    <head>
    </head>
    <body>
    <switch>
    <video src="mp4:CO20-450.mp4" system-bitrate="450000"/>
    <video src="mp4:CO20-750.mp4" system-bitrate="750000"/>
    <video src="mp4:CO20-1100.mp4" system-bitrate="1100000"/>
    <video src="mp4:CO20-1300.mp4" system-bitrate="1300000"/>
    <video src="mp4:CO20-1500.mp4" system-bitrate="1500000"/>
    </switch>
    </body>
    </smil>

    or not?

    i should not mix the *-mobilexxx.mp4 in the same .smil, right?

    is there any way to test which bitrate is being used by the player?

    I'm currently using Flowplayer for viewing media. in this case how to proceed the player configuration? I mean, the video format adaptation is automatic?

    thanks for your time man...

  4. #4
    Join Date
    Mar 2012
    Posts
    8

    Default

    hello...

    now its working like a charm...

    i was able to experience the adaptative in http stream via http://www.osmf.org/configurator/fmp/ player...

    for now im satisfied with results... thanks all...

    sugestions on this discution still apreciated....

  5. #5

    Default

    updated previous my post

Posting Permissions

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