Some stuff I've tried, raising the Image Buffer Size to 5 from 3.
tried setting pix_fmt in Source -> Options to a few different kinds of formats (rgb24, bgr24, bt470bg, etc)
Played around with Target colorspace (tried 24 and 32 bit)
So far nothing I've tried has helped.
Search found 30 matches
- Sat Feb 10, 2024 12:02 am
- Forum: ZoneMinder 1.36.x
- Topic: zm decoding color mjpeg stream in grayscale sometimes
- Replies: 1
- Views: 417
- Fri Feb 09, 2024 11:48 pm
- Forum: ZoneMinder 1.36.x
- Topic: zm decoding color mjpeg stream in grayscale sometimes
- Replies: 1
- Views: 417
zm decoding color mjpeg stream in grayscale sometimes
I'm running ZM 1.36.33 The stream is coming from a python script which is streaming a color MJPG video at 1080p stream plays just fine in chrome and VLC (both show it in color) The issue is for some reason zoneminder shows the stream in grayscale (and records it grayscale when alarmed) if the stream...
- Mon Feb 13, 2023 10:58 pm
- Forum: ZoneMinder 1.36.x
- Topic: 1.36.32 random logout and stream scaling issues
- Replies: 34
- Views: 2291
Re: 1.36.32 random logout and stream scaling issues
I still get logged out earlier than the cookie timeout I have set but it's now at least several hours or even overnight.
Before it was literally like every other request would be a 403.
Before it was literally like every other request would be a 403.
- Sat Feb 11, 2023 8:26 pm
- Forum: ZoneMinder 1.36.x
- Topic: 1.36.32 random logout and stream scaling issues
- Replies: 34
- Views: 2291
Re: 1.36.32 random logout and stream scaling issues
I think I've realized what the issue is, it's with the AUTH_RELAY setting, I had it set as plain for whatever reason, and switching it to hashed has fixed my logout issue. I've been logged in for hours now and no more logouts.
- Fri Feb 10, 2023 9:45 pm
- Forum: ZoneMinder 1.36.x
- Topic: 1.36.32 random logout and stream scaling issues
- Replies: 34
- Views: 2291
Re: 1.36.32 random logout and stream scaling issues
Well, what I've noticed is the logout seems to be triggered by the nph-zms process, It'll attempt to refresh the camera snapshots and it'll respond with not authorized. Sometimes I can refresh the page and it'll be logged in still and refresh correctly, but other times it's actually logged out. As f...
- Thu Feb 09, 2023 5:27 am
- Forum: ZoneMinder 1.36.x
- Topic: ZM 1.36.32 in a container inside a VM generating tons of disk writes
- Replies: 7
- Views: 648
Re: ZM 1.36.32 in a container inside a VM generating tons of disk writes
OOPS, so seems like the buffer issue was me, I don't use zmninja and have a webpage on each of my tablets which loads the 5 streams I need, so I just have 5 nph-zms imgs on the page streaming, those had buffer=1000 hardcoded into them.
- Thu Feb 09, 2023 4:56 am
- Forum: ZoneMinder 1.36.x
- Topic: ZM 1.36.32 in a container inside a VM generating tons of disk writes
- Replies: 7
- Views: 648
Re: ZM 1.36.32 in a container inside a VM generating tons of disk writes
Looks like StreamReplayBuffer is being ignored when nph-zms is streaming. it always buffers 1000 images. in my case that's about 1GB per client (5 streams each) So I have to allocate quite a bit. What happens if I point the ZM_SWAP_PATH to a bad folder? I noticed it throws an error but then proceeds...
- Thu Feb 09, 2023 4:11 am
- Forum: ZoneMinder 1.36.x
- Topic: ZM 1.36.32 in a container inside a VM generating tons of disk writes
- Replies: 7
- Views: 648
Re: ZM 1.36.32 in a container inside a VM generating tons of disk writes
Oh looks like that's fine, the container stores the config on the host anyhow.
One more question regarding this, what's a "good" size for this ramdisk?
One more question regarding this, what's a "good" size for this ramdisk?
- Thu Feb 09, 2023 4:01 am
- Forum: ZoneMinder 1.36.x
- Topic: ZM 1.36.32 in a container inside a VM generating tons of disk writes
- Replies: 7
- Views: 648
Re: ZM 1.36.32 in a container inside a VM generating tons of disk writes
Oh I found it and it seems to be working, changed it in conf.d/01-system-paths.conf to my /dev/shm2 path and i'm no longer getting crazy drive activity.
Now I just need to somehow make this stick next time i do docker-compose and not forget about it.
Now I just need to somehow make this stick next time i do docker-compose and not forget about it.
- Thu Feb 09, 2023 3:40 am
- Forum: ZoneMinder 1.36.x
- Topic: ZM 1.36.32 in a container inside a VM generating tons of disk writes
- Replies: 7
- Views: 648
Re: ZM 1.36.32 in a container inside a VM generating tons of disk writes
Tried adding it to zm.conf but same thing.
- Thu Feb 09, 2023 3:37 am
- Forum: ZoneMinder 1.36.x
- Topic: ZM 1.36.32 in a container inside a VM generating tons of disk writes
- Replies: 7
- Views: 648
Re: ZM 1.36.32 in a container inside a VM generating tons of disk writes
Where do I define ZM_SWAP_PATH? I tried adding an ENV variable and setting it to something like /dev/shm2 which is pointing at a /mnt/ramdrive on my host but it's still writing to /dev/shm
- Wed Feb 08, 2023 10:26 pm
- Forum: ZoneMinder 1.36.x
- Topic: ZM 1.36.32 in a container inside a VM generating tons of disk writes
- Replies: 7
- Views: 648
ZM 1.36.32 in a container inside a VM generating tons of disk writes
Hi guys ran into an interesting issue. I'm running the ZM inside a docker container inside a kvm VM (on proxmox) and it's behaving like normal mostly but I noticed a strange issue, it's generating TONS of disk write while streaming to clients via /zoneminder/cgi-bin/nph-zms The container was built f...
- Sat Feb 04, 2023 9:01 pm
- Forum: ZoneMinder 1.36.x
- Topic: 1.36.32 random logout and stream scaling issues
- Replies: 34
- Views: 2291
Re: 1.36.32 random logout and stream scaling issues
Ok, so I've migrated my setup to run fully off the docker composed setup iconnor mentioned in an earlier reply. The system fully migrated fine and after fixing some permission issues It's running just like before. however my logout issues are persisting. I'm not 100% sure but I think when it was fre...
- Thu Jan 26, 2023 9:56 pm
- Forum: ZoneMinder 1.36.x
- Topic: 1.36.32 random logout and stream scaling issues
- Replies: 34
- Views: 2291
Re: 1.36.32 random logout and stream scaling issues
Sweet, I'll give this container a try. Though I have some local changes (specifically in the css and views) that might make it harder for me to use a container.iconnor wrote: ↑Thu Jan 26, 2023 1:18 pm For docker, try https://github.com/zoneminder-container ... inder-base
- Thu Jan 26, 2023 9:55 pm
- Forum: ZoneMinder 1.36.x
- Topic: 1.36.32 random logout and stream scaling issues
- Replies: 34
- Views: 2291
Re: 1.36.32 random logout and stream scaling issues
No, it's fine to scale the timestamp as it is, I don't really care. I was just used to how it was before where when it scaled the timestamp got huge and that's how I knew scaling was working or not. I simply never checked that the scaled stream was indeed smaller and lower bitrate.