Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
660 views
in Technique[技术] by (71.8m points)

v4l2 - Google chrome cannot detect v4l2loopback device

I'm trying to transmit my screen using ffmpeg and v4l2loopback, more when running the commands:

sudo modprobe v4l2loopback devices=1 video_nr=2 card_label="Camera Loopback"

and

ffmpeg -f x11grab -framerate 30 -video_size 1366x768 -i :0.0 -f v4l2 /dev/video2

chrome does not detect the device in: /dev/video2, I tried everything to make it work, but chrome does not detect it, I tried to add the filter:

-vf format=pix_fmts=yuv420p

but still nothing.

Chrome: 87.0.4280.66 (64bit)
OS: LinuxMint 19.3
v4l2loopback: 0.12.3

If anyone can help me, thank you in advance!.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...