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

Current Development version likely to have breaking changes
Post Reply
pepex7
Posts: 37
Joined: Wed Feb 08, 2023 11:55 pm

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

Post 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.
dougmccrary
Posts: 1314
Joined: Sat Aug 31, 2019 7:35 am
Location: San Diego

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

Post by dougmccrary »

Sounds like a network problem.
pepex7
Posts: 37
Joined: Wed Feb 08, 2023 11:55 pm

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

Post by pepex7 »

but on the same network with macos it works. tomorrow I will try with windows
pepex7
Posts: 37
Joined: Wed Feb 08, 2023 11:55 pm

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

Post 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?
User avatar
iconnor
Posts: 3126
Joined: Fri Oct 29, 2010 1:43 am
Location: Toronto
Contact:

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

Post 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.
pepex7
Posts: 37
Joined: Wed Feb 08, 2023 11:55 pm

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

Post 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.
pepex7
Posts: 37
Joined: Wed Feb 08, 2023 11:55 pm

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

Post 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?
pepex7
Posts: 37
Joined: Wed Feb 08, 2023 11:55 pm

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

Post 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
Post Reply