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

Reindl Harald h.reindl at thelounge.net
Wed Feb 22 19:09:56 EET 2017

Am 22.02.2017 um 18:07 schrieb christina zou:
>> better question - why would anybody start anything dangerous like
> multimedia encoders as root? maybe something like SELinux/appamor is
> protecting your from yourself
> You are probably right.
> I want a Ffmpeg command to automatically start when I boot my Pi, without
> any interfacing required (login/authentication). I've currently stuck the
> command in /etc/rc.local, where everything runs as root. Do you know where
> to better place it?

surely, a proper service which drops to a restricted user

with systemd a few lines, for sysvinit there are thousands of explaes 
how to start a service proper, and if you don't get something better 
just "man su"

on proper systems rc.local died in 2011....

More information about the ffmpeg-user mailing list