Question on video card with 4 inputs

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
tnats
Posts: 15
Joined: Fri Jun 01, 2007 4:45 pm

Question on video card with 4 inputs

Post by tnats »

This software is great. I have a video capture card with 4 inputs. If I plug the first camera into port 0, it works great. But, when I add an additional camera to port #1, I get no picture. I tried for 2 and 3 with no luck. Any of how I can add more cameras? Thanks.

Video Capabilities
Name: BT878 video ( *** UNKNOWN/GENER
Type: 171
Can capture
Can tune
Overlay onto frame buffer
Can clip
Scalable
Video Channels: 4
Audio Channels: 1
Maximum Width: 768
Maximum Height: 480
Minimum Width: 48
Minimum Height: 32
Window Attributes
X Offset: 0
Y Offset: 0
Width: 320
Height: 240
Picture Attributes
Palette: 4 - 24bit RGB
Colour Depth: 24
Brightness: 32768
Hue: 32768
Colour :32768
Contrast: 32768
Whiteness: 0
Channel 0 Attributes
Name: Television
Channel: 0
Flags: 3
Channel has a tuner
Channel has audio
Type: 1 - TV
Format: 1 - NTSC
Channel 1 Attributes
Name: Composite1
Channel: 1
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Channel 2 Attributes
Name: S-Video
Channel: 2
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
Channel 3 Attributes
Name: Composite3
Channel: 3
Flags: 2
Channel has audio
Type: 2 - Camera
Format: 1 - NTSC
User avatar
Lee Sharp
Posts: 1069
Joined: Sat Mar 31, 2007 9:18 pm
Location: Houston, TX

Post by Lee Sharp »

cd to /dev and type 'ls vi*' and tell us what you see. If you have /dev/video0 to /dev/video4 you do it one way. If you only have /dev/video0 you do it another way. Depending on the card, you may also need a modprobe line.
boycho
Posts: 6
Joined: Mon May 28, 2007 9:22 pm

Post by boycho »

input=0, input=1,input=2,input=3

or Device Channel 0(1,2,3) for ZM
tnats
Posts: 15
Joined: Fri Jun 01, 2007 4:45 pm

Post by tnats »

root@cctv:/dev# ls -l vid*
crw-rw-rw- 1 root video 81, 0 2007-06-01 10:26 video0


Sorry Boycho, I don't understand what you are saying there. Is it a setting in the GUI?
boycho
Posts: 6
Joined: Mon May 28, 2007 9:22 pm

Post by boycho »

FOR ZM
Tab Source:
for cam 1 - Device Path /dev/video0
Device Channel 0

for cam 2 - Device Path /dev/video0
Device Channel 1

for cam 3 - Device Path /dev/video0
Device Channel 2

for cam 4 - Device Path /dev/video0
Device Channel 3

FOR Mplayer
-tv device=/dev/video0:input=(0 , or 1 , or 2 , or 3)
tnats
Posts: 15
Joined: Fri Jun 01, 2007 4:45 pm

Post by tnats »

Oops, I had /dev/video instead of /dev/video0 for the 2nd camera. Works great now!

Thanks for your help.
-Tom
Post Reply