Hello everyone !
This is my first post, even if I have been reading the forum for a while now... I'm a french user of vMix (so please excuse my mistakes in english :-) ).
vMix 15.0.0.74 (64 bits) is installed on a Windows 7 x64 SP1 machine (Core i5-4460, 8Gb RAM, Nvidia Quadro FX 580. Not a powerhouse, but works ok with USB cameras).
I encounter an issue with a Foscam IP Camera (FI9826W): I connect via RTSP (TCP or UDP: same issue), vMix displays the live stream, so OK... But every 5 seconds, the camera source freezes for 1 second in vMix (not in VLC, nor the webinterface of the camera), then works again for 5 seconds, and freezes for 1, etc... CPU usage is around 5%, render time 3ms, so everything looks fine on the machine itself.
I've also noted down the data in the statistics window after a few minutes of use:
Source Dropped: 1106 / Renderer Dropped: 27 / Resync: 31 / Queue: 5 / Video: 0 ms Buffers: V267ms. A 0ms 1,05x
(I'm not using Audio with this camera)
When the camera source freezes, vMix is still operational: I can switch sources etc... But the Queued images drop to 0, and a few frames are added to the "Resync" column. I've also tried increasing the buffer time to 750 / 1000ms. This extends a little the "smooth" period, but doesn't remove the freeze.
The camera ping over my wired gigabit network is less than 1ms, for every request, so the network works fine.
I did some experimentation with vMix and the Foscam FI9826W.
I've tested different settings combinations on the camera, to see if I can remove completely the stuttering issue. I've put something moving in front of the camera, and did the following tests (always with 720p, key frame interval at 30, and variable bitrate):
-512K, 10 fps : No stuttering
-512K, 15 fps : No stuttering
-512K, 20 fps : Stuttering (every 30 seconds)
-512K, 25 fps : Stuttering (every 10 seconds)
-512K, 30 fps : Stuttering (every 5 seconds)
-2M, 10 fps : No stuttering
-2M, 15 fps : No stuttering
-2M, 20 fps : No stuttering
-2M, 25 fps : Stuttering (every 6 seconds)
-2M, 30 fps : Stuttering (every 5 seconds)
-4M, 10 fps : No stuttering
-4M, 15 fps : No stuttering
-4M, 20 fps : No stuttering
-4M, 25 fps : Stuttering (every 5 seconds)
-4M, 30 fps : Stuttering (every 5 seconds)
Is anyone encountering the same issue with his IP cam via RTSP ?
I've also contacted Foscam's tech support, but as this is not happening under VLC (nor the embedded webinterface of the camera), I was thinking it may be an issue with vMix itself. So if someone knows a fix, or a workaround, it would be great !
Thanks a lot by advance.