NetStream events are client side (info) events. There can be a number of
reasons for this happening, even local PC issues (CPU limitation).
Mos probably, there is an issue with either bandwidth or timestamps of the
video frames. Bandwidth can be monitored with tools like WireShark.
The audio/video frame timestamp requires insight into the sent packages.
These are just some pointers to a possible solution.
HTH,
/Rob
2010-07-05 12:38:12,963 [ProcessorService-1] TRACE RTSPProcessor [fca7c6f4596f7cb84922f74bcaae0a7f_232_202_512] Writing event to output stream: Video - ts: 280 length: 263 2010-07-05 12:38:13,015 [ProcessorService-1] TRACE RTSPProcessor [fca7c6f4596f7cb84922f74bcaae0a7f_232_202_512] Writing event to output stream: Video - ts: 320 length: 328 2010-07-05 12:38:13,017 [ProcessorService-1] TRACE RTSPProcessor [fca7c6f4596f7cb84922f74bcaae0a7f_232_202_512] Writing event to output stream: Video - ts: 360 length: 464 2010-07-05 12:38:13,069 [ProcessorService-1] TRACE RTSPProcessor [fca7c6f4596f7cb84922f74bcaae0a7f_232_202_512] Writing event to output stream: Video - ts: 580721980 length: 590 2010-07-05 12:38:13,069 [ProcessorService-1] DEBUG RTSPProcessor [fca7c6f4596f7cb84922f74bcaae0a7f_232_202_512] Reached FPS or max awake time 2010-07-05 12:38:13,069 [ProcessorService-1] DEBUG RTSPProcessor Sent frames: 11 - FPS: 10 2010-07-05 12:38:13,069 [ProcessorService-1] DEBUG RTSPProcessor Awake for 421.299554 ms 2010-07-05 12:38:13,121 [ProcessorService-1] TRACE RTSPProcessor [fca7c6f4596f7cb84922f74bcaae0a7f_232_202_512] Writing event to output stream: Video - ts: 580722020 length: 1773
Notice how the timestamp jumps from 360 to 580721980. Would you (or someone else) have a clue why there is such a jump in the timestamp?
regards,
Wim
Got back from holiday and I noticed you had not nailed this issue yet.
Some more pointers that could be useful:
I have done some FFMpeg with C# and I have come across similar problems with
DTS and PTS. These two value are basically the timestamp that represents the
time of display (DisplayTimeStamp) and presentation (PresentationTimeStamp).
There is some confusion about these two. My custom C# code does not use
these value to determine the actual timestamp, since some container formats
handle them incorrectly.
IOW: do not use the timestamps IN the stream, but instead use the duration
of each frame to determine the timestamp for the video.
Note that this only occurs with VOD streams (from a file). I have had good
luck with relying on the duration only (and the DTS/PTS from the first
frame)
Hope this helps!
/Rob
----- Original Message -----
From: "Wim Deblauwe" <wim.de...@gmail.com>
To: "red5" <red5in...@googlegroups.com>