Same video on multiple /dev/video monitors

Forum for questions and support relating to the 1.24.x releases only.
Locked
the_crowbar
Posts: 22
Joined: Fri May 11, 2007 7:13 pm

Same video on multiple /dev/video monitors

Post by the_crowbar »

The short question: When setting up monitors my video feed is shown for each of the /dev/video0(0,1,2,3) devices. The same video appears as if the camera output is split and sent to each input.

Details:
I have a Ubuntu server 8.04 LTS system that has self compiled ffmpeg 0.5 and ZM 1.24.1. It is AMD64 if it matters. I have a ProVideo PV155 16 port card and a EureSys 16 port card. Here is part of the dmesg log from the first two /dev/video devices:

Code: Select all

[  125.690117] bttv: driver version 0.9.17 loaded
[  125.690122] bttv: using 8 buffers with 2080k (520 pages) each for capture
[  125.690195] bttv: Bt8xx card found (0).
[  125.690246] bttv0: Bt878 (rev 17) at 0000:12:08.0, irq: 160, latency: 32, mmio: 0xd81ff000
[  125.690322] bttv0: detected: Provideo PV150A-1 [card=98], PCI subsystem ID is aa00:1460
[  125.690324] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[  125.690357] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  125.690726] bttv0: tuner absent
[  125.690754] bttv0: registered device video0
[  125.690775] bttv0: registered device vbi0
[  125.690798] bttv0: PLL: 28636363 => 35468950 ..<6>udev: renamed network interface eth0 to eth1
[  125.721762] bttv: Bt8xx card found (1).
[  125.721801] bttv1: Bt878 (rev 17) at 0000:12:09.0, irq: 161, latency: 32, mmio: 0xd81fd000
[  125.721813] bttv1: detected: Provideo PV150A-2 [card=98], PCI subsystem ID is aa01:1461
[  125.721815] bttv1: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[  125.721843] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  125.722210] bttv1: tuner absent
[  125.722237] bttv1: registered device video1
[  125.722258] bttv1: registered device vbi1
[  125.722279] bttv1: PLL: 28636363 => 35468950 .. ok
I have ZM working. I can setup several monitors and view the video feeds. The problem comes in when I try setting up monitors for each input of each /dev/video device. I setup /dev/video0(0) then /dev/video0(1) and /dev/video0(3). I then try to view the monitors and each one appears to have the same video feed on it.

I have tried removing all monitors and recreating them. I got the first two inputs setup and they showed the correct video. When I added the /dev/video0(2) monitor then all three showed the same video.

Any ideas?

Thanks,
the_crowbar
User avatar
mmi
Posts: 111
Joined: Wed Jun 27, 2007 12:54 am

Post by mmi »

go to: Option\Config find CAPTURES_PER_FRAME

increase CAPTURES_PER_FRAME to 2 instead of 1
the_crowbar
Posts: 22
Joined: Fri May 11, 2007 7:13 pm

Post by the_crowbar »

Thanks! That seems to fix that problem.
Locked