On 20/02/10 12:47, Moritz Muehlenhoff wrote:
Hi Moritz,tags 535278 moreinfo thanks On Thu, Jul 02, 2009 at 12:04:16PM +0200, Javier Barroso wrote: I don't be able to open two vlc with one video device in each. vlc is not crashing any more, and I can't see any oops from kernel Currently : $ vlc v4l2:///dev/video0 # video is showed and close vlc -> OK $ vlc v4l2:///dev/video1 # video is showed and close vlc -> OK $ vlc v4l2:///dev/video1 & vlc v4l2:///dev/video0 [1] 19834 VLC media player 1.0.5 Goldeneye VLC media player 1.0.5 Goldeneye [0x82e18a8] main libvlc: Ejecutar vlc con el interfaz por defecto. Usa 'cvlc' para usar vlc sin interfaz. [0x8bea8a8] main libvlc: Ejecutar vlc con el interfaz por defecto. Usa 'cvlc' para usar vlc sin interfaz. swScaler: Palette is not supported as output pixel format [0x8e89e10] swscale scale error: could not init SwScaler and/or allocate memory QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 QPainter::begin: Paint device returned engine == 0, type: 1 libv4l2: error turning on stream: Error de entrada/salida [0x8554c20] v4l2 demux error: VIDIOC_STREAMON failed libv4l2: warning v4l2 mmap buffers still mapped on close() [0x8421880] v4l2 access error: VIDIOC_STREAMON failed [0x8421880] v4l2 access error: device does not support mmap i/o [0xb6c005c8] main input error: open of `v4l2:///dev/video0' failed: (null) So I can't launch both instances from vlc, but if I open vlc I can chose both devices from "Open devices" dialog Can vlc compose both cameras like a single film ? Another try, playing with cheese: $ cheese # -> /dev/video0 OK (don't close) $ vlc v4l2:///dev/video1 VLC media player 1.0.5 Goldeneye [0x91138a8] main libvlc: Ejecutar vlc con el interfaz por defecto. Usa 'cvlc' para usar vlc sin interfaz. libv4l2: error turning on stream: Error de entrada/salida [0x91dbbe0] v4l2 demux error: VIDIOC_STREAMON failed libv4l2: warning v4l2 mmap buffers still mapped on close() [0x93775f0] v4l2 access error: VIDIOC_STREAMON failed [0x93775f0] v4l2 access error: device does not support mmap i/o [0xb6f0a910] main input error: open of `v4l2:///dev/video1' failed: (null) And a window dialog with : " Your input can't be opened: VLC is unable to open the MRL 'v4l2:///dev/video1'. Check the log for details. Where is the log ? This is a kernel fail then? I can't probe two cheese instances, because it seems like it implements singleton (perhaps I should to try with two different users, but I think cheese is getting both cameras) I think this should be reassigned to vlc, but I'm not sure Thank you very much PD: dmesg tell me about some errors: [52175.655014] cheese[17950]: segfault at 0 ip (null) sp b298bfcc error 4 in cheese[8048000+25000] [52429.785816] gspca: usb_submit_urb alt 1 err -28 [52429.808712] gspca: no transfer endpoint found [52429.812897] gspca: usb_submit_urb alt 1 err -28 [52429.836031] gspca: no transfer endpoint found [55933.248033] gspca: usb_submit_urb alt 8 err -28 [55933.388600] gspca: usb_submit_urb alt 7 err -28 [55933.528603] gspca: usb_submit_urb alt 6 err -28 [55933.668605] gspca: usb_submit_urb alt 5 err -28 [55933.808607] gspca: usb_submit_urb alt 4 err -28 [55933.948614] gspca: usb_submit_urb alt 3 err -28 [55934.088609] gspca: usb_submit_urb alt 2 err -28 [55934.228613] gspca: usb_submit_urb alt 1 err -28 [55934.252017] gspca: no transfer endpoint found [55934.372617] gspca: usb_submit_urb alt 8 err -28 [55934.512619] gspca: usb_submit_urb alt 7 err -28 [55934.652627] gspca: usb_submit_urb alt 6 err -28 [55934.792626] gspca: usb_submit_urb alt 5 err -28 [55934.932624] gspca: usb_submit_urb alt 4 err -28 [55935.072626] gspca: usb_submit_urb alt 3 err -28 [55935.212626] gspca: usb_submit_urb alt 2 err -28 [55935.352633] gspca: usb_submit_urb alt 1 err -28 [55935.376015] gspca: no transfer endpoint found [56129.259686] gspca: usb_submit_urb alt 1 err -28 [56129.280561] gspca: no transfer endpoint found [56129.287693] gspca: usb_submit_urb alt 1 err -28 [56129.308539] gspca: no transfer endpoint found [56205.341893] gspca: usb_submit_urb alt 1 err -28 [56205.364523] gspca: no transfer endpoint found [56205.368895] gspca: usb_submit_urb alt 1 err -28 [56205.392521] gspca: no transfer endpoint found |