Jumping video (ZM 1.25.0)

Forum for questions and support relating to the 1.25.x releases only.
badger_fruit
Posts: 24
Joined: Wed Apr 18, 2012 3:49 pm

Re: Jumping video (ZM 1.25.0)

Post by badger_fruit »

bb99, thank you again for the prompt reply.

I have configured my options as per your instruction and doubled the amount of physical memory on the machine from 1GB to 2GB.
I can see an immediate improvement in the picture quality of my cameras but alas, I am still not getting colour images :(
Changing the palette to anything other than GREY results in no image, rather than a black screen and all the monitors in the console view go from green to red (they're in Modect mode by the way).
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Jumping video (ZM 1.25.0)

Post by bb99 »

I just re-read the entire post and only one thing comes to mind: change all your monitors to BGR24 and reboot the machine. They will all go red, as you are discribing, as you change them but don't be concerned (please double check that all other monitor settings, especially resolution, are exactly the same) then reboot. Please post back.
badger_fruit
Posts: 24
Joined: Wed Apr 18, 2012 3:49 pm

Re: Jumping video (ZM 1.25.0)

Post by badger_fruit »

bb99 wrote:I just re-read the entire post and only one thing comes to mind: change all your monitors to BGR24 and reboot the machine. They will all go red, as you are discribing, as you change them but don't be concerned (please double check that all other monitor settings, especially resolution, are exactly the same) then reboot. Please post back.
bb99
Once again, many thanks for your assistance but after following your instruction, I have set ALL FOUR monitors to BGR24, checked the rest of the settings are the same and not worried about the monitor status going from GREEN to RED. I rebooted the machine but unfortunately, they're all still showing in RED.

:(
Attachments
Console view
Console view
16-05-2012 09-30-36.png (18.16 KiB) Viewed 3099 times
Montage view after bb99's suggested changes
Montage view after bb99's suggested changes
16-05-2012 09-28-12.png (29.1 KiB) Viewed 3099 times
User avatar
knight-of-ni
Posts: 2406
Joined: Thu Oct 18, 2007 1:55 pm
Location: Shiloh, IL

Re: Jumping video (ZM 1.25.0)

Post by knight-of-ni »

Something else I noticed is that your capture method is set to "Video for Linux version 2".
I am using Video for Linux version 1 on the remote system I'm running. Version 2 didn't work.

Also, have you looked at your log files for any clues?
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
badger_fruit
Posts: 24
Joined: Wed Apr 18, 2012 3:49 pm

Re: Jumping video (ZM 1.25.0)

Post by badger_fruit »

knnniggett wrote:Something else I noticed is that your capture method is set to "Video for Linux version 2".
I am using Video for Linux version 1 on the remote system I'm running. Version 2 didn't work.

Also, have you looked at your log files for any clues?
For some reason, I only have V4L Version 2 as an option; it was installed from the Suse One-Click-Install as per the Wiki --> http://www.zoneminder.com/wiki/index.ph ... s_for_SuSE

With regards to the logs, I can see lots of
2012-05-16 12:20:41.979938 web_php 12582 ERR socket_sendto( /var/run/zm/zms-404888s.sock ) failed: Connection refused zm/includes/functions.php 2322
2012-05-16 12:20:41.857462 web_php 12558 ERR socket_sendto( /var/run/zm/zms-005196s.sock ) failed: Connection refused zm/includes/functions.php 2322
2012-05-16 12:20:41.737892 web_php 12562 ERR socket_sendto( /var/run/zm/zms-749043s.sock ) failed: Connection refused zm/includes/functions.php 2322
2012-05-16 12:20:41.022376 web_php 12562 ERR socket_sendto( /var/run/zm/zms-896646s.sock ) failed: Connection refused zm/includes/functions.php 2322
But wouldn't expect that to only allow Greyscale.

Here's a listing of that folder for what it's worth:-
/var/run/zm # ls -l
total 4
-rw-r--r-- 1 wwwrun www 4 May 16 09:22 zm.pid
srwxr-xr-x 1 wwwrun www 0 May 16 09:22 zmdc.sock
srwxr-xr-x 1 wwwrun www 0 May 16 10:25 zms-005196s.sock
srwxr-xr-x 1 wwwrun www 0 May 16 13:21 zms-108889s.sock
srwxr-xr-x 1 wwwrun www 0 May 16 13:23 zms-108889w.sock
srwxr-xr-x 1 wwwrun www 0 May 16 10:25 zms-404888s.sock
srwxr-xr-x 1 wwwrun www 0 May 16 10:25 zms-749043s.sock
srwxr-xr-x 1 wwwrun www 0 May 16 13:21 zms-867303s.sock
srwxr-xr-x 1 wwwrun www 0 May 16 10:25 zms-896646s.sock
I have re-read the documentation that came with the card and it does say to use V4L Version 1 ... is there a "how to" I can be pointed to to install V4L v1 on OpenSuSE 12.1?

EDIT: I have stopped the ZM service and deleted these *.sock files and checked the permission to the folder was writable by the www group; now it is, I am no longer getting those messages!
wayneirw1
Posts: 2
Joined: Fri Mar 25, 2011 5:13 am

Re: Jumping video (ZM 1.25.0)

Post by wayneirw1 »

you said you had a 4 port 4 chip card. you have /dev/video0 then channel 0 1 2 3. it should be video0, video1, video2, video3 all channel 0, try that.
badger_fruit
Posts: 24
Joined: Wed Apr 18, 2012 3:49 pm

Re: Jumping video (ZM 1.25.0)

Post by badger_fruit »

wayneirw1 wrote:you said you had a 4 port 4 chip card. you have /dev/video0 then channel 0 1 2 3. it should be video0, video1, video2, video3 all channel 0, try that.
Thank you for the suggestion but the documentation gets quite in-depth on this particular subject; I won't quote it here as it's already linked to in a post above but needless to say, the device works with /dev/video0 and channel 0, 1, 2 and 3, you can add on modules to expand the card which then use video1 etc but we're not using it in that configuration.

I am going to try to remove the "chroma" bit from the modprobe configuration, reboot and then re-try changing the palette to BGR24 ... after all, I've nothing to lose at the moment as the system isn't live yet ... watch this space ...
Attachments
Example montage
Example montage
17-05-2012 08-32-33.png (149.46 KiB) Viewed 3088 times
Locked