Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5335

Beginners • Re: Raspberry Pi 5 external USB camera fail

$
0
0
-bash: cvlc: command not found
As the pi5 is headless, on my headless Pi5 running Bookworm 64-bit LITE I installed vlc, then the camera streaming worked fine.

Code:

sudo apt install vlc
Then we stream as before

Code:

cvlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=h264,vb=800,acodec=none}:rtp{sdp=rtsp://:8080/}'
And we look at it using VLC on a Win10 PC (or other), Open Network stream

Code:

rtsp://192.168.1.152:8080/
I retried it and this time I was able to see the stream in VLC player on my PC Desktop. I'm unclear why it didn't work earlier, the only difference being that venv was active this time.

So the webcam is working when run manually. How do I get it streaming automatically from reboot and also utilise the stream in OctoPrint and Obico?

Statistics: Posted by PythonesqueSpam — Fri Mar 01, 2024 2:47 pm



Viewing all articles
Browse latest Browse all 5335

Trending Articles