Black screen when using camera as web cam on linux
I am using manjaro linux: 5.11.19-1-MANJARO
I am using the command
`gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -r 60 -threads 0 -f v4l2 /dev/video0` to take video stream from my canon camera and make it available for apps. I am getting correct image in telegram and VLC but in discord i have a black screen
-
I'd like to second this question. I'm on x86_64 Linux 5.12.8-arch1-1 using a camera through a CamLink 4k and all I get is a black screen. Other programs like Zoom work fine. I can see Discord accessing the video device just fine-
┗╸❯❯❯ sudo lsof /dev/video0
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
Discord 4345 user mem CHR 81,0 459 /dev/video0
Discord 4345 user 128u CHR 81,0 0t0 459 /dev/video0When I run Zoom (for example) I get similar info-
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
zoom 1338712 user mem CHR 81,0 459 /dev/video0
zoom 1338712 user 93u CHR 81,0 0t0 459 /dev/video0Except the video output works. Any info that could solve this issue would be appreciated.
0 -
trent w so i solved the issue by loading v4l2loopback (as i remeber) kernel module without the exclusive_caps parameter. See issue on github: https://github.com/umlaeute/v4l2loopback/issues/274
so i am using the module just without that parameter. all works good)
0
Yorum yazmak için lütfen oturum açın.
Yorumlar
2 yorum