I was playing around with VLC Media and tried to record a webcam video.
There is no webcam device listed and I do have a webcam. This is the 1st time I have tried to use it.
Perhaps there is some software I need to install using Muon Package manager. When I search for webcam or VLC many options come up and I have no idea what they all mean or what to add.
Can anyone assist me?
I have a Lenovo laptop… not sure what webcam I have but here is a list of all my devices:
It doesn’t seem I have a video card??? Not sure what I am looking at.
Hi.
Not sure, but it seems you did a lspci for this list?
Usually Webcams are held as USB devices, so you might probably try “lsusb” to be sure, that the device is not (propperly) recognized.
FIRST ALL: Your webcam is compatible with Kubuntu ?
search your webcam model in this link: http://www.ideasonboard.org/uvc/
If she is compatible, then try to use cheese, a GNOME program for capturing video and stills from a webcam.
If you no have cheese then install with : sudo apt-get install cheese
Cheese should automatically detect your webcam and display live video stream.
If cheese no works, then try Empathy has been the default VoIP/Video Chat application since Ubuntu 9.10 (Karmic Koala), and can be used to establish whether or not your webcam is working.
The two commands : 1- ls /dev/video* and 2- ls /dev/audio* You can to use to know the video and audio device files for your webcam. You also can to try the mplayer ( can be installed with apt-get )
Open a terminal window and type the following:
mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0
this assumes that your webcam is at /dev/video0 you can replace width and height for others values
by example : width=1024:height=768 hope have helped you.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 8087:07da Intel Corp.
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 045e:0083 Microsoft Corp. Basic Optical Mouse
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I will mention my old Lenovo webcam did not like Linux, even though it was listed with lusb, but when I sold it; the new owner told me it worked when he installed M$. Hey ho, what do I know.
Should you be referring to recording a desktop session you will need to install vokoscreen. Where you can see yourself in in small box giving a narrative of your how desktop works.
sudo apt install vokoscreen
Muon and Gnome software centre have limited repositories, if you want the full power of Ubuntu, you will need to install the Synaptic package manager.
That said, I didn’t particularly recommend cheese, I just have seen it mentioned everywhere. My main point was installing the correct driver. Once that is done, one can try out different front-ends.
I am new to Kubuntu…I have used Ubuntu for the last 5 years and thought the Muon was the name for the Synaptic package manager in Kubuntu… my bad!
So now it is installed. I searched GeForce and found a few files to install. I did not install one file that indicated it was for developers…it that OK?
I got this error message:
E: /tmp/apt-dpkg-install-Y7h62H/5-nvidia-340_340.107-0ubuntu0.18.04.1_amd64.deb: trying to overwrite ‘/lib/udev/rules.d/71-nvidia.rules’, which is also in package nvidia-kernel-common-390 390.77-0ubuntu0.18.04.1
When I expand the details of the error message: it is alot of info…thanks so uch for your assistance as you have been very helpful!
debconf: unable to initialize frontend: Gnome
debconf: (Can’t locate Gtk3.pm in @INC (you may need to install the Gtk3 module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 151, <> line 10.)
debconf: falling back to frontend: Dialog
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
(Reading database … 243322 files and directories currently installed.)
Removing nvidia-driver-390 (390.77-0ubuntu0.18.04.1) …
Removing xserver-xorg-video-nvidia-390 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-cfg1-390:amd64 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-encode-390:i386 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-decode-390:i386 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-compute-390:i386 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-encode-390:amd64 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-decode-390:amd64 (390.77-0ubuntu0.18.04.1) …
Removing nvidia-utils-390 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-fbc1-390:amd64 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-fbc1-390:i386 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-ifr1-390:amd64 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-gl-390:amd64 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-ifr1-390:i386 (390.77-0ubuntu0.18.04.1) …
Removing libnvidia-gl-390:i386 (390.77-0ubuntu0.18.04.1) …
Removing nvidia-compute-utils-390 (390.77-0ubuntu0.18.04.1) …
Removing nvidia-dkms-390 (390.77-0ubuntu0.18.04.1) …
Removing all DKMS Modules
Done.
INFO:Disable nvidia
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
update-initramfs: deferring update (trigger activated)
Removing libnvidia-compute-390:amd64 (390.77-0ubuntu0.18.04.1) …
Selecting previously unselected package libc6-i386.
(Reading database … 243085 files and directories currently installed.)
Preparing to unpack …/0-libc6-i386_2.27-3ubuntu1_amd64.deb …
Unpacking libc6-i386 (2.27-3ubuntu1) …
Replaced by files in installed package libc6:i386 (2.27-3ubuntu1) …
Selecting previously unselected package libcuda1-340.
Preparing to unpack …/1-libcuda1-340_340.107-0ubuntu0.18.04.1_amd64.deb …
Unpacking libcuda1-340 (340.107-0ubuntu0.18.04.1) …
Selecting previously unselected package libvdpau-doc.
Preparing to unpack …/2-libvdpau-doc_1.1.1-3ubuntu1_all.deb …
Unpacking libvdpau-doc (1.1.1-3ubuntu1) …
Selecting previously unselected package nouveau-firmware.
Preparing to unpack …/3-nouveau-firmware_20091212-0ubuntu1_all.deb …
Unpacking nouveau-firmware (20091212-0ubuntu1) …
Selecting previously unselected package lib32gcc1.
Preparing to unpack …/4-lib32gcc1_1%3a8.2.0-1ubuntu2~18.04_amd64.deb …
Unpacking lib32gcc1 (1:8.2.0-1ubuntu2~18.04) …
Selecting previously unselected package nvidia-340.
Preparing to unpack …/5-nvidia-340_340.107-0ubuntu0.18.04.1_amd64.deb …
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libGL.so.1 to /usr/lib/x86_64-linux-gnu/libGL.so.1.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libGL.so.1 to /usr/lib/i386-linux-gnu/libGL.so.1.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libGL.so to /usr/lib/x86_64-linux-gnu/libGL.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libGL.so to /usr/lib/i386-linux-gnu/libGL.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libEGL.so.1 to /usr/lib/x86_64-linux-gnu/libEGL.so.1.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libEGL.so.1 to /usr/lib/i386-linux-gnu/libEGL.so.1.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libEGL.so to /usr/lib/x86_64-linux-gnu/libEGL.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libEGL.so to /usr/lib/i386-linux-gnu/libEGL.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so to /usr/lib/x86_64-linux-gnu/libGLESv2.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libGLESv2.so to /usr/lib/i386-linux-gnu/libGLESv2.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libGLESv2.so.2 to /usr/lib/x86_64-linux-gnu/libGLESv2.so.2.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libGLESv2.so.2 to /usr/lib/i386-linux-gnu/libGLESv2.so.2.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so to /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so to /usr/lib/i386-linux-gnu/libGLESv1_CM.so.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1 to /usr/lib/x86_64-linux-gnu/libGLESv1_CM.so.1.distrib by nvidia-340’
Adding ‘diversion of /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1 to /usr/lib/i386-linux-gnu/libGLESv1_CM.so.1.distrib by nvidia-340’
Unpacking nvidia-340 (340.107-0ubuntu0.18.04.1) …
dpkg: error processing archive /tmp/apt-dpkg-install-Y7h62H/5-nvidia-340_340.107-0ubuntu0.18.04.1_amd64.deb (–unpack):
trying to overwrite ‘/lib/udev/rules.d/71-nvidia.rules’, which is also in package nvidia-kernel-common-390 390.77-0ubuntu0.18.04.1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Selecting previously unselected package ocl-icd-libopencl1:amd64.
Preparing to unpack …/6-ocl-icd-libopencl1_2.2.11-1ubuntu1_amd64.deb …
Unpacking ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) …
Selecting previously unselected package nvidia-opencl-icd-340.
Preparing to unpack …/7-nvidia-opencl-icd-340_340.107-0ubuntu0.18.04.1_amd64.deb …
Unpacking nvidia-opencl-icd-340 (340.107-0ubuntu0.18.04.1) …
Selecting previously unselected package libvdpau1-dbg:amd64.
Preparing to unpack …/8-libvdpau1-dbg_1.1.1-3ubuntu1_amd64.deb …
Unpacking libvdpau1-dbg:amd64 (1.1.1-3ubuntu1) …
Selecting previously unselected package vdpauinfo.
Preparing to unpack …/9-vdpauinfo_1.0-3_amd64.deb …
Unpacking vdpauinfo (1.0-3) …
Errors were encountered while processing:
/tmp/apt-dpkg-install-Y7h62H/5-nvidia-340_340.107-0ubuntu0.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Processing triggers for ureadahead (0.100.0-20) …
ureadahead will be reprofiled on next reboot
Setting up libcuda1-340 (340.107-0ubuntu0.18.04.1) …
Processing triggers for initramfs-tools (0.130ubuntu3.6) …
update-initramfs: Generating /boot/initrd.img-4.15.0-43-generic
Setting up libc6-i386 (2.27-3ubuntu1) …
Setting up libvdpau1-dbg:amd64 (1.1.1-3ubuntu1) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
Processing triggers for man-db (2.8.3-2ubuntu0.1) …
Setting up vdpauinfo (1.0-3) …
Setting up ocl-icd-libopencl1:amd64 (2.2.11-1ubuntu1) …
Setting up nouveau-firmware (20091212-0ubuntu1) …
Setting up libvdpau-doc (1.1.1-3ubuntu1) …
Setting up nvidia-opencl-icd-340 (340.107-0ubuntu0.18.04.1) …
Setting up lib32gcc1 (1:8.2.0-1ubuntu2~18.04) …
Processing triggers for libc-bin (2.27-3ubuntu1) …
What does your Driver Manager inform you about Nvidia usage? Run this terminal command.
dkms status
I’ve not owned a laptop with discrete graphics, it may be worth following the solutions offered on the Arch wiki, where they use Bumblebee to correct graphic card issues…
Suggest you install cmd-line app : inxi
Thereafter run man inxi and select the webcam device extension ,then run inxi with that extension.
inxi provides a lot of info on all your hardware.