[video4linux2,v4l2 @ 0x7e0a0] Cannot open video device /dev/video0: Permission denied /dev/video0: Permission denied
当我尝试使用ffmpeg命令列出手机摄像头支持的视频格式时,出现此错误消息
ffmpeg -f v4l2 -list_formats all -i /dev/video0
或
root@localhost:/dev# v4l2-ctl --list-devices
Failed to open /dev/video0: Permission denied
是否可以更改/ dev / video0和/ dev / video1的访问权限?