Wowza Community

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

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

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

thanks Zoran.