Page 1 of 1
Cameras open in VLC but can't set ZM source path
Posted: Fri Nov 18, 2011 10:45 am
by bp5
This should be an easy one, I think I've just forgotten how video device naming works in ZM. I'm running Mythbuntu 11.10 with a DVB card that has composite input, a trusty old pico2000 4-port card and a USB EasyCap dongle. I can open each quite easily in VLC by opening capture devices /dev/video0 or /dev/video1 or /dev/video2 respectively.
But if I create a new monitor in ZM 1.24.4 (standard repo install) and set the source device path and channel to any of these (with format PAL, caputure palette RGB24, width x height 352 x 200):
/dev/video (tried channels 0 through 3)
/dev/video0 (tried channels 0 through 3)
/dev/video1 (tried channels 0 through 3)
/dev/video2 (tried channels 0 through 3)
I get a black screen and the source is red in the monitors list.
Please put me out of my misery and tell me what I have forgotten!
cheers,
Blaine
Re: Cameras open in VLC but can't set ZM source path
Posted: Sat Nov 19, 2011 12:31 am
by bb99
Try BGR24 instead. Changed from earlier releases where RGB24 was the standard.
Re: Cameras open in VLC but can't set ZM source path
Posted: Sat Nov 19, 2011 5:41 pm
by bp5
Thanks, that was it--all the guides I saw said RGB24, so I was stumped. Thanks for taking the time to answer.
Blaine
Re: Cameras open in VLC but can't set ZM source path
Posted: Sat Nov 19, 2011 9:46 pm
by bb99
Mastertheknife has a post with the explanation (old one). About 1.24.X it changed from RGB to BGR.
Re: Cameras open in VLC but can't set ZM source path
Posted: Sun Nov 20, 2011 4:00 am
by mastertheknife
bb99 wrote:Mastertheknife has a post with the explanation (old one). About 1.24.X it changed from RGB to BGR.
It wasn't changed. Its simply the bt878 chip doesn't support RGB24 on little-endian machines.
In V4L1 mode, RGB24 is actually BGR24 on little-endian machines, so we were still using the BGR24 capture palette back then before V4L2 came in.
The is no problem with the BGR24 format, except that it requires a format conversion to RGB24 because zoneminder only supports greyscale and RGB24 (just like standard libjpeg)
mastertheknife
Re: Cameras open in VLC but can't set ZM source path
Posted: Tue Jan 31, 2012 11:00 pm
by ooseven
bp5 wrote:This should be an easy one, I think I've just forgotten how video device naming works in ZM. I'm running Mythbuntu 11.10 with a DVB card that has composite input, a trusty old pico2000 4-port card and a USB EasyCap dongle. I can open each quite easily in VLC by opening capture devices /dev/video0 or /dev/video1 or /dev/video2 respectively.
But if I create a new monitor in ZM 1.24.4 (standard repo install) and set the source device path and channel to any of these (with format PAL, caputure palette RGB24, width x height 352 x 200):
/dev/video (tried channels 0 through 3)
/dev/video0 (tried channels 0 through 3)
/dev/video1 (tried channels 0 through 3)
/dev/video2 (tried channels 0 through 3)
I get a black screen and the source is red in the monitors list.
Please put me out of my misery and tell me what I have forgotten!
cheers,
Blaine
Hello, I have the same problem. But this is not working. Can you give me
in detail how you have it all set up.
From the start go.
Monitor-1 is blue
Modect ys green
/dev/video (0) is red.
Please help if you can...
Thank You
ooseven
I run ubuntu 10.10 32 bit
Re: Cameras open in VLC but can't set ZM source path
Posted: Wed Feb 01, 2012 6:30 am
by ooseven
ooseven wrote:bp5 wrote:This should be an easy one, I think I've just forgotten how video device naming works in ZM. I'm running Mythbuntu 11.10 with a DVB card that has composite input, a trusty old pico2000 4-port card and a USB EasyCap dongle. I can open each quite easily in VLC by opening capture devices /dev/video0 or /dev/video1 or /dev/video2 respectively.
But if I create a new monitor in ZM 1.24.4 (standard repo install) and set the source device path and channel to any of these (with format PAL, caputure palette RGB24, width x height 352 x 200):
/dev/video (tried channels 0 through 3)
/dev/video0 (tried channels 0 through 3)
/dev/video1 (tried channels 0 through 3)
/dev/video2 (tried channels 0 through 3)
I get a black screen and the source is red in the monitors list.
Please put me out of my misery and tell me what I have forgotten!
cheers,
Blaine
Hello, I have the same problem. But this is not working. Can you give me
in detail how you have it all set up.
From the start go.
Monitor-1 is blue
Modect ys green
/dev/video (0) is red.
Please help if you can...
Thank You
ooseven
I run ubuntu 10.10 32 bit
I now have Ubuntu 10.04 installed.