diff --git a/birdnet-go/README.md b/birdnet-go/README.md index aa2174e92..b0d4ab31d 100644 --- a/birdnet-go/README.md +++ b/birdnet-go/README.md @@ -256,16 +256,20 @@ card_mod: ## Setting up a RTSP Source using VLC +VLC opens a TCP port but the stream is udp. Because of this will need to configure Birdnet-Go to use udp. Adjust the config.yaml file to udp or use the birdnet-go command line option: + +`--rtsptransport udp --rtsp rtsp://192.168.1.21:8080/stream.sdp` + ### Linux instructions Run vlc without an interface using one of these commands: ```bash # This should work for most devices -/usr/bin/vlc -I dummy -vvv alsa://hw:0,0 --sout '#transcode{acodec=mpga}:rtp{dst=192.168.1.21,port=1234,proto=tcp,sdp=rtsp://192.168.1.21:8080/stream.sdp}' +/usr/bin/vlc -I dummy -vvv alsa://hw:0,0 --no-sout-all --sout-keep --sout '#transcode{acodec=mpga}:rtp{sdp=rtsp://:8080/stream.sdp}' # Try this if the first command does not work -/usr/bin/vlc -I dummy -vvv alsa://hw:4,0 --sout '#rtp{dst=192.168.1.21,port=1234,proto=tcp,sdp=rtsp://192.168.1.21:8080/stream.sdp}' +/usr/bin/vlc -I dummy -vvv alsa://hw:4,0 --no-sout-all --sout-keep --sout '#rtp{sdp=rtsp://:8080/stream.sdp}' ``` Run `arecord -l` to get microphone hardware info @@ -299,7 +303,7 @@ After=network-online.target [Service] Type=simple StandardOutput=journal -ExecStart=/usr/bin/vlc -I dummy -vvv alsa://hw:0,0 --sout '#transcode{acodec=mpga}:rtp{dst=192.168.1.21,port=1234,proto=tcp,sdp=rtsp://192.168.1.21:8080/stream.sdp}' +ExecStart=/usr/bin/vlc -I dummy -vvv alsa://hw:0,0 --sout '#transcode{acodec=mpga}:rtp{sdp=rtsp://:8080/stream.sdp}' User=someone Group=somegroup