Page 1 of 1

Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Wed Nov 15, 2023 3:13 pm
by pepex7
I have zoneminder 1.37.45 installed on ubuntu 22.04 server (in a VM in proxmox).
On an Ubuntu 22.04 desktop client, when viewing via the web and zmninja the image is choppy in the montage, when downloading the event and playing it in the same way it looks choppy.
On a MacOS client, via web and zmninja it looks less choppy, not 100%, but a little better. When downloading the same event and playing it looks fluid (at 100%).

I already have multiports configured and working ok.

On Ubuntu 22.04 desktop, I tried to solve the codec.
https://askubuntu.com/questions/1406254 ... lay-any-vi

Is there anything else I can check and achieve a smooth mount with zmninja on Ubuntu 22.04 desktop? I have read the related posts without success.

Re: Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Thu Nov 16, 2023 2:08 am
by dougmccrary
Sounds like a network problem.

Re: Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Thu Nov 16, 2023 2:15 am
by pepex7
but on the same network with macos it works. tomorrow I will try with windows

Re: Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Thu Nov 16, 2023 12:52 pm
by pepex7
dougmccrary wrote: Thu Nov 16, 2023 2:08 am Sounds like a network problem.
What would be the way to discard (test) the network?

Re: Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Thu Nov 16, 2023 5:17 pm
by iconnor
Resolution? Codec?

I'm guessing very high res, h265. So conversion to mjpeg, which at high res takes too much cpu and server can't keep up a high frame rate.

Re: Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Thu Nov 16, 2023 7:17 pm
by pepex7
thanks for your answer.
screen resolution 3840 × 2160.
camera resolution 1920 x 1080 (I tried lower resolution too).
H264 codec.
I installed the codec on the client (Ubuntu 22.04) and it seemed to improve. Does the client codec have any effect on zmninja? Or is it just a psychological effect? I also tried a Windows 10 client and, like macos, the streaming in the montage is more fluid.

Re: Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Wed Dec 06, 2023 3:02 pm
by pepex7
I changed the vm in proxmox to bare-metal and tried v1.36.33 and v1.37.47, but the streaming in the zmninja montage has not changed (it is choppy). The web setup is perfect (at least with 12 cameras), but the review montage is choppy anyway.

If I only add 10 cameras, all the streaming is fluid in montage (web) and in montage zmninja.

Is there anything I can check to solve it?

Re: Streaming skips/choppy Ubuntu 22.04 zm 1.37.45 (multiport OK)

Posted: Wed Dec 13, 2023 2:11 pm
by pepex7
Finally the workaround (Thanks to @iconnor) was to run an instance of zmninja 1.6.9 with the --ignore-connections-limit= ip option.

Code: Select all

./zmninja-pro-1.6.9-linux-x86_64.AppImage --path=instance1 --no-sandbox --ignore-connections-limit= ip_server