Results 1 to 3 of 3

Thread: Wowza does not provide correct video format according to SMIL file

  1. #1
    Join Date
    May 2015
    Posts
    2

    Default Wowza does not provide correct video format according to SMIL file

    I'm trying to do adaptive streaming for a video in S3.


    Here is my SMIL file in S3 bucket: {mybucket}

    <?xml version="1.0" encoding="UTF-8"?>
    <smil title="snowboarding_rita">
    <body>
    <switch>
    <video height="768" src="mp4:snowboarding_rita.mp4" width="1024">
    <param name="videoBitrate" value="2000000" valuetype="data"></param>
    <param name="audioBitrate" value="10000" valuetype="data"></param>
    </video>
    <video height="360" src="mp4:snowboarding_rita.mp4" width="480">
    <param name="videoBitrate" value="600000" valuetype="data"></param>
    <param name="audioBitrate" value="10000" valuetype="data"></param>
    </video>
    </switch>
    </body>
    </smil>




    I can see that video playlist is correctly set.
    curl -v 'http://[myhost]:[myport]/vods3/_definst_/smil:amazons3/[mybucket]/rita_snowboarding_1.smil/playlist.m3u8'

    < HTTP/1.1 200 OK
    < Date: Fri, 08 May 2015 04:19:14 GMT
    < Content-Type: application/vnd.apple.mpegurl
    < Accept-Ranges: bytes
    * Server WowzaStreamingEngine/4.1.2 is not blacklisted
    < Server: WowzaStreamingEngine/4.1.2
    < Cache-Control: no-cache
    < Content-Length: 206
    <
    #EXTM3U
    #EXT-X-VERSION:3
    #EXT-X-STREAM-INF:BANDWIDTH=2010000,RESOLUTION=1024x768
    chunklist_w2145883487_b2010000.m3u8
    #EXT-X-STREAM-INF:BANDWIDTH=610000,RESOLUTION=480x360
    chunklist_w2145883487_b610000.m3u8



    However, the profile that streams out is not correct (the resolution is the same as the source file) whether client play which rendition.


    Here's the source file profile meta from wowza server log.

    MediaReaderH264Cupertino.indexFile[vods3/_definst_/amazons3/mybucket/snowboarding_rita.mp4][mp4a.40.2]: AAC Audio info: {MediaCodecInfoAudio: codec:AAC, channels:1, frequency:48000, samplesPerFrame:1024, objectType:LC}

    MediaReaderH264Cupertino.indexFile[vods3/_definst_/amazons3/mybucket/snowboarding_rita.mp4][avc1.100.40]: H.264 (Video may not be playable on older iPhone and iPod touch devices where Main/Level 3.1 or lower is required) Video info: {MediaCodecInfoVideo: codec:H264, profile:High, level:4.0, frameSize:1920x1080, displaySize:1920x1080, frameRate:0.000000}


    Is there anything else I need to setup then wowza could stream correct profile?

    Thanks for help!

    Rita

  2. #2
    Join Date
    Jun 2012
    Posts
    723

    Default

    Hi Rita,

    Looking at the contents of your SMIL file, I can see that you are using the same "snowboarding_rita.mp4" file for both renditions. Wowza does not take the source video file and will not create different renditions of that source file, as the video on demand transcoder feature is not currently supported in Wowza Streaming Engine.
    The SMIL file is only a descriptor file that is providing information about the assets already available on your server, which can be accessed by the player if certain network conditions are met.

    In your particular case, your SMIL file should look like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <smil title="snowboarding_rita">
    <body>
    <switch>
    <video height="768" src="mp4:snowboarding_rita_2000kbps.mp4" width="1024">
    <param name="videoBitrate" value="2000000" valuetype="data"></param>
    <param name="audioBitrate" value="10000" valuetype="data"></param>
    </video> 
    <video height="360" src="mp4:snowboarding_rita_600kbps.mp4" width="480">
    <param name="videoBitrate" value="600000" valuetype="data"></param>
    <param name="audioBitrate" value="10000" valuetype="data"></param>
    </video>
    </switch>
    </body>
    </smil>
    where snowboarding_rita_2000kbps.mp4 and snowboarding_rita_600kbps.mp4 should be video files already stored in your Amazon S3 bucket and encoded from the same VOD source, using the encoding parameters you are mentioning in your SMIL descriptor file.

    Regards,
    Zoran

  3. #3
    Join Date
    May 2015
    Posts
    2

    Default

    thanks Zoran.

Similar Threads

  1. Replies: 1
    Last Post: 01-15-2014, 09:00 AM
  2. Stream not found [live/smil:myStream.smil/manifest.f4m]: myStream.smil
    By viet_fpt in forum Live Streaming and Encoder Discussion
    Replies: 12
    Last Post: 04-08-2013, 07:22 AM
  3. Will inSSIDer use the recent data for an AP and calculate the position according to?
    By Isaacly in forum Video On Demand Streaming Discussion
    Replies: 1
    Last Post: 12-03-2012, 05:41 AM
  4. recorded .mp4 format video file does not play while in live streaming
    By vinodkumarc in forum Live Streaming and Encoder Discussion
    Replies: 6
    Last Post: 10-02-2012, 06:16 AM
  5. How to get the correct path address of the video file.
    By nathiya in forum General Forum
    Replies: 6
    Last Post: 09-05-2012, 07:16 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
  •