Hello all, I've had no luck in the pi or arducam (camera manufacturer) forum with any responses so figured I'd go right to the source.
I have a raspi that had the ribbon cable camera that I use as a security cam. Right now it works fine with a script that starts up automatically that uses VLC to put the stream to port 8083 via http so with port forwarding, I can access it very easily anywhere I can install VLC again. Anywho, the low light performance is terrible, so I saw the same company offered a lolight version but its USB. I can't figure out how to get VLC to stream that to 8083 now. The original code used raspivid which does not support USB access.
raspivid -o - -t 0 -w 1280 -h 720 -fps 30 | cvlc -vvv stream:///dev/stdin --sout ‘#standard{access=http,mux=ts,dst=:8083}’ :demux=h264
the codes I've tried to replace it with so far finding via interweb searches seem to be close but no cigar.
cvlc v4l2:///dev/video0:chroma=h264 --sout :standard{access=http,mux=ts,mime=video/ts,dst=:8083}
(this starts to run but it reports 1 line back and doesnt proceed past it:
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
cvlc v4l2:// :v4l2-dev=/dev/video0 | cvlc -vvv stream:///dev/stdin --sout ‘#standard{access=http,mux=ts,dst=:8083}’ :demux=h264
(this starts a VLC instance and shows the camera video, but there is nothing being broadcast to 8083, plus i imagine having the video being shown in a VLC instance on the pi the entire time would kill the already iffy frame rate with a second remote viewing)
cvlc v4l2:///dev/video0:chroma=h264 | cvlc -vvv stream:///dev/v/stdin --sout '#standard{access=http,mux=ts,mime=video/ts,dst=:8083}' :demux=h264
(this starts a vlc instance like above too but no stream but shows below:)
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
VLC media player 3.0.17.4 Vetinari (revision 3.0.13-8-g41878ff4f2)
libEGL warning: DRI2: failed to authenticate
any help would be greatly appreciated, i'm not savvy on command lines beyond copying what i see any making adjustments to the obvious.
thank you!
ps. if it matters,its arducam 1080p low light wdr cmos imx291, from the box: number x002hzmsph ub020201
and shows up as "Bus 001 Device 004: ID 0c45:6366 Microdia" on lsusb. the camera is definitely working, and using the VLC gui app I can see video by selecting the capture device or the 1 code above that. i also tried using the gui vlc stream guide but that wasnt working either and it doesnt let you select a port. i tried putting in the dst=:8083 in the code it generates for you and without, but still didnt work. it would show the video in vlc, but no stream starts that i could find even at 8080 which i read was the default.