Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Multimédia => Téma založeno: compaq 14 Dubna 2020, 13:43:06
-
webka
genius usb camera videocam eye
(https://us.geniusnet.com/assets/img/productline/oldsupport/camera/VideoCAM%20EYE.png)
jede ihned po připojení v
guvcview bez problémů
ve VLC bez problémů /dev/video0
nezobrazí se v Cheese (Nenalezeno zařízení, černo)
nezobrazí obraz v Skype (najde USB camera, ale obraz nikde, černo)
lsusb:
Bus 007 Device 003: ID 0c45:6007 Microdia VideoCAM Eye
Ubuntu 18.04 budgie
Díky za rady a tipy.
-
Co te vedlo ke koupi?
-
Co te vedlo ke koupi?
cena :-)
-
Mal by si doinštalovať v4l2ucp /universal control panel/ a popozerať sa, či netreba niečo prestaviť. V4linux má niekedy konflikt s použitím /dev/video0 a potrebuje prestaviť na dev/video1 a pod.
-
...a potrebuje prestaviť na dev/video1 a pod.
prosím kde?
-
v4l2-ctl
General/Common options:
--all display all information available
-C, --get-ctrl=<ctrl>[,<ctrl>...]
get the value of the controls [VIDIOC_G_EXT_CTRLS]
-c, --set-ctrl=<ctrl>=<val>[,<ctrl>=<val>...]
set the value of the controls [VIDIOC_S_EXT_CTRLS]
-D, --info show driver info [VIDIOC_QUERYCAP]
-d, --device=<dev> use device <dev> instead of /dev/video0
if <dev> starts with a digit, then /dev/video<dev> is used
-e, --out-device=<dev> use device <dev> for output streams instead of the
default device as set with --device
if <dev> starts with a digit, then /dev/video<dev> is used
-h, --help display this help message
--help-all all options
--help-io input/output options
--help-misc miscellaneous options
--help-overlay overlay format options
--help-sdr SDR format options
--help-selection crop/selection options
--help-stds standards and other video timings options
--help-streaming streaming options
--help-tuner tuner/modulator options
--help-vbi VBI format options
--help-vidcap video capture format options
--help-vidout vidout output format options
--help-edid edid handling options
-k, --concise be more concise if possible.
-l, --list-ctrls display all controls and their values [VIDIOC_QUERYCTRL]
-L, --list-ctrls-menus
display all controls and their menus [VIDIOC_QUERYMENU]
-r, --subset=<ctrl>[,<offset>,<size>]+
the subset of the N-dimensional array to get/set for control <ctrl>,
for every dimension an (<offset>, <size>) tuple is given.
-w, --wrapper use the libv4l2 wrapper library.
--list-devices list all v4l devices
--log-status log the board status in the kernel log [VIDIOC_LOG_STATUS]
--get-priority query the current access priority [VIDIOC_G_PRIORITY]
--set-priority=<prio>
set the new access priority [VIDIOC_S_PRIORITY]
<prio> is 1 (background), 2 (interactive) or 3 (record)
--silent only set the result code, do not print any messages
--sleep=<secs> sleep <secs>, call QUERYCAP and close the file handle
--verbose turn on verbose ioctl status reporting
=>
-d, --device=<dev> use device <dev> instead of /dev/video0
if <dev> starts with a digit, then /dev/video<dev> is used
ev. předtím:
v4l2-ctl
Příkaz 'v4l2-ctl' nebyl nalezen, ale je možné jej nainstalovat pomocí:
sudo apt install v4l-utils
případně taky
https://forum.manjaro.org/t/webcam-doesnt-work/113620/2
-
v4l2-ctl --device 1
Failed to open /dev/video1: No such file or directory
:-(
cheese:
cheese -d /dev/video0
(cheese:26253): Gtk-WARNING **: 19:17:24.143: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version
** Message: 19:17:24.462: cheese-application.vala:211: Error during camera setup: Žádné zařízení nebylo nalezeno
(cheese:26253): cheese-CRITICAL **: 19:17:24.486: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:26253): GLib-CRITICAL **: 19:17:24.486: g_variant_new_string: assertion 'string != NULL' failed
(cheese:26253): GLib-CRITICAL **: 19:17:24.486: g_variant_ref_sink: assertion 'value != NULL' failed
(cheese:26253): GLib-GIO-CRITICAL **: 19:17:24.486: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:26253): GLib-CRITICAL **: 19:17:24.486: g_variant_get_type_string: assertion 'value != NULL' failed
(cheese:26253): GLib-GIO-CRITICAL **: 19:17:24.486: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
(cheese:26253): GLib-CRITICAL **: 19:17:24.486: g_variant_unref: assertion 'value != NULL' failed
** (cheese:26253): CRITICAL **: 19:17:24.486: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
a normálně bez parametru:
cheese
(cheese:26476): Gtk-WARNING **: 19:19:20.512: Theme parsing error: cheese.css:7:35: The style property GtkScrollbar:min-slider-length is deprecated and shouldn't be used anymore. It will be removed in a future version
** Message: 19:19:20.631: cheese-application.vala:211: Error during camera setup: Žádné zařízení nebylo nalezeno
(cheese:26476): cheese-CRITICAL **: 19:19:20.653: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:26476): GLib-CRITICAL **: 19:19:20.653: g_variant_new_string: assertion 'string != NULL' failed
(cheese:26476): GLib-CRITICAL **: 19:19:20.653: g_variant_ref_sink: assertion 'value != NULL' failed
(cheese:26476): GLib-GIO-CRITICAL **: 19:19:20.653: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:26476): GLib-CRITICAL **: 19:19:20.653: g_variant_get_type_string: assertion 'value != NULL' failed
(cheese:26476): GLib-GIO-CRITICAL **: 19:19:20.653: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
(cheese:26476): GLib-CRITICAL **: 19:19:20.653: g_variant_unref: assertion 'value != NULL' failed
** (cheese:26476): CRITICAL **: 19:19:20.653: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
-
A pod rootem cheese funguje (https://forum.manjaro.org/t/webcam-not-working-with-cheese-unless-sudo-ed/44724/8) ?
Taky viz https://bugzilla.gnome.org/show_bug.cgi?id=795022 =>
Right now it can be worked around by stopping pipewire socket before running cheese, like this:
`systemctl --user stop pipewire.socket'
but, if I understand correct, it breaks cheese to pipewire integration
After that cheese starts working fine, camera is found on every launching without issues.
nebo
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1778555
https://gitlab.gnome.org/GNOME/cheese/issues/21 => http://www.ideasonboard.org/uvc/faq/
atd.
-
Díky, zkouším...
Cheese nepotřebuji, ale kameru nenajde ani Skype, to je blbý... Najde ji naprosto spolehlivě VLC a guvcview a ukazuje krásný obraz (mě) :-)
-
... kameru nenajde ani Skype, to je blbý...
https://forum.ubuntu.cz/index.php/topic,51762.msg373309.html#msg373309
taky http://www.linuxintro.org/wiki/Set_up_a_Webcam_with_Linux#Ubuntu a zejména sekce zmiňující gspca