4 port video capture card using the bttv module - use Composite0-3 at once
I am trying to use my own software that I have created in Adobe Flash to work capture cards to create a flash video surveillance system. This means I need the functionality of Linux to interact with these video cards (norm, tuner, composite etc...) instead of using xawtv.
This is my seutup:
Linux kubuntu kernel 2.6
pci 4 port generic video capture card. it has one conexant chip and works with the bttv mod
When I do a dmesg | grep it outputs:
[58.069712] bttv: driver version 0.9.16 loaded
[58.069724] bttv: using 8 buffers with 2080k (520 pages) each for capture
[58.069732] bttv: Host bridge needs ETBF enabled.
[58.069846] bttv: Bt8xx card found (0).
[58.069950] bttv0: Bt878 (rev 17) at 0000:00:10.0, irq: 9, latency: 132, mmio: 0xf0005000
[58.069978] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[58.069997] bttv0: enabling ETBF (430FX/VP3 compatibilty)
[58.070037] bttv0: gpio: en=00000000, out=00000000 in=00f36fff [init]
[65.427986] bttv0: using tuner=-1
[65.428001] bttv0: i2c: checking for TDA9875 @ 0xb0... <6>NET: Registered protocol family 10
[71.858946] bttv0: i2c: checking for TDA7432 @ 0x8a... <7>eth0: no IPv6 routers present
[78.257237] bttv0: i2c: checking for TDA9887 @ 0x86... not found
[84.656088] bttv0: registered device video0
[84.656460] bttv0: registered device vbi0
Looking at other peoples setups I see that they have a bttv1, bttv2 etc which I believe represents capture cards or a capture card with multiple chips. In my /dev/ i only have video0, this is because the card I have only has one chip but four ports.
With the bttv mod:
modprobe bttv card=77 pll=1 no_overlay=1
v4lctl norm NTSC
I then open up my flash software and select the card 77 that shows up as a camera option and I have video capture composite0. I can change the composite input with this command
v4lctl setinput composte1
This works great but I still only have one input.
So how can I get all four inputs to work at once?