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

2017-02-22 Thread Reindl Harald
Am 22.02.2017 um 18:17 schrieb christina zou: Thanks for the tip. To be honest, I'm hacking on a personal project for fun, security isn't really a concern. i better don't comment that attitude which leads to trained misbehavior in general Raspberry Pi (which I'm using) recommends pla

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

2017-02-22 Thread christina zou
Thanks for the tip. To be honest, I'm hacking on a personal project for fun, security isn't really a concern. Raspberry Pi (which I'm using) recommends placing startup scripts in rc.local in its official documentation: https://www.raspberrypi.org/documentation/linux/usage/rc-local.md

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

2017-02-22 Thread Reindl Harald
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 boo

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

2017-02-22 Thread 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/

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

2017-02-22 Thread Reindl Harald
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:101 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] The

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

2017-02-22 Thread 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:101 16:17:22 E: [video4linux2,v4l2 @ 0x2dff610] The device does not support the streaming I/O method.