video4linux with two video devices
Hi. I have installed a Connectix parallel port color camera, and a TV digitizer (TV card, Bt878 chip). Playing with the modules I can execute programs as 'kwintv' and 'xawtv' using one or the other device, but I'd like to choose the device in a more elegant way. This can't be done in 'kwintv' and 'xawtv': there is no option within these programs for choosing the video device, as happens in Windows programs (you can choose device). How can I choose the video device programs as 'kwintv' and 'xawtv' will use, if there is more than one? I have also an analog Phillips camera attached to the digitizer. In 'kwintv' and 'xawtv' I have never seen its image (again, I can see it in Windows programs). What am I missing? *********************************** Webillo Disperso, el webmaster del Universo AutoWebadas http://automodelismo.com
On Wed, 14 Feb 2001, Webillo Disperso wrote: <*]Hi. <*] <*]I have installed a Connectix parallel port color camera, and a TV digitizer <*](TV card, Bt878 chip). Playing with the modules I can execute programs as <*]'kwintv' and 'xawtv' using one or the other device, but I'd like to choose <*]the device in a more elegant way. This can't be done in 'kwintv' and <*]'xawtv': there is no option within these programs for choosing the video <*]device, as happens in Windows programs (you can choose device). <*] <*]How can I choose the video device programs as 'kwintv' and 'xawtv' will use, <*]if there is more than one? Wibello, I have a similar setup here: Bt878 TV-tuner and USB Webcam. Both need a video device. The USB webcam is activated by loading the "ov511" module. By default, insmod ov511 will try to use /dev/video. On the other side, you can specify a video device to use with XawTV with the "-c" flag: xawtv -c /dev/videoX So I "symlinked" /dev/video to /dev/video1. The webcam always uses /dev/video --> /dev/video1, which is a valid video device, and I created an alias for xawtv=xawtv -c /dev/video0. lrwxrwxrwx 1 root root 6 Aug 11 2000 video -> video1 crw-rw-rw- 1 root root 81, 0 Aug 8 2000 video0 crw-rw-rw- 1 root root 81, 1 Aug 8 2000 video1 This way, both pieces of hardware have their own video device, and they both can be used at the same time, without any problem. I don't have to choose a video device each and every time I want to use them... Hope this helps... /nb ________________ Nicolas Beaulieu http://patagonia.dyndns.org Teamwork is essential: it allows you to blame someone else. _________________
Hi.
Thanks for the info, which clarified things a lot.
Aditionally, I've seen that the first module loaded attaches to /dev/video0,
the second to /dev/video1, etc. So loading first 'bttv' and second 'c-qcam',
'xawtv -c /dev/video0' will use the TV card, and 'xawtv -c /dev/video1' will
use the QuickCam. Both can be at the screen at the same time.
However, I yet see some lack of flexibility. 'kwintv' is not so flexible.
With the QuickCam video is seen at 320x240, and I haven't seen how to change
it, since video is very slow (on a PII350 overclocked to 3.5x112, with S3
Savage).
***********************************
Webillo Disperso, el webmaster del Universo
AutoWebadas http://automodelismo.com
----- Mensaje original -----
De: "Nicolas Beaulieu"
On Wed, 14 Feb 2001, Webillo Disperso wrote:
<*]Hi. <*] <*]I have installed a Connectix parallel port color camera, and a TV digitizer <*](TV card, Bt878 chip). Playing with the modules I can execute programs as <*]'kwintv' and 'xawtv' using one or the other device, but I'd like to choose <*]the device in a more elegant way. This can't be done in 'kwintv' and <*]'xawtv': there is no option within these programs for choosing the video <*]device, as happens in Windows programs (you can choose device). <*] <*]How can I choose the video device programs as 'kwintv' and 'xawtv' will use, <*]if there is more than one?
Wibello,
I have a similar setup here: Bt878 TV-tuner and USB Webcam. Both need a video device. The USB webcam is activated by loading the "ov511" module. By default, insmod ov511 will try to use /dev/video. On the other side, you can specify a video device to use with XawTV with the "-c" flag: xawtv -c /dev/videoX
So I "symlinked" /dev/video to /dev/video1. The webcam always uses /dev/video --> /dev/video1, which is a valid video device, and I created an alias for xawtv=xawtv -c /dev/video0.
lrwxrwxrwx 1 root root 6 Aug 11 2000 video -> video1 crw-rw-rw- 1 root root 81, 0 Aug 8 2000 video0 crw-rw-rw- 1 root root 81, 1 Aug 8 2000 video1
This way, both pieces of hardware have their own video device, and they both can be used at the same time, without any problem. I don't have to choose a video device each and every time I want to use them...
Hope this helps...
/nb ________________ Nicolas Beaulieu http://patagonia.dyndns.org
participants (2)
-
Nicolas Beaulieu
-
Webillo Disperso