Around one year ago I built some Raspberry pi streaming device fitting on a model train. Being unhappy with the setup process on how to receive the stream on windows (using MPlayer), I decided to use an RTSP stream instead.
So I followed the tutorlials on setting up u4vl and setting up a RTSP Server here:
https://www.linux-projects.org/uv4l/tutorials/rtsp-server/
However I had some issues when starting cvlv. While I was able to fix most of the issues, I came to a point where I could not get any information on.
I started the driver, gave it real time priority and executed the cvlc command exactly as shown in the tutoria.
Unfortunately the stream won't start, I just get the following errors:
VLC media player 2.2.6 Umbrella (revision 2.2.6-0-g1aae78981c)
[01ed1f08] pulse audio output error: PulseAudio server connection failure: Connection refused
[01eeb0a8] core interface error: no suitable interface module
[01e38918] core libvlc error: interface "globalhotkeys,none" initialization failed
[01eec1f0] dummy interface: using the dummy interface module...
[72b02978] v4l2 demux error: cannot map buffer 0: No such device
[72b02978] v4l2 demux error: not a radio tuner device
[72b03f40] v4l2 access error: cannot set format: Invalid argument
[73b00510] core input error: open of `v4l2:///dev/video0' failed
[73b00510] core input error: Your input can't be opened
[73b00510] core input error: VLC is unable to open the MRL 'v4l2:///dev/video0'. Check the log for details.
Any idea on what I could try? Thanks!
Using RPi 3 btw. with the camera v2.1
/dev/video0
appear after uv4l says "Device detected!"? Can you watch it with a webcam viewer such as guvcview? Any informative error messages if you add more uv4l logging. If userland UVC doesn't work out, how about using kernel-mode V4L2 with gst-rtsp-server?