Cameras open in VLC but can't set ZM source path

Forum for questions and support relating to the 1.24.x releases only.
Locked
bp5
Posts: 2
Joined: Fri Nov 18, 2011 10:17 am

Cameras open in VLC but can't set ZM source path

Post 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
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Cameras open in VLC but can't set ZM source path

Post by bb99 »

Try BGR24 instead. Changed from earlier releases where RGB24 was the standard.
bp5
Posts: 2
Joined: Fri Nov 18, 2011 10:17 am

Re: Cameras open in VLC but can't set ZM source path

Post 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
bb99
Posts: 943
Joined: Wed Apr 02, 2008 12:04 am

Re: Cameras open in VLC but can't set ZM source path

Post by bb99 »

Mastertheknife has a post with the explanation (old one). About 1.24.X it changed from RGB to BGR.
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: Cameras open in VLC but can't set ZM source path

Post 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
Kfir Itzhak.
ooseven
Posts: 9
Joined: Thu Jan 26, 2012 6:57 am

Re: Cameras open in VLC but can't set ZM source path

Post 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
ooseven
Posts: 9
Joined: Thu Jan 26, 2012 6:57 am

Re: Cameras open in VLC but can't set ZM source path

Post 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.
Locked