Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Including 64 kbps audio-only HTTP Live stream in the playlist using cupertino

  1. #1
    Join Date
    Jan 2012
    Posts
    21

    Default Including 64 kbps audio-only HTTP Live stream in the playlist using cupertino

    Hello everyone,

    We are currently using Wowza Server 3 to deliver video to our iPhone APP using cupertino (HLS) protocol and it was just rejected with the following reason:

    "Video streaming content over a cellular network longer than 10 minutes must use HTTP Live and include a baseline 64 kbps audio-only HTTP Live stream"

    All of our video in Amazon S3 are in H.264 encoding and they are all 500Kbps. In our iPhone app, all of our video links are set to deliver m3u8 playlists.

    For example:
    http://our_aws_s3_domain/vods3/_definst_/mp4:amazons3/ourbucket/flavor2/2012-05-03-bp-13_500k.mp4/playlist.m3u8
    I am guessing the reason they rejected our app is because they are looking for 64 kbps audio-only HTTP Live stream.

    Can someone shed some light on how ya'll solved this problem or include this in our playlist.m3u8 through Wowza 3?

    Thanks for your help!

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

    Default

    Take a look at this article:

    http://www.wowza.com/forums/content....pStore-64Kbps)

    Richard

  3. #3
    Join Date
    Jan 2012
    Posts
    21

    Default

    Thanks Richard for that article,

    I appreciate your patience as you deal with me. I was reading through it and I was wondering if I can clarify few things with you.

    First of all, since I am not Live Streaming do I still need to setup my app following these tutorials?

    In my case, I am using amazon Wowza 3 EC2 to deliver S3 contents so that it can be segmented. That being said, I opened and edited the file /home/wowza/conf/live/Application.xml

    <Streams>
                            <StreamType>live</StreamType>
                            <StorageDir>${com.wowza.wms.context.VHostConfigHome}/content</StorageDir>
                            <KeyDir>${com.wowza.wms.context.VHostConfigHome}/keys</KeyDir>
                            <!-- LiveStreamPacketizers (separate with commas): cupertinostreamingpacketizer, smoothstreamingpacketizer, sanjosestreamingpacketizer, cupertinostreamingrepeater, smoothstreamingrepeater, sanjosestreamingrepeater -->
                            <LiveStreamPacketizers>smoothstreamingpacketizer,cupertinostreamingpacketizer,sanjosestreamingpacketizer</LiveStreamPacketizers>
                            <Properties>
                                    <Property>
                                        <Name>cupertinoCreateAudioOnlyRendition</Name>
                                        <Value>true</Value>
                                        <Type>Boolean</Type>
                                    </Property>
                            </Properties>
                    </Streams>
    But then further down I found another section with similar tag
    <LiveStreamPacketizer>
                            <Properties>
                            </Properties>
    </LiveStreamPacketizer>
    Which one does it apply to us?

    I hope I am making sense

    Thanks

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

    Default

    For vod app, of course do not follow any of the live guides, and you don't need the property in the LiveStreamPacketizer /Properties. It it were live app, it would be 2nd one. The first is the Streams Properies container.

    Richard

  5. #5
    Join Date
    Jan 2012
    Posts
    21

    Default

    Thanks Richard,

    Since I have an application named vods3, I added the HTTPStreamer/Properties described in the article to the conf/vods3/Application.xml. Now I see two streams in our playlist.m3u8.

    I hope I understood correctly.

    I don't know if you came across people with this issue, but based on what I did so far, do you reckon this meets the "baseline 64 kbps audio-only HTTP Live stream"? Does it have to serve exactly 64kbps?

    Much obliged

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

    Default

    If you see two streams now, that is good so far. The audio stream will be the audio track that is in the other stream -- whatever that is. If it is 128kbs MP3 audio track, then that's what the audio stream will be, in which case the Apple Store requirement is not met. It has to be a 64kbs audio track.

    It is best if the audio track is AAC. MP3 audio track that is under 128kbs won't work in all iOS devices, so the technique works, but it won't satisfy Apple Store req.

    Richard

  7. #7
    Join Date
    Jan 2012
    Posts
    21

    Default

    Thanks Richard, I am learning alot.

    Our playlist looks like this:

    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=685859,CODECS="avc1.66.30, mp4a.40.2",RESOLUTION=640x360
    playlist.m3u8?wowzasessionid=552843915
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=140794,CODECS="mp4a.40.2"
    playlist.m3u8?wowzaaudioonly&wowzasessionid=552843915
    It looks like mp4a.402.2 is ACC encoded file yea? I am wondering about the BANDWIDTH for it. It doesn't look like the BANDWIDTH for mp4a.40.2 is 64kbps.

    Does this value change depending on the available bandwidth for client?

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

    Default

    The method you are using extracts the audio track, it doesn't transrate. The bitrate of the audio track you extract is the bitrate of the audioonly stream. So encode the video or live stream to have a 64kbs AAC stream for best results with this method. 64kbs MP3 will work in recent iOS devices running iOS 5.0.1, but not older devices which only support 128kbs MP3. So AAC is recommended.

    Richard

  9. #9
    Join Date
    Jan 2012
    Posts
    21

    Default

    Wow, I see, any examples out there on how to transcode the audioonly stream to 64kbs? Trying to figure out the what to do...We have thousands of video files already, I don't know if it is feasible to re encode these videos. Are there any way wowza can transcode the original video on the fly from S3 it and spit out 64kbps of audio stream in m3u8 playlist?

    I am reading something here about transcoders....http://www.wowza.com/forums/content.php?304#hwDriverReq

    I hope I am on the right track here, but how would this work with S3? I am assuming we need a link like this to output a m3u8 playlist...

    http://our_aws_s3_domain/vods3/_definst_/mp4:amazons3/ourbucket/flavor2/2012-05-03-bp-13_500k.mp4/playlist.m3u8
    Any insights?

    THanks
    Last edited by pobrejuanito; 01-28-2012 at 08:14 AM.

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

    Default

    The Wowza Transcoder works with live streams. We recommend Expression 4 Encoder for multi-bitrate vod encoding, because it creates key frame aligned sets that are necessary for multi-bitrate streaming to work.

    http://www.wowza.com/forums/content....ideo-on-Demand

    Richard

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 12-19-2011, 03:00 PM

Posting Permissions

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