| Author |
Message |
|
bp5
Joined: Fri Nov 18, 2011 11:17 am Posts: 2
|
 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 |
|
|
|
 |
|
bb99
Joined: Wed Apr 02, 2008 1:04 am Posts: 831
|
 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 |
|
 |
|
bp5
Joined: Fri Nov 18, 2011 11:17 am Posts: 2
|
 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 |
|
 |
|
bb99
Joined: Wed Apr 02, 2008 1:04 am Posts: 831
|
 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 |
|
 |
|
mastertheknife
Joined: Wed Dec 16, 2009 5:32 pm Posts: 553 Location: Israel
|
 Re: Cameras open in VLC but can't set ZM source path
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 |
|
 |
|
ooseven
Joined: Thu Jan 26, 2012 7:57 am Posts: 9
|
 Re: Cameras open in VLC but can't set ZM source path
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 |
|
 |
|
ooseven
Joined: Thu Jan 26, 2012 7:57 am Posts: 9
|
 Re: Cameras open in VLC but can't set ZM source path
 |  |  |  | ooseven wrote: 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 |
|
|