View unanswered posts | View active topics It is currently Mon May 20, 2013 4:21 am



Reply to topic  [ 7 posts ] 
Cameras open in VLC but can't set ZM source path 
Author Message

Joined: Fri Nov 18, 2011 11:17 am
Posts: 2
Post Cameras open in VLC but can't set ZM source path
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


Fri Nov 18, 2011 11:45 am
Profile

Joined: Wed Apr 02, 2008 1:04 am
Posts: 833
Post Re: Cameras open in VLC but can't set ZM source path
Try BGR24 instead. Changed from earlier releases where RGB24 was the standard.


Sat Nov 19, 2011 1:31 am
Profile

Joined: Fri Nov 18, 2011 11:17 am
Posts: 2
Post Re: Cameras open in VLC but can't set ZM source path
Thanks, that was it--all the guides I saw said RGB24, so I was stumped. Thanks for taking the time to answer.

Blaine


Sat Nov 19, 2011 6:41 pm
Profile

Joined: Wed Apr 02, 2008 1:04 am
Posts: 833
Post Re: Cameras open in VLC but can't set ZM source path
Mastertheknife has a post with the explanation (old one). About 1.24.X it changed from RGB to BGR.


Sat Nov 19, 2011 10:46 pm
Profile

Joined: Wed Dec 16, 2009 5:32 pm
Posts: 553
Location: Israel
Post Re: Cameras open in VLC but can't set ZM source path
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.


Sun Nov 20, 2011 5:00 am
Profile

Joined: Thu Jan 26, 2012 7:57 am
Posts: 9
Post Re: Cameras open in VLC but can't set ZM source path
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


Wed Feb 01, 2012 12:00 am
Profile

Joined: Thu Jan 26, 2012 7:57 am
Posts: 9
Post Re: Cameras open in VLC but can't set ZM source path
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.


Wed Feb 01, 2012 7:30 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group