Encoder command to start stream on pi4-#1 with webcam attached:
Code: Select all
vlc -vvv v4l2:///dev/video0 --sout '#transcode{vcodec=h264,venc=x264{vf=scale=1},acodec=none}:rtp{dst=0.0.0.0,port=1234,sdp=rtsp://localhost:8080/test.sdp}'
Decoder command to view stream on pi4-#2 with hdmi screen attached:
Code: Select all
vlc rtsp://cm4-e45f01b6fd99.local:8080/test.sdp
vlc rtsp://cm4-e45f01b6fd99.local:8080/test.sdp
VLC media player 3.0.20 Vetinari (revision 3.0.20-0-g6f0d0ab126b)
[00f87490] vlcpulse audio output error: PulseAudio server connection failure: Connection refused
[00f962e0] main interface error: no suitable interface module
[00f08b50] main libvlc error: interface "globalhotkeys,none" initialization failed
[00f08b50] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[00fb9520] skins2 interface error: cannot initialize OSFactory
[00fb9520] [cli] lua interface: Listening on host "*console".
VLC media player 3.0.20 Vetinari
Command Line Interface initialized. Type `help' for help.
> Created new TCP socket 7 for connection
Created new TCP socket 7 for connection
[f1200a88] live555 demux error: Failed to connect with rtsp://cm4-e45f01b6fd99.local:8080/test.sdp
[f1202cc0] main stream error: connection failed: Connection refused
[f1202cc0] satip stream error: Failed to connect to RTSP server cm4-e45f01b6fd99.local:8080
[f1202cc0] main stream error: connection failed: Connection refused
[f1202cc0] access_realrtsp stream error: cannot connect to cm4-e45f01b6fd99.local:8080
[f1202cc0] main stream error: Connection failed
[f1202cc0] main stream error: VLC could not connect to "cm4-e45f01b6fd99.local:8080".
[f13006b0] main input error: Your input can't be opened
[f13006b0] main input error: VLC is unable to open the MRL 'rtsp://cm4-e45f01b6fd99.local:8080/test.sdp'. Check the log for details.