I'm running an intentionally minimal Arch OS on my RPi2 (installed via ArchLinuxARM-rpi-2-latest.tar.gz
dated 2015-08-14
), and I'm trying to have it stream video from the camera. I followed the camera instructions on the arch wiki, including appending
gpu_mem=128
start_file=start_x.elf
fixup_file=fixup_x.dat
to /boot/config.txt
, and putting
bcm2835-v4l2
in /etc/modules-load.d/rpi-camera.conf
. The camera itself seems to work fine using /opt/vc/bin/raspistill
and /opt/vc/bin/raspivid
, but when I attempt to stream video via:
cvlc v4l2:///dev/video0 --v4l2-width 1920 --v4l2-height 1080 --v4l2-chroma h264 --sout '#standard{access=http,mux=ts,dst=0.0.0.0:12345}'
I get the error
v4l2 demux error: cannot open device '/dev/video0': Permission denied
Ok, so I check the permissions on /dev/video0
and see that it's readable by the video
group, so I add my user to this group and now when I run the cvlc
command I don't get the error, but I can't see the stream on a remote computer either. When I turn on the v4l2 overlay (v4l2-ctl --overlay=1
) before running the cvlc
command, I can indeed see that the camera is working, but still no visible stream on the remote computer. I used vlc
to try to receive the stream and get the error
core stream error: cannot pre fill buffer
Any suggestions for how to trouble-shoot this?