#Recording Audio with Friage + Tapo C100

1 messages · Page 1 of 1 (latest)

crystal flicker
#

Here's my config:

detectors:
  coral:
    type: edgetpu
    device: usb

mqtt:
  host: 192.168.0.10
  user: user
  password: pass
  
birdseye:
  enabled: True
  mode: continuous

record:
  enabled: True

ffmpeg:
  output_args:
    record: preset-record-generic-audio-aac

go2rtc:
  streams:
    Front:
      - "ffmpeg:rtsp://camuser:password@192.168.0.39:554/stream1#video=copy#audio=copy#audio=opus"

cameras:
  Front: 
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/Front
          roles:
              - record
        - path: rtsp://camuser:password9@192.168.0.39:554/stream2
          roles:
              - detect
    record:
      enabled: true
      events:
        retain: 
          default: 31
          mode: active_objects
      retain:
        days: 2
        mode: all
    detect:
      width: 640 
      height: 360 
    snapshots:
      enabled: True  
buoyant tapir
#

run ffprobe on the camera in the system page

crystal flicker
#
FFPROBE OUTPUT
Stream 0:
Return Code: 0

Video:

Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 1920x1080
FPS: 15/1

Stream 1:
Return Code: 0

Video:

Codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
Resolution: 640x360
FPS: 15/1


Audio:

Codec: PCM A-law / G.711 A-law

buoyant tapir
#

You need to change your go2rtc config to "ffmpeg:rtsp://camuser:password@192.168.0.39:554/stream1#video=copy#audio=copy#audio=aac" because your camera uses PCMA audio