LINUX.ORG.RU

Не работает камера в некоторых приложениях


0

1

сабж

$ lsusb 
Bus 005 Device 002: ID 046d:092f Logitech, Inc. QuickCam Express Plus

В vlc работает:

...
(process:25095): Gtk-WARNING **: Locale not supported by C library.
	Using the fallback 'C' locale.
Blocked: call to setlocale(6, "")
Warning: call to rand()
Warning: call to rand()
Warning: call to rand()
[0x1655e70] signals interface error: signal 17 overriden (0x7fab7b5cf450)
[0x1655e70] signals interface error:  /usr/lib/libQtCore.so.4(?)[(nil)]
[0x1655e70] signals interface error: signal 17 overriden (0x7fab7b5cf450)
[0x1655e70] signals interface error:  /usr/lib/libQtCore.so.4(?)[(nil)]

В Cheese тоже пашет великолепно. Раньше работала в скайп когда был запущен Cheese. Сейчас и так не работает. Даже не включается (не горит светодиод). Браузеры (т.е. flash) так же не могут получить доступ к камере.

В mplayer не работает так:

$ mplayer tv:// -tv device=/dev/video0
mplayer: Symbol `ff_codec_bmp_tags' has different size in shared object, consider re-linking
MPlayer 1.0rc4-4.5.2 (C) 2000-2010 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing tv://.
TV file format detected.
Selected driver: v4l2
 name: Video 4 Linux 2 input
 author: Martin Olschewski <olschewski@zpr.uni-koeln.de>
 comment: first try, more to come ;-)
v4l2: your device driver does not support VIDIOC_G_STD ioctl, VIDIOC_G_PARM was used instead.
Selected device: Camera
 Capabilites:  video capture  read/write  streaming
 supported norms:
 inputs: 0 = spca561;
 Current input: 0
 Current format: unknown (0x31363553)
tv.c: norm_from_string(pal): Bogus norm parameter, setting default.
v4l2: ioctl enum norm failed: Invalid argument
Error: Cannot set norm!
Selected input hasn't got a tuner!
v4l2: Cannot get fps
v4l2: ioctl set mute failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
v4l2: ioctl query control failed: Invalid argument
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo 5.
[VO_3DFX] Unable to open /dev/3dfx.
==========================================================================
Cannot find codec matching selected -vo and video format 0x31363553.
==========================================================================

v4l2: ioctl set mute failed: Invalid argument
v4l2: 3 frames successfully processed, 0 frames dropped.

Exiting... (End of file)

Решение для скайп нашлось:

bash -c 'LD_PRELOAD=/usr/lib32/libv4l/v4l2convert.so skype'
Не учел я 64-битность системы.

Но браузерам это не помогает...

Suntechnic ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.