-
Notifications
You must be signed in to change notification settings - Fork 690
Description
Raspberry pi4, go2rtc version=1.9.9 platform=linux/arm64 revision=fa580c5,
config path=/etc/go2rtc.yaml
streams: mic: exec:ffmpeg -hide_banner -f alsa -channels 1 -ar 8000 -i hw:3,0 -c:a libopus -rtsp_transport tcp -f rtsp {output}
I get an error
[rtsp] error=streams: exec/rtsp
ALSA lib confmisc.c:165:(snd_config_get_card) Cannot get card index for 3
[alsa @ 0x559e93a4e0] cannot open audio device hw:3 (No such file or directory)
hw:3: Input/output error
stream=mic
sudo ffmpeg -channels 1 -ar 8000 -f alsa -i hw:3,0 -codec:a libopus "./audio.mkv"
works well, the sound is recorded
arecord -l
**** List of CAPTURE Hardware Devices ****
card 3: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
help pls