AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[camera](ubuntu)

Martin Hope
Julie
Asked: 2024-12-20 21:09:59 +0800 CST

ubuntu 24.04.1 相机-镜像模式

  • 6

上次 Ubuntu 更新后,相机应用也发生了变化,现在使用自拍相机时我找不到翻转效果(即镜像效果)的选项。任何建议都值得赞赏。

camera
  • 1 个回答
  • 18 Views
Martin Hope
Kamal Hosseini
Asked: 2024-04-29 05:08:09 +0800 CST

相机应用程序问题

  • 5

我安装了 ubuntu 24.04,在启动器中有相机应用程序的图标,但是当我打开它时,我收到消息说没有检测到相机,我下载了奶酪应用程序,它检测到了相机,所以我决定删除相机应用程序,当我搜索时软件商店中的相机应用程序要求我安装它,因此相机应用程序未安装,但启动器中有一个图标,我不知道如何删除该图标,最后我安装了相机应用程序,并出现了另一个相机图标,这次安装后它有效,但仍然不知道如何摆脱启动器中多余的相机图标。

camera
  • 1 个回答
  • 106 Views
Martin Hope
Alex028502
Asked: 2021-05-09 06:10:14 +0800 CST

如何判断这些视频设备中的哪些是网络摄像头?

  • 6
$ ls -ltrh /dev/video*
crw-rw----+ 1 root video 81, 1 Mai  4 00:17 /dev/video1
crw-rw----+ 1 root video 81, 0 Mai  4 00:17 /dev/video0

这是一台笔记本电脑,所以我猜一个是内置摄像头,一个是屏幕。但是我怎样才能检查哪个?有没有办法获得有关其中一个的更多信息?

camera
  • 2 个回答
  • 6350 Views
Martin Hope
Hirusha
Asked: 2021-02-22 18:01:15 +0800 CST

如何更改相机访问权限?

  • 0

我有一个内置摄像头,我想更改 Ubuntu 的摄像头访问权限!在 Windows 中,我可以简单地转到隐私 > 相机并关闭访问!但是如何在 Ubuntu 中做到这一点?

编辑:我找到了一种暂时禁用相机的方法

要暂时禁用相机 - sudo modprobe -r uvcvideo

要启用它 -sudo modprobe uvcvideo

camera
  • 1 个回答
  • 249 Views
Martin Hope
showkey
Asked: 2020-11-21 19:21:25 +0800 CST

为什么只有一个 USB 摄像头显示两个 Video4Linux 设备?

  • 0

我买了一个新的 USB 网络摄像头,插上它。

ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 Nov 21 10:57 /dev/video0
crw-rw----+ 1 root video 81, 1 Nov 21 10:57 /dev/video1

为什么只有一个 USB 摄像头显示两个 Video4Linux 设备?

camera
  • 1 个回答
  • 433 Views
Martin Hope
cyx
Asked: 2020-11-18 06:20:53 +0800 CST

我在 Telegram Desktop 应用程序中使用时遇到了相机问题

  • 1

系统信息

  • 制造商:惠普
  • 产品名称:惠普笔记本电脑 15s-eq0xxx
  • Ubuntu 20.04 LTS
  • Telegram 应用程序版本 2.4.7

    我无法在 Telegram 桌面应用程序中使用我的摄像机。"No camera could be found. Please make sure that your camera is connected to the computer."当我点击视频按钮时。
    环聊和 Zoom 一切正常。
video camera telegram
  • 1 个回答
  • 2754 Views
Martin Hope
Thomas
Asked: 2020-11-08 02:06:32 +0800 CST

在 Ubuntu 20.04 上使用索尼数码相机 RX100M4 作为网络摄像头的问题

  • 1

按照说明安装v4l2loopback内核模块和gphoto2.
我可以使用 控制相机和拍照Entangle,还可以在其中查看实时预览视频Entangle,但我无法使用 ffmpeg 流式传输视频以在其他应用程序中使用它。

$ gphoto2 --abilities
Abilities for camera             : Sony DSC-RX100M4                            
Serial port support              : no
USB support                      : yes
Capture choices                  :
                                 : Image
                                 : Preview
                                 : Trigger Capture
Configuration support            : yes
Delete selected files on camera  : yes
Delete all files on camera       : no
File preview (thumbnail) support : yes
File upload support              : yes

杀死所有现有实例

$ sudo killall gvfs-gphoto2-volume-monitor
gvfs-gphoto2-volume-monitor: no process found

有 3 个 /dev/video*

$ ll /dev/video*
crw-rw----+ 1 root video 81, 0 Nov  7 08:46 /dev/video0
crw-rw----+ 1 root video 81, 1 Nov  7 08:46 /dev/video1
crw-rw----+ 1 root video 81, 2 Nov  7 09:35 /dev/video2

运行将视频传送到 /dev/video* 的命令对其中任何一个都不起作用:

$ gphoto2 --stdout --capture-movie | gst-launch-1.0 fdsrc ! decodebin3 name=dec ! queue ! videoconvert ! v4l2sink device=/dev/video2
Capturing preview frames as movie to 'stdout'. Press Ctrl-C to abort.
Setting pipeline to PAUSED ...
ERROR: Pipeline doesn't want to pause.
ERROR: from element /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: Device '/dev/video2' is not a output device.
Additional debug info:
v4l2_calls.c(636): gst_v4l2_open (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0:
Capabilities: 0x85208000
Setting pipeline to NULL ...
Freeing pipeline ...

*** Error ***              
Sorry, your Sony camera does not seem to return a JPEG image in LiveView mode
ERROR: Movie capture error... Exiting.
Movie capture finished (0 frames)

如官方说明中所述,我尝试了在相机上的 AUTO 和 MOVIE 模式之间切换的不同方法,但没有运气......

知道我错过了什么吗?

是否Sorry, your Sony camera does not seem to return a JPEG image in LiveView mode意味着它不适用于我的相机?( Sony DSC-RX100M4)

另一个命令(ffmpeg):

$ gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video1
Capturing preview frames as movie to 'stdout'. Press Ctrl-C to abort.
ffmpeg version n4.1.4 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
  configuration: --prefix= --prefix=/usr --disable-debug --disable-doc --disable-static --enable-avisynth --enable-cuda --enable-cuvid --enable-libdrm --enable-ffplay --enable-gnutls --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopus --enable-libpulse --enable-sdl2 --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libv4l2 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxvid --enable-nonfree --enable-nvenc --enable-omx --enable-openal --enable-opencl --enable-runtime-cpudetect --enable-shared --enable-vaapi --enable-vdpau --enable-version3 --enable-xlib
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
[mjpeg @ 0x55bb2836b0c0] Format mjpeg detected only with low score of 25, misdetection possible!
Input #0, mjpeg, from 'pipe:':
  Duration: N/A, bitrate: N/A
    Stream #0:0: Video: mjpeg, yuvj422p(pc, bt470bg/unknown/unknown), 1024x680, 25 tbr, 1200k tbn, 25 tbc
Stream mapping:
  Stream #0:0 -> #0:0 (mjpeg (native) -> rawvideo (native))
[swscaler @ 0x55bb283bef00] deprecated pixel format used, make sure you did set range correctly
[video4linux2,v4l2 @ 0x55bb28370dc0] Unable to open V4L2 device '/dev/video1'
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted
Error initializing output stream 0:0 -- 
Conversion failed!
sony video usb webcam camera
  • 1 个回答
  • 530 Views
Martin Hope
Eduardo Mendes
Asked: 2020-08-16 10:10:34 +0800 CST

新内核破坏了 Ubuntu Desktop 16.04 上的 USB 摄像头

  • 2

ubuntu 的新内核版本(4.4.0-186-generic 和 4.4.0-187-generic)无法识别我的 USB 摄像头(无论是笔记本电脑的原始版本还是其他 USB 网络摄像头)。如果我从以前的内核版本(4.4.0-185-generic)开始,两者都可以正常工作。

这是“lsusb”的结果:...

Bus 001 Device 003: ID 04f2:b537 Chicony Electronics Co., Ltd 
Bus 001 Device 009: ID 046d:0892 Logitech, Inc. OrbiCam

...

但它们不显示为 /dev/video0 和 /dev/video1,并且无法被奶酪、缩放、相遇等检测到。

这些内核版本是否需要任何额外的驱动程序,或者它真的坏了?

谢谢

kernel usb webcam camera 16.04
  • 1 个回答
  • 328 Views
Martin Hope
Torsten
Asked: 2020-08-10 01:39:22 +0800 CST

如何卸下相机(或出于 gphoto 目的将其卸下)

  • 0

我正在尝试按照以下建议将我的佳能 dslr 作为网络摄像头连接到 ubuntu:使用数码相机(佳能)作为网络摄像头

但是,KDE Plasma 一直在安装相机,因此 gphoto 无法使用它。通过 nautilus 或 dolphin 卸载/弹出它没有帮助。当我这样做时,相机被“卸载”并且上下文菜单中的唯一选项是再次安装它。

但是,gphoto 仍然无法访问相机:pipe:: Invalid data found when processing input

nautilus kde mount webcam camera
  • 1 个回答
  • 566 Views
Martin Hope
lrkwz
Asked: 2020-07-09 04:00:23 +0800 CST

Ubuntu 焦点 fossa 和 Sony A7RII usb 网络共享

  • 0

除了文件传输,我无法连接我的索尼 A7RII 相机;lsusb显示与相机无关的输出。

安装了最新gphoto2版本并gphoto2 --list-cameras| grep -i "A7R II"声称支持相机(libgphoto2 网页粗体显示“图像捕捉、触发捕捉、实时取景、配置”功能)。

远程文档警告使用libgphoto2 2.5.13 或更新版本(我已经检查过)。

以下是is的env LANG=C gphoto2 --debug --debug-logfile=my-logfile.txt --config输出

*** Error ***              
Could not detect any camera
*** Error (-105: 'Unknown model') ***  
0.000002 main                        (2): ALWAYS INCLUDE THE FOLLOWING LINES WHEN SENDING DEBUG MESSAGES TO THE MAILING LIST:
0.000033 main                        (2): gphoto2 2.5.23
0.000058 main                        (2): gphoto2 has been compiled with the following options:
0.000060 main                        (2):  + gcc (C compiler used)
0.000061 main                        (2):  + popt (mandatory, for handling command-line parameters)
0.000063 main                        (2):  + exif (for displaying EXIF information)
0.000065 main                        (2):  + cdk (for accessing configuration options)
0.000066 main                        (2):  + aa (for displaying live previews)
0.000068 main                        (2):  + jpeg (for displaying live previews in JPEG format)
0.000089 main                        (2):  + readline (for easy navigation in the shell)
0.000093 main                        (2): libgphoto2 2.5.24
0.000112 main                        (2): libgphoto2 has been compiled with the following options:
0.000115 main                        (2):  + standard camlib set SKIPPING SOME (ax203 canon digigr8 dimagev directory jl2005a jl2005c kodak_dc240 mars pentax ptp2 ricoh_g3 sierra sonix sq905 st2205 topfield tp6801 SKIPPING lumix)
0.000116 main                        (2):  + gcc (C compiler used)
0.000118 main                        (2):  + ltdl (for portable loading of camlibs)
0.000120 main                        (2):  + EXIF (for special handling of EXIF files)
0.000122 main                        (2): libgphoto2_port 0.12.0
0.000124 main                        (2): libgphoto2_port has been compiled with the following options:
0.000126 main                        (2):  + iolibs: disk ptpip serial usb1 usbdiskdirect usbscsi
0.000128 main                        (2):  + gcc (C compiler used)
0.000129 main                        (2):  + ltdl (for portable loading of iolibs)
0.000131 main                        (2):  + EXIF (for vusb)
0.000133 main                        (2):  + USB (libusb1, for USB cameras)
0.000134 main                        (2):  + serial (for serial cameras)
0.000136 main                        (2):  + no resmgr (serial port access and locking)
0.000137 main                        (2):  + no ttylock (serial port locking)
0.000139 main                        (2):  + no lockdev (serial port locking)
0.000141 main                        (2): CAMLIBS env var not set, using compile-time default instead
0.000143 main                        (2): IOLIBS env var not set, using compile-time default instead
0.000144 main                        (2): invoked with following arguments:
0.000146 main                        (2):   --debug
0.000148 main                        (2):   --debug-logfile=my-logfile.txt
0.000149 main                        (2):   --config
0.000171 load_settings               (2): Creating gphoto config directory ('/home/lrkwz/.gphoto')
0.000204 load_settings               (2): Loading settings from file '/home/lrkwz/.gphoto/settings'.
0.000258 main                        (2): The user has not specified both a model and a port. Try to figure them out.
(...)
usb camera 20.04 gphoto2
  • 1 个回答
  • 223 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve