[Config Support]: No Audio on Records #12001
-
Describe the problem you are havingHi Guys, I have a problem with my recording. I am using a Tapo C225 Camera. This is my camera codec information: Codec: PCM ALAW (alaw) I am using the Frigate Home Assistant Add on Version0.13.2 Frigate config filemqtt:
enabled: True
host: 192.168.188.200
user: mqtt-user
password: PW
topic_prefix: frigate
detectors:
coral1:
type: edgetpu
device: pci:0
coral2:
type: edgetpu
device: pci:1
objects:
track:
- person
- cat
filters:
person:
min_area: 5000
max_area: 100000
birdseye:
enabled: True
mode: continuous
go2rtc:
streams:
Flur_main:
- rtsp:https://admin:[email protected]:554/stream1
- "ffmpeg:Flur_main#audio=opus#video=h264"
Flur_sub:
- rtsp:https://admin:[email protected]:554/stream2
- "ffmpeg:Flur_sub#audio=opus#video=h264"
cameras:
Flur_Kamera:
ffmpeg:
inputs:
- path: rtsp:https://127.0.0.1:8554/Flur_main?video=copy&audio=aac
input_args: preset-rtsp-restream
roles:
- record
- path: rtsp:https://127.0.0.1:8554/Flur_sub?video=copy
input_args: preset-rtsp-restream
roles:
- detect
output_args:
record: preset-record-generic-audio-aac
detect:
width: 1280
height: 720
fps: 8
snapshots:
enabled: True
record:
enabled: True
retain:
days: 4
events:
retain:
default: 14
live:
stream_name: Flur_sub Relevant log output2024-06-16 20:51:53.637087723 [INFO] Preparing Frigate...
2024-06-16 20:51:53.651296536 [INFO] Starting Frigate...
2024-06-16 20:51:54.939618975 [2024-06-16 22:51:54] frigate.app INFO : Starting Frigate (0.13.2-6476f8a)
2024-06-16 20:51:54.939699159 [2024-06-16 22:51:54] frigate.app INFO : Creating directory: /tmp/cache
2024-06-16 20:51:54.983238081 [2024-06-16 22:51:54] peewee_migrate.logs INFO : Starting migrations
2024-06-16 20:51:54.987466868 [2024-06-16 22:51:54] peewee_migrate.logs INFO : There is nothing to migrate
2024-06-16 20:51:54.991891923 [2024-06-16 22:51:54] frigate.app INFO : Recording process started: 305
2024-06-16 20:51:54.994358055 [2024-06-16 22:51:54] frigate.app INFO : go2rtc process pid: 89
2024-06-16 20:51:55.028591763 [2024-06-16 22:51:55] detector.coral1 INFO : Starting detection process: 315
2024-06-16 20:51:55.039107503 [2024-06-16 22:51:55] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
2024-06-16 20:51:55.039513308 [2024-06-16 22:51:55] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-06-16 20:51:55.039516179 [2024-06-16 22:51:55] detector.coral2 INFO : Starting detection process: 317
2024-06-16 20:51:55.039520612 [2024-06-16 22:51:55] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:1
2024-06-16 20:51:55.039522727 [2024-06-16 22:51:55] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-06-16 20:51:55.039538205 [2024-06-16 22:51:55] frigate.app INFO : Output process started: 319
2024-06-16 20:51:55.057942176 [2024-06-16 22:51:55] frigate.app INFO : Camera processor started for Flur_Kamera: 360
2024-06-16 20:51:55.062730865 [2024-06-16 22:51:55] frigate.app INFO : Capture process started for Flur_Kamera: 361
2024-06-16 20:55:25.111631146 [2024-06-16 22:55:25] watchdog.Flur_Kamera INFO : No frames received from Flur_Kamera in 20 seconds. Exiting ffmpeg...
2024-06-16 20:55:25.112111868 [2024-06-16 22:55:25] watchdog.Flur_Kamera INFO : Waiting for ffmpeg to exit gracefully...
2024-06-16 20:55:25.165349680 [2024-06-16 22:55:25] frigate.video ERROR : Flur_Kamera: Unable to read frames from ffmpeg process.
2024-06-16 20:55:25.165645424 [2024-06-16 22:55:25] frigate.video ERROR : Flur_Kamera: ffmpeg process is not running. exiting capture thread...
2024-06-16 20:55:35.168594281 [2024-06-16 22:55:35] watchdog.Flur_Kamera ERROR : Ffmpeg process crashed unexpectedly for Flur_Kamera.
2024-06-16 20:55:35.168816206 [2024-06-16 22:55:35] watchdog.Flur_Kamera ERROR : The following ffmpeg logs include the last 100 lines prior to exit.
2024-06-16 21:08:25.238191409 [2024-06-16 23:08:25] watchdog.Flur_Kamera INFO : No frames received from Flur_Kamera in 20 seconds. Exiting ffmpeg...
2024-06-16 21:08:25.238418564 [2024-06-16 23:08:25] watchdog.Flur_Kamera INFO : Waiting for ffmpeg to exit gracefully...
2024-06-16 21:08:25.273747510 [2024-06-16 23:08:25] frigate.video ERROR : Flur_Kamera: Unable to read frames from ffmpeg process.
2024-06-16 21:08:25.274490097 [2024-06-16 23:08:25] frigate.video ERROR : Flur_Kamera: ffmpeg process is not running. exiting capture thread...
2024-06-16 21:08:35.276775637 [2024-06-16 23:08:35] watchdog.Flur_Kamera ERROR : Ffmpeg process crashed unexpectedly for Flur_Kamera.
2024-06-16 21:08:35.276786025 [2024-06-16 23:08:35] watchdog.Flur_Kamera ERROR : The following ffmpeg logs include the last 100 lines prior to exit. Frigate statsNo response Operating systemHassOS Install methodHassOS Addon Object DetectorCoral Any other information that may be helpfulNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Tapo cameras have pcm audio by default. You should have go2rtc configured to transcode to aac audio not opus and you should not be doing h264 transcoding |
Beta Was this translation helpful? Give feedback.
Tapo cameras have pcm audio by default. You should have go2rtc configured to transcode to aac audio not opus and you should not be doing h264 transcoding