QuantumEntangledAndy / neolink

An RTSP bridge to Reolink IP cameras
GNU Affero General Public License v3.0
297 stars 44 forks source link

Frigate - Streaming with audio stops #91

Closed Veuchez closed 1 year ago

Veuchez commented 1 year ago

Today I managed to configure Frigate with the audio stream. Unfortunately I notice that when the audio "skips", the stream stops. I attach the log. log2.txt The cameras Reolink Argus 3 PRO are at 1536kbps What are all those "Pausing" that I see in the log? Here is my Frigate configuration:

mqtt:
  enabled: False  

ffmpeg:
  hwaccel_args: preset-vaapi
  output_args:
    record: preset-record-generic-audio-copy

cameras:
  c5:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.3.170:8554/c5 # 
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      enabled: False 
      width: 2560
      height: 1440

go2rtc:
  streams:
    c5:
      - "ffmpeg:rtsp://192.168.0.150:8554/c5#audio=aac"
      - rtsp://192.168.0.150:8554/c5
QuantumEntangledAndy commented 1 year ago

Not quite sure what you want to know about here. Pausing in the log usually happens when the buffer exhausts, unless you are talking about the pause mode? Perhaps post the log.

I don't think the audio is the issue here, just a symptom. Can you try and replicate in subStream.