Code: Select all
raspivid -vf -hf -o - -t 0 -w 1920 -h 1080 -fps 30 -b 1500000 | cvlc -vvv stream:///dev/stdin --sout '#rtp{access=udp,sdp=rtsp://:8554/stream}' :demux=h264
What I need to figure out, is how to change that command so that the stream coming out of it is in the MJEPG format, I tried to change it in various ways, such as
Code: Select all
raspivid -vf -hf -o - -t 0 -w 1920 -h 1080 -fps 30 -b 1500000 | cvlc -vvv stream:///dev/stdin --sout '#transcode{vcodec=MJPG,vb=800}:standard{access=http,mux=mpjpeg,dst=:18223/},#rtp{access=udp,sdp=rtsp://:8554/stream}' :demux=h264
If you could tell me how to change the command so it streams in mjepg I would be ETERNALLY grateful.