[FFmpeg-user] Ffmpeg doesn't recognize /dev/video0 when run as root?

Reindl Harald h.reindl at thelounge.net
Wed Feb 22 19:03:24 EET 2017

Am 22.02.2017 um 18:01 schrieb christina zou:
> If I run my FFMPEG command as root, it does not recognize /dev/video0
> properly:
> 16:17:22 E: Opening an input file: /dev/video0.
> 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] fd:4 capabilities:1000001
> 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] The device does not support the
> streaming I/O method.
> 16:17:22 E: /dev/video0: Function not implemented
> If I run as user, the FFMPEG command recognizes /dev/video0 and works
> properly, no errors. Why?

better question - why would anybody start anything dangerous like 
multimedia encoders as root? maybe something like SELinux/appamor is 
protecting your from yourself

More information about the ffmpeg-user mailing list