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

Thread: iPad 1&2, iPhone vod problem

  1. #1

    Question iPad 1&2, iPhone vod problem

    Hi,

    I am streaming a video file. When I access it form my iPad`s video sound is stutter. But when I test this video on web browser or any android device sound is ok.

    This video is encoded using Baseline profile @3.0 and information about audio track are here:

    Meybe somebody have some suggestion what should I change in encoding?


    Audio
    ID : 1
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1h 34mn
    Source duration : 1h 34mn
    Bit rate mode : Variable
    Bit rate : 128 Kbps
    Maximum bit rate : 134 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 86.2 MiB (11%)
    Source stream size : 86.2 MiB (11%)
    Language : unk
    Encoded date : *
    Tagged date : *
    mdhd_Duration : *


    Of course some videos are ok on iPad`s too...
    Or problem is whitin my stream.

    Edit:
    I have tried to play stream on iPhone 3G, 3GS & 4S problem is the same.

  2. #2
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Try changing the audio to 44.1KHz

    What is the video encoding details? What is the key frame frequency? Try setting that to 2 seconds

    Richard

  3. #3

    Default

    I tried change audo to 44.1 Khz,
    Key frame was set to 2 seconds to, but stream on iPads is bad.

    Meybe problem is in wowza config. What`s about curpertino Live stream packetizer or curpentino values?

    _2in1_

  4. #4

    Default

    Hi,

    Try testing with sample.mp4. If that doesn't work, this would point to a problem with your file encoding.

  5. #5
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Take a look at these encoding suggestions for Expression 4 Encoder and FFmpeg. If you have another encoder, you can still use these for reference.

    The cupertino segment settings are here:
    http://www.wowza.com/forums/content....rameters-(iOS)

    Before adding those cupertino settings, follow steps 1 - 3 in this guide and show us the playlist that downloads.
    http://www.wowza.com/forums/content....AES-Encryption

    Richard

  6. #6

    Default

    Playlists are here:

    #EXTM3U
    #EXT-X-VERSION:2
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH="My_bandwith_speed",CODECS="avc1.66.30, mp4a.40.2",RESOLUTION=1024x576
    playlist.m3u8?wowzasessionid="sesion_id"

    and

    #EXTM3U
    #EXT-X-VERSION:2
    #EXT-X-TARGETDURATION:19
    #EXT-X-MEDIA-SEQUENCE:1
    #EXTINF:10,
    media_1.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_2.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_3.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_4.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_5.ts?wowzasessionid="sesion_id"
    #EXTINF:13,
    media_6.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_7.ts?wowzasessionid="sesion_id"
    #EXTINF:15,
    media_8.ts?wowzasessionid="sesion_id"
    #EXTINF:12,
    media_9.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_10.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_11.ts?wowzasessionid="sesion_id"

    *****

    #EXTINF:10,
    media_475.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_476.ts?wowzasessionid="sesion_id"
    #EXTINF:10,
    media_477.ts?wowzasessionid="sesion_id"
    #EXTINF:2,
    media_478.ts?wowzasessionid="sesion_id"
    #EXT-X-ENDLIST

    _2in1_

  7. #7
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    In the first list, chunk size is usually 10 (#EXTINF:10), but there is a 12, 13 and 15 second chunk. The #EXT-X-TARGETDURATION:19 means that at least one segment is 19 seconds. Chunks are broken on key frames. So depending on the key frame interval and cupertinoChunkDurationTarget, default 10000 milliseconds (10 seconds), chunk sizes can differ. The target duration in the playlist is always the size of the largest chunk.

    In the second list you show, there are three 10 second chunks then a 2 second chunk.

    Above, you show the details of the audio codec, the issue being with audio, but video codec details are important too because of how Wowza creates these chunks. You want regular sized chunks. 10 second chunk is okay, but ranging up and down might be a problem, and it might make using the Cupertino segment settings difficult and unhelpful.

    As mentioned, try a 2 second video key frame frequency. If your encoder does not have that setting, it might gop/fps, in FFmpeg it is -g/-r

    Then implement cupertino segment settings. Try setting cupertinoChunkDurationTarget to 2000 with the 2 second key frame frequency

    Richard

  8. #8

    Default

    Wow thanks for fast response. I will try your suggestions.


    P.s.
    I noticed in downloaded playlist there is gap between avc codec definition:
    CODECS="avc1.66 .30, mp4a.40.2"
    Or its ok?

    _2in1_

  9. #9
    Join Date
    Dec 2007
    Posts
    22,013

    Default

    Are you using a smil? Did you add these following this guide?

    Richard

  10. #10

    Default

    Sorry for not updating this post. Problem was in my video encoding software. It had a problem in video source.
    Now all works fine.
    Tnx for help

    _2in1_
    Last edited by _2in1_; 05-03-2012 at 06:03 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Help please!! I can't see the live streaming in Mac & iPhone & iPad
    By timtang1982 in forum Live Streaming and Encoder Discussion
    Replies: 3
    Last Post: 08-27-2013, 06:24 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
  •