Merhaba, Arch linux xfce kullanıyorum.Webcam uygulaması olarak cheese kulanıyordum.Sorunsuz çalışıyordu.Şimdi açınca aygıt bulunamadı hatası veriyor.Sanırım sürücü ile ilgili,araştırdım pek bişey bulamadım.Nasıl düzeltebilirim?Yardımci olursanız sevinirim...
lspci
çıktısı nedir?
archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!
lspci ✔ 1956 15:15:06
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 05)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 05)
00:02.0 VGA compatible controller: Intel Corporation Device 591b (rev 04)
00:14.0 USB controller: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller (rev 31)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point-H Thermal subsystem (rev 31)
00:16.0 Communication controller: Intel Corporation Sunrise Point-H CSME HECI #1 (rev 31)
00:17.0 SATA controller: Intel Corporation Sunrise Point-H SATA Controller [AHCI mode] (rev 31)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #1 (rev f1)
00:1c.3 PCI bridge: Intel Corporation Sunrise Point-H PCI Express Root Port #4 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-H LPC Controller (rev 31)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-H PMC (rev 31)
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
00:1f.4 SMBus: Intel Corporation Sunrise Point-H SMBus (rev 31)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev ff)
02:00.0 Network controller: Intel Corporation Dual Band Wireless-AC 3168NGW [Stone Peak] (rev 10)
03:00.0 Ethernet controller: Qualcomm Atheros QCA8171 Gigabit Ethernet (rev 10)
smplayer yükleyip şu komutu verin uçbirimden
smplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 15 -vf screenshot
veya
mpv av://v4l2:/dev/video0
archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!
smplayer i yükledim.İlk komutu yazdım,player açıldı ve bi hata verdi.(hatayı kapattıktan sonra siyah ekran smplayer açıldı)
smplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 15 -vf screenshot
qt5ct: using qt5ct plugin
Linux'de çalışan SMPlayer'ın v. 18.9.0 (revision 9113). sürümü
smplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0 -fps 1 5,11s user 0,64s system 9% cpu 57,995 total
hata:
/usr/bin/mpv --no-config --no-quiet --terminal --no-msg-color --input-file=/dev/stdin --no-fs --hwdec=no --sub-auto=fuzzy --no-input-default-bindings --input-vo-keyboard=no --no-input-cursor --cursor-autohide=no --no-keepaspect --wid=77594644 --monitorpixelaspect=1 --osd-level=1 --osd-scale=1 --osd-bar-align-y=0.6 --sub-ass --embeddedfonts --sub-ass-line-spacing=0 --sub-scale=1 --sub-font=Arial --sub-color=#ffffffff --sub-shadow-color=#ff000000 --sub-border-color=#ff000000 --sub-border-size=0.75 --sub-shadow-offset=2.5 --sub-font-size=50 --sub-bold=no --sub-italic=no --sub-codepage=ISO-8859-1 --sub-pos=100 --volume=55 --cache=auto --vf-add=lavfi=[yadif=mode=send_field] --screenshot-template=cap_%F_%p_%02n --screenshot-format=jpg --screenshot-directory=/home/emre/Resimler/smplayer_screenshots --audio-pitch-correction=yes --volume-max=110 --term-playing-msg=MPV_VERSION=${=mpv-version:}
INFO_VIDEO_WIDTH=${=width}
INFO_VIDEO_HEIGHT=${=height}
INFO_VIDEO_ASPECT=${=video-aspect}
INFO_VIDEO_FPS=${=container-fps:${=fps}}
INFO_VIDEO_FORMAT=${=video-format}
INFO_VIDEO_CODEC=${=video-codec}
INFO_AUDIO_FORMAT=${=audio-codec-name}
INFO_AUDIO_CODEC=${=audio-codec}
INFO_AUDIO_RATE=${=audio-params/samplerate}
INFO_AUDIO_NCH=${=audio-params/channel-count}
INFO_LENGTH=${=duration:${=length}}
INFO_DEMUXER=${=current-demuxer:${=demuxer}}
INFO_SEEKABLE=${=seekable}
INFO_TITLES=${=disc-titles}
INFO_CHAPTERS=${=chapters}
INFO_TRACKS_COUNT=${=track-list/count}
METADATA_TITLE=${metadata/by-key/title:}
METADATA_ARTIST=${metadata/by-key/artist:}
METADATA_ALBUM=${metadata/by-key/album:}
METADATA_GENRE=${metadata/by-key/genre:}
METADATA_DATE=${metadata/by-key/date:}
METADATA_TRACK=${metadata/by-key/track:}
METADATA_COPYRIGHT=${metadata/by-key/copyright:}
INFO_MEDIA_TITLE=${=media-title:}
INFO_STREAM_PATH=${stream-path}
--audio-client-name=SMPlayer --term-status-msg=STATUS: ${=time-pos} / ${=duration:${=length:0}} P: ${=pause} B: ${=paused-for-cache} I: ${=core-idle} VB: ${=video-bitrate:0} AB: ${=audio-bitrate:0} tv://
Playing: tv://
[tv] Selected driver: v4l2
[tv] name: Video 4 Linux 2 input
[tv] unable to open '/dev/video0': No such file or directory
[tv] ioctl set mute failed: Bad file descriptor
[tv] 0 frames successfully processed, 0 frames dropped.
Failed to recognize file format.
Exiting... (Errors when loading file)
İkinci komutu denediğimde bişey açılmadı:
mpv av://v4l2:/dev/video0 ✔ 1960 17:25:26
Playing: av://v4l2:/dev/video0
[ffmpeg/demuxer] video4linux2,v4l2: Cannot open video device /dev/video0: No such file or directory
[lavf] avformat_open_input() failed
Failed to recognize file format.
Exiting... (Errors when loading file)
lsusb çıktısını paylaşır mısınız?
archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!
lsusb ✔ 1965 10:15:57
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 10c4:8108 Cygnal Integrated Products, Inc.
Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller
Bus 001 Device 003: ID 8087:0aa7 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
şu dökümanı incelediniz mi ya da uyguladınız mı?
https://wiki.archlinux.org/index.php/Webcam_setup
archman.org - Bizi bilen iyi bilir, bilmeyen de kendi gibi bilir.!