Streaming output problem

Hello

I’m running Wowza Media Server® 3.6.4 build 9641 live streaming with the following architect:

source RTP multicast (udp) => Wowza + Transcoder (force RTMP output) => Wowza + Verimatrix DRM (RTMP + HLS output) => out

There are 170 (mix of 576i & 1080i) source channels, the transcoder servers using CPU base encoder with output format at 480p for 576i source, and 720p for 1080i source. Each transcoder servers consuming about 40% CPU usage. The encoded videos are fine. I’m able to watch it with any players that support RTMP.

However, at the Wowza DRM I found some error on CupertinoPacketHandler

=================================

WARN server comment 2014-03-08 16:05:43 - - - - - 5151.261 - - - - - - - -CupertinoPacketHandler.resetStream[live/definst/kix-hd.stream][11:0]: Timecodes jumped back in time.

WARN server comment 2014-03-08 16:07:10 - - - - - 5238.714 - - - - - - - -CupertinoPacketHandler.handlePacket[live/definst/voicetv.stream]: Timecode out of order [video]: 1394423356:1399641815

WARN server comment 2014-03-08 16:08:58 - - - - - 5346.766 - - - - - - - -CupertinoPacketHandler.handlePacket[live/definst/voicetv.stream]: Timecode out of order [video]: 1394531356:1399749815

WARN server comment 2014-03-08 16:10:24 - - - - - 5432.44 - - - - - - - - CupertinoPacketHandler.handlePacket[live/definst/voicetv.stream]: Timecode out of order [video]: 1394617036:1399835495

WARN server comment 2014-03-08 16:16:04 - - - - - 5772.302 - - - - - - - -CupertinoPacketHandler.handlePacket[live/definst/voicetv.stream]: Timecode out of order [video]: 1394956876:1400175335

WARN server comment 2014-03-08 16:18:40 - - - - - 5928.537 - - - - - - - -CupertinoPacketHandler.handlePacket[live/definst/voicetv.stream]: Timecode out of order [video]: 1395112996:1400331455

WARN server comment 2014-03-08 16:24:39 - - - - - 6287.546 - - - - - - - -CupertinoPacketHandler.handlePacket[live/definst/kix-hd.stream]: Timecode out of order [audio]: 1431659087:1476621563

WARN server comment 2014-03-08 16:24:40 - - - - - 6287.921 - - - - - - - -CupertinoPacketHandler.resetStream[live/definst/kix-hd.stream][11:0]: Timecodes jumped back in time.

WARN server comment 2014-03-08 16:30:25 - - - - - 6633.098 - - - - - - - -CupertinoPacketHandler.handlePacket[live/definst/voicetv.stream]: Timecode out of order [video]: 1395817756:1401036215

WARN server comment 2014-03-08 16:31:19 - - - - - 6687.457 - - - - - - - -CupertinoPacketHandler.handlePacket[live/definst/kix-hd.stream]: Timecode out of order [audio]: 1431659095:1477021701

WARN server comment 2014-03-08 16:31:19 - - - - - 6687.532 - - - - - - - -CupertinoPacketHandler.resetStream[live/definst/kix-hd.stream][11:0]: Timecodes jumped back in time.

=================================

After log entry shown, the video can’t play correctly. HLS stream video is out of sync with audio (the audio is fine but the video seems slow). When play through RTMP the video paused often that it can’t watch normally.

The problem gone when I reset the stream at Wowza DRM server.

I’ve tried set ‘audioIsAligned’ and/or ‘videoIsAligned’ to false but it won’t help. Is there any suggestion to fix the problem permanently?

This sounds like an encoder issue, to help debug you can add the debug properties described in this article:

How to debug AAC or MP3 timecode issues with cupertino packetization

You can also enable this module for advanced monitoring and resetting of MediaCaster streams:

How to enable advanced monitoring and resetting of MediaCaster streams

Salvadore