[Config Support]: audio config for stream #16836
Replies: 4 comments 18 replies
-
You need to match the go2rtc stream name (right now you have |
Beta Was this translation helpful? Give feedback.
-
I got no sound when i open the live view for my kamera KameraKinderzimmer |
Beta Was this translation helpful? Give feedback.
-
IDK if its proper to post my own issue in this discussion? or should I open my own? Reolink Duo 2V, I cant get audio to work in live-view or recordings. Audio works in reolink app, VLC player, ZoneMinder (saved videos also have audio), etc. All my other cameras have audio working in frigate. I have the frontend served with a valid cert for my public domain, same behaviour using http/s and public url/local ip. Tried different output presets without luck. Its strange that its just this camera that I cant get audio to work. One interesting note is that I also don’t get a PiP button for the duo 2, all other cameras have the PiP and audio buttons that I can toggle. configffmpeg:
hwaccel_args: preset-nvidia
input_args: preset-rtsp-restream-low-latency
output_args:
record: preset-record-generic-audio-copy
go2rtc:
streams:
duo2v:
- ffmpeg:rtsp://admin:[email protected]/h264Preview_01_main#video=copy#audio=copy
- ffmpeg:duo2v_sub#audio=opus
duo2v_sub:
- ffmpeg:rtsp://admin:[email protected]/h264Preview_01_sub#video=copy#audio=copy # <--- AAC audio
# WebRTC needs opus audio codec
- ffmpeg:duo2v_sub#audio=opus
cameras:
alley:
enabled: true
genai:
enabled: false
use_snapshot: true
objects:
- person
required_zones:
- alleyway
- parking
ffmpeg:
# hwaccel_args: preset-nvidia
# output_args:
# record: preset-record-generic-audio-copy
inputs:
- path: rtsp://127.0.0.1:8554/duo2v
input_args: preset-rtsp-restream
roles:
# - detect
- record
- audio
- path: rtsp://127.0.0.1:8554/duo2v_sub
input_args: preset-rtsp-restream
roles:
- detect ffprobe outputInput #0, rtsp, from 'rtsp://10.0.1.14:8554/duo2v':
Metadata:
title : go2rtc/1.9.2
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuv420p(progressive), 4096x1248, 90k tbr, 90k tbn, 180k tbc
Stream #0:1: Audio: aac (LC), 16000 Hz, mono, fltp Are there certain loggers I should put to debug/trace level to debug the audio issue? Thanks! |
Beta Was this translation helpful? Give feedback.
-
See this tip post: #14237 |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
Hey guys,
I try to make my stream in the home app (iPhone) and frigate in HA sending the sound the camera records. I tryed to use the docs for audio support (https://docs.frigate.video/configuration/live/#audio-support) but it seems I'm not able to do the correct config. I hope someone can help me out here.
I use a Reolink camera and in the reolink-stream via Reolink-app or in homeassistant its sending sound. Just frigate is not sending sound. I tryed out the streams i used for rtsp and there is sound aswell. I think i did something wrong in the config.
Thanks for you help guys!
Best regards
Timo
Version
0.15.0-cea210d
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
No response
Operating system
HassOS
Install method
HassOS Addon
docker-compose file or Docker CLI command
Dont know
Object Detector
Coral
Screenshots of the Frigate UI's System metrics pages
No response
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions