I’ve managed to get video feed from my tapo cameras into HA via frigate, but no matter what I try I can’t get audio in the streams
mqtt:
enabled: true
host: core-mosquitto
port: 1883
user: REDACTED
password: REDACTED
#detectors:
# coral:
# type: edgetpu
# device: pci
go2rtc:
streams:
lucas_hd:
- rtsp://rtspstream:[email protected]:554/stream1
- "ffmpeg:lucas_hd#audio=aac"
#- tapo://[email protected]
lucas_sd:
- rtsp://rtspstream:[email protected]:554/stream2
- "ffmpeg:lucas_sd#audio=aac"
objects:
track:
- person
- cat
cameras:
lucas_camera:
enabled: True
ffmpeg:
output_args:
record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/lucas_hd
input_args: preset-rtsp-restream
roles:
- record
#- audio
- path: rtsp://127.0.0.1:8554/lucas_sd
input_args: preset-rtsp-restream
roles:
- detect
# audio:
# enabled: True
# listen:
# - crying
# - fire_alarm
# - scream
# - yell
# - groan
# - wheeze
# - sneeze
# - smoke_detector
# - breaking
# - smash
# - fart
detect:
enabled: True
record:
enabled: True
snapshots:
enabled: True
live:
stream_name: lucas_hd
My go2rtc steam info is like this
{
"producers": [
{
"type": "RTSP active producer",
"url": "rtsp://192.168.0.152:554/stream1/",
"remote_addr": "192.168.0.152:554",
"user_agent": "go2rtc/1.8.4",
"sdp": "REMOVED FOR BREVITY",
"medias": [
"video, recvonly, H.264 Main 5.0",
"audio, recvonly, PCMA/8000"
],
"receivers": [
"96 H264, bytes=636730344, senders=1",
"8 PCMA/8000, bytes=97463936, senders=1"
],
"recv": 743774828
},
{
"type": "RTSP passive producer",
"url": "rtsp://127.0.0.1:8554/5a4985bb6269ea6056d31a03f187227e",
"remote_addr": "127.0.0.1:40682",
"user_agent": "ffmpeg/go2rtc",
"sdp": "REMOVED FOR BREVITY",
"medias": [
"audio, recvonly, MPEG4-GENERIC/8000"
],
"receivers": [
"96 MPEG4-GENERIC/8000, bytes=2037181, senders=1"
],
"recv": 2237633
}
],
"consumers": [
{
"type": "RTSP passive consumer",
"url": "rtsp://127.0.0.1:8554/lucas_hd?audio",
"remote_addr": "127.0.0.1:40670",
"user_agent": "go2rtc/ffmpeg",
"sdp": "REMOVED FOR BREVITY",
"medias": [
"audio, sendonly, ANY"
],
"senders": [
"96 PCMA/8000, bytes=97463936, receivers=1"
],
"send": 100582784
},
{
"type": "RTSP passive consumer",
"url": "rtsp://127.0.0.1:8554/lucas_hd",
"remote_addr": "127.0.0.1:40664",
"user_agent": "FFmpeg Frigate/0.13.2-6476f8a",
"sdp": "REMOVED FOR BREVITY",
"medias": [
"video, sendonly, H264, H265",
"audio, sendonly, MPEG4-GENERIC"
],
"senders": [
"96 H264, bytes=636730344, receivers=1",
"97 MPEG4-GENERIC/8000, bytes=2037181, receivers=1"
],
"send": 648369200
}
]
}
Really not sure what else to try, please help