This is an encoder problem. There are many forum posts about this:
http://www.wowza.com/forums/google.php?query=timeccode%20out%20of%20order
Richard
nothing comes up when I click the above link. I actually found this thread by searching for the same thing and so far I haven’t found how to address this on the encoder.
We have similar errors in our log - Wirecast encoding at 30fps and appears to be stable at that rate, keyframes set to 60 and timecode unchecked, going into transcoder for 3 lower bitrates. We see playback up and downshifting on Flash and iOS very frequently. Quality Monitor in JWplayer tells me there are occasionally dropped frames on the client end (100mbps client, server on 10gbps), but the encoder is running at low CPU utilization with a pretty generic profile.
this is what we are running for this stream:
<smil>
<head />
<body>
<switch>
<video src="mp4:myStream_source" system-bitrate="1941504" width="1280" height="720">
<param name="audioBitrate" value="98304" valuetype="data" />
<param name="videoBitrate" value="1843200" valuetype="data" />
<param name="videoCodecId" value="avc1.77.31" valuetype="data" />
<param name="audioCodecId" value="mp4a.40.2" valuetype="data" />
</video>
<video src="mp4:myStream_360p" system-bitrate="948304" width="640" height="360">
<param name="audioBitrate" value="98304" valuetype="data" />
<param name="videoBitrate" value="850000" valuetype="data" />
<param name="videoCodecId" value="avc1.77.31" valuetype="data" />
<param name="audioCodecId" value="mp4a.40.2" valuetype="data" />
</video>
<video src="mp4:myStream_240p" system-bitrate="448304" width="426" height="240">
<param name="audioBitrate" value="98304" valuetype="data" />
<param name="videoBitrate" value="350000" valuetype="data" />
<param name="videoCodecId" value="avc1.66.21" valuetype="data" />
<param name="audioCodecId" value="mp4a.40.2" valuetype="data" />
</video>
<video src="mp4:myStream_160p" system-bitrate="298304" width="284" height="160">
<param name="audioBitrate" value="98304" valuetype="data" />
<param name="videoBitrate" value="200000" valuetype="data" />
<param name="videoCodecId" value="avc1.66.21" valuetype="data" />
<param name="audioCodecId" value="mp4a.40.2" valuetype="data" />
</video>
</switch>
</body>
</smil>
the problem is most pronounced during sequences with lots of motion, so it most likely is the encoder, even though it doesn’t appear to have a problem with the encode. However, in Wirecast you can’t force the frame rate - they state it isn’t “guaranteed”
The server runs at 23% CPU load with two such streams being transcoded. We had the issue even with just one transcode. Source encoder is an i7 running at a mild load as well.
Peter