Hello,
I have the following set up:
zoneminder
2X 720p/h264 using RTSP with stream /mpeg. I have configured the cameras to use UDP instead of TCP.
Both start normally, without a problem in "MONITOR" mode. I haven't start recording yet so IO interference is ruled out.
After a little bit the second camera goes into a GREY watercolors.
This behavior is fixed by bringing up the camera's 'Source' dialog and pressing SAVE again.
The problem happen with FFMPEG and REMOTE settings. Here vlc segfaults like crazy.
* With FFMPEG option I even tried with "reorder_queue_size=64" to see if that helped. It didn't.
* Tried changing cables thinking that it perhaps had to do with the cables. Didn't help.
I have streaming both cameras with FFPLAY without 'zoneminder' and same happens over time, the second cam goes into GRAY watercolors with few colored smearing.
What I suspect is that FFMPEG cannot handle more than one stream realibly.
Anybody have ideas how to fix this?
Is this a problem of buffer or memory? Is there some buffer/memory settings I should tweak somewhere?
What I haven't tried yet is the "?tcp" option. Would this fix things?
thanks all!
RTSP second monitor goes in psychodelic GREY
Re: RTSP second monitor goes in psychodelic GREY
Some more wilde speculation.
Dose the relation between UDP and CBR/VBR matter?
These cams have even another option CVBR.
Perhaps since UDP is a pure stream protocol without segment CRC would the combination of UDP and VBR trip up FFMPEG?
I am wondering whether the "GOV Lenght" matters, I have set to 200 because with the value of 1 the quality was horrendous.
Around intrawebz I've read that the normal value is DOUBLE the framerate.
Is this true? So far frame rate 20 and "GOV lenght" of 40 seems to show an acceptable quality, perhaps using 200 was an overkill.
One last thing, the "?tcp" trick using in "Source" FFMPEG doesn't work. In other works it BRAKES it.
thanks again.
Dose the relation between UDP and CBR/VBR matter?
These cams have even another option CVBR.
Perhaps since UDP is a pure stream protocol without segment CRC would the combination of UDP and VBR trip up FFMPEG?
I am wondering whether the "GOV Lenght" matters, I have set to 200 because with the value of 1 the quality was horrendous.
Around intrawebz I've read that the normal value is DOUBLE the framerate.
Is this true? So far frame rate 20 and "GOV lenght" of 40 seems to show an acceptable quality, perhaps using 200 was an overkill.
One last thing, the "?tcp" trick using in "Source" FFMPEG doesn't work. In other works it BRAKES it.
thanks again.