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

**URL:** <https://community.wowza.com/t/wowza-does-not-provide-correct-video-format-according-to-smil-file/45249>\
**Category:** Wowza Streaming Engine\
**Created:** [May 7, 2015, 8:56pm UTC](https://community.wowza.com/t/wowza-does-not-provide-correct-video-format-according-to-smil-file/45249 "2015-05-07T20:56:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rita\_yang](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rita\_yang](https://community.wowza.com/u/rita_yang)\
**Post date:** [May 7, 2015, 8:56pm UTC](https://community.wowza.com/t/wowza-does-not-provide-correct-video-format-according-to-smil-file/45249/1 "2015-05-07T20:56:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [May 12, 2015, 1:50pm UTC](https://community.wowza.com/t/wowza-does-not-provide-correct-video-format-according-to-smil-file/45249/2 "2015-05-12T13:50:21Z")

</div>

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:

```auto
<?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

---

<div class="post-metadata">

**Author:** ![rita\_yang](https://avatars.discourse-cdn.com/v4/letter/r/a183cd/32.png) [@rita\_yang](https://community.wowza.com/u/rita_yang)\
**Post date:** [May 15, 2015, 1:26am UTC](https://community.wowza.com/t/wowza-does-not-provide-correct-video-format-according-to-smil-file/45249/3 "2015-05-15T01:26:00Z")

</div>

thanks Zoran.
