realproducer and v4l2 - multiple device opens aswell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



situation

lsmod

Module                  Size  Used by
v4l_compat              7920   0  (autoclean) (unused)
bttv2                  84864   0
videodevX              14384   2  [v4l_compat bttv2]
input                   3392   0  [mousedev usbmouse]
usb-uhci               21056   0  (unused)
tuner                   4608   0  (autoclean) (unused)
tvaudio                 8432   0  (autoclean) (unused)
i2c-algo-bit            7200   0  [bttv2]
i2c-core               13264   0  [bttv2 tuner tvaudio i2c-algo-bit]

realproducer would report (thanks to v4lcompat i guess):

Plugin 4: V4L1 Video capture plug-in (/dev/video0) (vendor=RealNetworks,
Inc.)
    Port 4:0 -- Tuner
    Port 4:1 -- Composite 0
    Port 4:2 -- Svideo

but trying to  run it, it would instead report (nothing using the device)

VIDIOCMCAPTURE: Device or resource busy
ERROR: Encoding failed

it would obviously work after a rmmod bttv2, rmmod videodevX, modprobe bttv,
but
I think this "Device busy" should not happen, as per the backward
compatibility v4l2 has been projected.
faulty app or faulty driver (or faulty bttv2 (but i guess not)) ?

And just a question more, shouldn-t v4l2 support multiple opens ? or is it
just something which requires
the application to be v4l2-aware ?

Why am i asking this ? just because i need to capture and stream video (with
this command-line only realproducer thing), 
while seeing it while i am capturing it. I know this is not the most
appropriate list but has anyone any suggestion ?

thanks all

Michele Slocovich








[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux