mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-31 04:44:05 +02:00
changes to vlc instructions
This commit is contained in:
@@ -256,16 +256,20 @@ card_mod:
|
|||||||
|
|
||||||
## Setting up a RTSP Source using VLC
|
## 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
|
### Linux instructions
|
||||||
|
|
||||||
Run vlc without an interface using one of these commands:
|
Run vlc without an interface using one of these commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# This should work for most devices
|
# 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
|
# 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
|
Run `arecord -l` to get microphone hardware info
|
||||||
@@ -299,7 +303,7 @@ After=network-online.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
StandardOutput=journal
|
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
|
User=someone
|
||||||
Group=somegroup
|
Group=somegroup
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user