[Config Support]: Recorded historic videos are missing audio #12158
-
Describe the problem you are havingHello, I am using frigate with Hikvision camera that has audio option. when I look live streaming I can see stream with audio, however when I try to review history audio is not available, could you please suggest what configuration I did wrong? Version0.14.0-4e5a6eb Frigate config filemqtt:
host: 192.168.0.186
user: mqtt-frigate
password: *****
birdseye:
enabled: false
database:
path: /db/frigate.db
ffmpeg:
hwaccel_args: preset-vaapi
detectors:
coral:
type: edgetpu
device: usb
detect:
width: 1600
height: 900
fps: 5
snapshots:
enabled: true
retain:
default: 4
record:
enabled: true
retain:
days: 4
mode: motion
events:
retain:
default: 14
mode: active_objects
objects:
track:
- person
- cat
- car
motion:
lightning_threshold: 0.7
go2rtc:
streams:
rtsp_svet:
- rtsp://****:*****@192.168.0.156:554/Streaming/Channels/101
cameras:
svetaine:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/rtsp_svet
roles:
- record
- detect
detect:
fps: 4
objects:
track:
- cat
- person
filters:
person:
min_score: 0.5
threshold: 0.77
mask: 0.326,0,0.35,0.131,0.363,0.281,0.144,0.301,0.141,0.08
record:
retain:
days: 4
mode: motion
events:
retain:
default: 4
mode: motion
live:
stream_name: rtsp_svet
motion:
threshold: 30
contour_area: 12
improve_contrast: 'true'
version: 0.14 Relevant log outputthere is no error in the log Frigate stats{"cameras":{"garazas":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":446,"detection_enabled":true,"detection_fps":10.2,"ffmpeg_pid":462,"pid":390,"process_fps":5.2,"skipped_fps":0.1},"kaire":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":480,"detection_enabled":true,"detection_fps":1.0,"ffmpeg_pid":486,"pid":422,"process_fps":5.0,"skipped_fps":0.0},"katiline":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":4.1,"capture_pid":458,"detection_enabled":true,"detection_fps":7.0,"ffmpeg_pid":461,"pid":394,"process_fps":4.1,"skipped_fps":0.0},"kiemas":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":463,"detection_enabled":true,"detection_fps":52.3,"ffmpeg_pid":471,"pid":406,"process_fps":4.1,"skipped_fps":1.3},"priekis":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":473,"detection_enabled":true,"detection_fps":0.9,"ffmpeg_pid":479,"pid":416,"process_fps":5.1,"skipped_fps":0.0},"stogine":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.0,"capture_pid":469,"detection_enabled":true,"detection_fps":6.9,"ffmpeg_pid":478,"pid":412,"process_fps":5.0,"skipped_fps":0.3},"svetaine":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":4.1,"capture_pid":488,"detection_enabled":true,"detection_fps":13.5,"ffmpeg_pid":500,"pid":438,"process_fps":3.9,"skipped_fps":0.4},"terasa":{"audio_dBFS":0.0,"audio_rms":0.0,"camera_fps":5.1,"capture_pid":484,"detection_enabled":true,"detection_fps":6.0,"ffmpeg_pid":496,"pid":428,"process_fps":5.2,"skipped_fps":0.0}},"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"117":{"cmdline":"python3 -u -m frigate","cpu":"0.0","cpu_average":"14","mem":"3.8"},"123":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"132":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.2"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"160":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"161":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"162":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"163":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"168":{"cmdline":"nginx: cache manager process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"17":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"176":{"cmdline":"nginx: cache loader process","cpu":"0.0","cpu_average":"0","mem":"0.1"},"24":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"311":{"cmdline":"bash ./run.user certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"33":{"cmdline":"s6-supervise certsync-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"336":{"cmdline":"sleep 60","cpu":"0.0","cpu_average":"0","mem":"0.0"},"34":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"340":{"cmdline":"frigate.logger ","cpu":"0.0","cpu_average":"0","mem":"1.8"},"342":{"cmdline":"frigate.recording_manager","cpu":"0.0","cpu_average":"4","mem":"2.6"},"344":{"cmdline":"frigate.review_segment_manager","cpu":"0.0","cpu_average":"0","mem":"2.2"},"370":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(71)","cpu":"0.0","cpu_average":"0","mem":"0.1"},"371":{"cmdline":"frigate.detector.coral","cpu":"0.0","cpu_average":"24","mem":"2.4"},"373":{"cmdline":"frigate.output ","cpu":"0.0","cpu_average":"8","mem":"2.3"},"390":{"cmdline":"frigate.process:garazas","cpu":"0.0","cpu_average":"4","mem":"2.5"},"394":{"cmdline":"frigate.process:katiline","cpu":"0.0","cpu_average":"0","mem":"2.3"},"406":{"cmdline":"frigate.process:kiemas","cpu":"0.0","cpu_average":"12","mem":"2.7"},"412":{"cmdline":"frigate.process:stogine","cpu":"0.0","cpu_average":"4","mem":"2.4"},"416":{"cmdline":"frigate.process:priekis","cpu":"0.0","cpu_average":"0","mem":"2.5"},"422":{"cmdline":"frigate.process:kaire","cpu":"0.0","cpu_average":"0","mem":"2.4"},"428":{"cmdline":"frigate.process:terasa","cpu":"0.0","cpu_average":"0","mem":"2.5"},"438":{"cmdline":"frigate.process:svetaine","cpu":"0.0","cpu_average":"0","mem":"2.5"},"446":{"cmdline":"frigate.capture:garazas","cpu":"0.0","cpu_average":"0","mem":"2.3"},"45":{"cmdline":"/package/admin/s6-2.11.3.2/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"458":{"cmdline":"frigate.capture:katiline","cpu":"0.0","cpu_average":"0","mem":"2.2"},"46":{"cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"461":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_kati_sub -r 4 -vf fps=4,scale_vaapi=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"0","mem":"0.6"},"462":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_gara -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/garazas@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=1600:h=900:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"4","mem":"0.9"},"463":{"cmdline":"frigate.capture:kiemas","cpu":"0.0","cpu_average":"0","mem":"2.3"},"469":{"cmdline":"frigate.capture:stogine","cpu":"0.0","cpu_average":"0","mem":"2.3"},"471":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_kiem -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/kiemas@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=1600:h=900:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"3","mem":"0.9"},"473":{"cmdline":"frigate.capture:priekis","cpu":"0.0","cpu_average":"0","mem":"2.3"},"474":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_kati -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/katiline@%Y%m%d%H%M%S%z.mp4","cpu":"0.0","cpu_average":"0","mem":"0.3"},"478":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_stog -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/stogine@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=1600:h=900:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"3","mem":"0.9"},"479":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_prie -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/priekis@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=1600:h=900:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"3","mem":"0.9"},"480":{"cmdline":"frigate.capture:kaire","cpu":"0.0","cpu_average":"0","mem":"2.3"},"484":{"cmdline":"frigate.capture:terasa","cpu":"0.0","cpu_average":"0","mem":"2.3"},"486":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_kair -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/kaire@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=1600:h=900:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"3","mem":"1.0"},"488":{"cmdline":"frigate.capture:svetaine","cpu":"0.0","cpu_average":"0","mem":"2.3"},"496":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_tera -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/terasa@%Y%m%d%H%M%S%z.mp4 -r 5 -vf fps=5,scale_vaapi=w=1600:h=900:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"3","mem":"1.0"},"500":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel_flags allow_profile_mismatch -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -user_agent FFmpeg Frigate/0.14.0-4e5a6eb -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/rtsp_svet -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/svetaine@%Y%m%d%H%M%S%z.mp4 -r 4 -vf fps=4,scale_vaapi=w=1600:h=900:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"0.0","cpu_average":"3","mem":"0.9"},"637":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1600x900 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"642":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -threads 1 -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"647":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1600x900 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"652":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1600x900 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"657":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1600x900 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"662":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1600x900 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"667":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1600x900 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"672":{"cmdline":"ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1600x900 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.2"},"678":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"},"747":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(60)","cpu":"0.0","cpu_average":"0","mem":"0.1"},"800":{"cmdline":"ffmpeg -hide_banner -y -i /tmp/cache/katiline@20240625181909+0300.mp4 -c copy -movflags +faststart /media/frigate/recordings/2024-06-25/15/katiline/19.09.mp4","cpu":"0.0","cpu_average":"0","mem":"0.4"},"83":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"87":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"88":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"91":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync","cpu":"0.0","cpu_average":"0","mem":"0.0"},"98":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"0.0","cpu_average":"7","mem":"0.4"},"frigate.full_system":{"cpu":"0.0","mem":"61.6"}},"detection_fps":97.8,"detectors":{"coral":{"detection_start":0.0,"inference_speed":8.22,"pid":371}},"gpu_usages":{"intel-vaapi":{"gpu":"14.97%","mem":"-%"}},"processes":{"go2rtc":{"pid":98},"logger":{"pid":340},"recording":{"pid":342},"review_segment":{"pid":344}},"service":{"last_updated":1719328764,"latest_version":"unknown","storage":{"/dev/shm":{"free":480.5,"mount_type":"tmpfs","total":512.0,"used":31.5},"/media/frigate/clips":{"free":548440.0,"mount_type":"cifs","total":1876684.3,"used":1328244.2},"/media/frigate/recordings":{"free":548440.0,"mount_type":"cifs","total":1876684.3,"used":1328244.2},"/tmp/cache":{"free":876.2,"mount_type":"tmpfs","total":953.7,"used":77.5}},"temperatures":{},"uptime":26,"version":"0.14.0-4e5a6eb"}} Operating systemProxmox Install methodDocker Compose Object DetectorCoral Any other information that may be helpfulConfig file is trimmed to one camera but in principal same setup is kept to all 8 cameras. however only this camera has option to record audio |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 8 replies
-
You need to enable audio in recordings https://docs.frigate.video/troubleshooting/faqs#audio-in-recordings |
Beta Was this translation helpful? Give feedback.
-
Now I changed config to this:
but result is still the same when viewing historic records that were created after config change and reboot there still is no sound :( |
Beta Was this translation helpful? Give feedback.
-
same problem here, 0.14.0-f050c7b
|
Beta Was this translation helpful? Give feedback.
-
my hikvision cam is using G.711ulaw audio encoding. go2rtc: cameras: for others if that will be helpfull I marked in bold where the name has to match |
Beta Was this translation helpful? Give feedback.
my hikvision cam is using G.711ulaw audio encoding.
finally found some time to update config as per example and was able to make it work. I am really dumb in reading manual and still needed some time to figure out where naming wasnt correct. now the config is as bellow and it works !!!!
go2rtc:
streams:
svetaine:
- rtsp://xxxx:xxxx@192.168.0.156:554/Streaming/Channels/101
- "ffmpeg:svetaine#audio=aac"
cameras:
svetaine:
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
inputs:
- path: rtsp://127.0.0.1:8554/svetaine
roles:
- record
- detect
for others if that will be helpfull I marked in bold where the name has to match