Results 1 to 4 of 4

Thread: AV desync on iphone and rtsp

  1. #1
    Join Date
    Jan 2012
    Posts
    3

    Default AV desync on iphone and rtsp

    Hi,

    I use following wowza configuration:
    digital headend -> rtp stream to wowza server -> wowza transcoder/streamer to multiple formats.

    digital headend and server is connected via internet, there is no bandwidth problem (1Gig CiR) but jitter is quite big, becouse of distance (3000km).

    I had to set <Name>audioIsAligned</Name> to false to have it working (without it I had buffering every second on flash or audio skipping on rtsp).

    But still I have A/V sync issues:

    flash on PC is OK (StrobeMedia)
    http streaming on iPhone/iPad is ok for 10 minutes, next it starts to desync A/V and it is worst with each minute (audio is late to video)
    with rtsp it depends on player, but generally is desynced too (audio is late to video).

    I tried many configuration changes (buffer size, rtpDePacketizerPacketSorterBufferTime etc, but without any changes).

    Do you have any suggestion?

    Michal

  2. #2

    Default

    Please describe your audio/video encoding in detail. framerate, bitrate, keyframe interval, codec, etc..

  3. #3
    Join Date
    Jan 2012
    Posts
    3

    Default

    We use Luminato by Teleste headend. Output is: Video PID 0x51, codec h264 - mpeg4 avc (part 10), 720x576, 50fps and audio is PID 0x54, mpeg audio layer 1/2/3 (mpga), stereo, 48000Hz, 192kb/s.
    We generate few output streams, all with AAC output and 96000 kbps (default setting in transcoder xls).

    Part of output from Wowza startup:

    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: MPEG-TS over RTP
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: programID[prg:0x50,filter:none]
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: videoPID[prg:0x50,pid:0x51,filter:0x51]: streamType:H264:27
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: IMPORT: audioPID[prg:0x50,pid:0x54,filterid=0x54]: streamType:MP3:4 audioLanguageol
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: INGORE: unkwnPID[prg:0x50,pid:0x55,filter:none]: streamType:6
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: INGORE: unkwnPID[prg:0x50,pid:0x52,filter:none]: streamType:6
    INFO server comment - RTPDePacketizerMPEGTS.handleRTPPacket: INGORE: unkwnPID[prg:0x50,pid:0x53,filter:none]: streamType:6
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/mpegts.stream]: Video codec: H264
    INFO server comment - LiveStreamPacketizerSanJose.handlePacket[live/_definst_/mpegts.stream]: Audio codec: MP3
    INFO stream publish mpegts.stream_360p -
    INFO stream publish mpegts.stream_160p -
    INFO stream publish mpegts.stream_720p -
    INFO server comment - JNI:TranscoderSession.audioDecoderCreate[_defaultVHost_:live/_definst_/mpegts.stream]: Create audio decoder: MPEG1 Part 1/2: default
    INFO server comment - JNI:TranscoderSession.videoDecoderCreate[_defaultVHost_:live/_definst_/mpegts.stream]: Create video decoder: H.264: default
    INFO transcoder decoder-audio-start mpegts.stream {codec:MP3, objectType:MPEG1LAYER2, sampleRate:48000, channels:2}
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/mpegts.stream:480p]: Create audio encoder: AAC: default
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/mpegts.stream:460p]: Create audio encoder: AAC: default
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/mpegts.stream:240p]: Create audio encoder: AAC: default
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/mpegts.stream:360p]: Create audio encoder: AAC: default
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/mpegts.stream:160p]: Create audio encoder: AAC: default
    INFO server comment - JNI:TranscoderSession.audioEncoderAdd[_defaultVHost_:live/_definst_/mpegts.stream:720p]: Create audio encoder: AAC: default
    INFO server comment - JNI:AudioDecoderMP2.decodeFirstFrame[_defaultVHost_:live/_definst_/mpegts.stream]: sampleRate:48000 channels:2
    INFO server comment - JNI:AudioEncoderAAC.initialize[_defaultVHost_:live/_definst_/mpegts.stream:480p]: channels:2 sampleRate:48000 bitRate:96000
    INFO server comment - JNI:AudioEncoderAAC.initialize[_defaultVHost_:live/_definst_/mpegts.stream:460p]: channels:2 sampleRate:48000 bitRate:96000
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/mpegts.stream]: chunkDurationTarget: 10000
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/mpegts.stream]: chunkDurationTolerance: 500
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/mpegts.stream]: audioGroupCount: 3
    INFO server comment - LiveStreamPacketizerCupertino.init[live/_definst_/mpegts.stream]: playlistChunkCount:3

  4. #4

    Default

    Zip up conf and logs folders and send them to support@wowza.com

    Is your Wowza server on a pubic IP? Include a playback URL to test.

    Include a link to this thread for reference. Also, please include the iOS versions you have tried.
    Last edited by randall; 01-25-2012 at 06:19 AM.

Similar Threads

  1. rtsp to iphone i'm a question
    By ikaiser in forum Live Streaming and Encoder Discussion
    Replies: 1
    Last Post: 10-23-2011, 01:36 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
  •