#No audio - Frigate

1 messages · Page 1 of 1 (latest)

little wren
#

is go2RTC bundled with Frigate? The frigate document says it is bundled. So I am assuming it is do I still need have that as an add-on or is it just part of frigate?

novel perch
#

it is entirely built into frigate, in most cases there is no need to have go2rtc installed separately

little wren
#

Do I need to configure go2rtc to use cameras with audio in HA?

novel perch
#

For live view, yes

little wren
novel perch
#

Yes

#

Assuming it is enabled

little wren
#

using the camera Amcrest internal web I have audio. I'm really not sure what I'm doing. I'm just trying everything I can find on the website across everywhere and seeing if anything works below as my current frigate YAML. The picture seems like it's good when a recording is detected from motion the green icon on the top left of the recording shows a person and also the audio symbol. So I'm guessing it detected there was audio, but who knows where it went or how we get it back. What am I doing wrong? I also enabled the ports in the configuration and went to the go2rtc web on port 1984 and I did not detect audio there either

detectors:
  coral:
    type: edgetpu
    device: usb


go2rtc:
  streams:
    A1_Test:
      - rtsp://admin:MonteVista1550@10.215.81.42:554/cam/realmonitor?channel=1&subtype=0
      - ffmpeg:camera.A1_Test#audio=aac

audio: # <- enable audio events for all camera
  enabled: True

record:
  enabled: True
  retain:
    days: 3
    mode: all
  events:
    retain:
      default: 30
      mode: motion

snapshots:
  enabled: true
  timestamp: true
  bounding_box: true
  retain:
    default: 3

cameras:
  A1_Test:
    enabled: true
    ffmpeg:
      inputs:
        - path: rtsp://admin:MonteVista1550@10.215.81.42:554/cam/realmonitor?channel=1&subtype=0
          roles:
            - record
            - detect
            - audio

    objects:
      track:
        - person
      filters:
        person:
          threshold: 0.7

    audio:
      enabled: true
      max_not_heard: 30
      min_volume: 300
      listen:
        - scream
        - speech
        - yell
        - car
        - bark
        - bike
        - motorcycle

    detect:
      enabled: true #
      width: 1280
      height: 720
#

No audio - Frigate

little wren
#

The only thing I saw in the doc was this but that didnt help. Any other ideas? Wonder if someone could send me the frigate yaml that they have running HA

  output_args:
    record: preset-record-generic-audio-aac```
novel perch
#

That's all that is required for audio from frigate

#

If you have no audio in new recordings then that's most likely because audio isn't enabled in the cameras settings

little wren
#

OK, what I did is installed go2RTC as a standalone. I stopped frigate from running and started go2rtc by itself. I then went to the web on Port 1984 and the camera looked good and has full audio. Works great

I then copied the streams configuration and pasted it into the frigate yaml. I shut off the standalone go2RTC. I started frigate and went to the same web on Port 1984. The picture looks good, but there's no audio.

I'm sure somebody else must be doing the same thing. I'm not sure if it's a bug or I have some weird configuration or what. It should've worked whether it was running standalone or as part of the bundle with frigate. Maybe I need to report this or something. I am completely lost about what to try now.

  streams:
    A1_Test:
      - rtsp://admin:MonteVista1550@10.215.81.42:554/cam/realmonitor?channel=1&subtype=0
      - ffmpeg:camera.A1_Test#audio=aac
novel perch
#

I answered on the report, but the reason the behavior is different is because frigate sets specific preferences on go2rtc so it behaves the way frigate needs

#

a small config change will make this work as expected