#Frigate Reolink Http Stream not working.

1 messages · Page 1 of 1 (latest)

idle holly
#

Hi, I just installed 0.12. beta 6 and tied to get the http Stream to work. Unfortunately without success. The first error I had, was to get the HTTP URL working. I followed the instruction on the frigate help page however, it turns out I have to use https:// instead of http:// in the URL. Now I can see both streams in VLC. However, Frigate doesnt seem to be able to read it.

#

My config is the following:

  streams:
    Sandpitcam_high: 
      - https://192.168.1.21/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=admin&password=*password*
      - ffmpeg:Sandpitcam_high#audio=opus
    Sandpitcam_low: 
      - https://192.168.1.21/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=admin&password=*password*
      - ffmpeg:Sandpitcam_low#audio=opus

cameras:
  Sandpitcam:
    ffmpeg:
      output_args:
        record: preset-record-generic-audio-copy
      inputs:
        - path: rtsp://127.0.0.1:8554/Sandpitcam_high?video=copy&audio=aac
          input_args: preset-rtsp-restream
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/Sandpitcam_low?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      enabled: True
      fps: 12
      width: 896
      height: 672
    motion:
      mask:
        - 435,25,640,24,640,0,531,0,446,0
    live:
      stream_name: Sandpitcam_low
    objects:
  # Optional: list of objects to track from labelmap.txt (default: shown below)
      track:
        - person
        - bird```
#

The log locks like the following:

2023-02-01 22:59:15.570138622  [2023-02-01 23:59:15] frigate.video                  ERROR   : Sandpitcam: ffmpeg process is not running. exiting capture thread...
2023-02-01 22:59:24.980901996  [2023-02-01 23:59:24] watchdog.Sandpitcam            ERROR   : Ffmpeg process crashed unexpectedly for Sandpitcam.
2023-02-01 22:59:24.981238347  [2023-02-01 23:59:24] watchdog.Sandpitcam            ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-02-01 22:59:24.981424840  [2023-02-01 23:59:24] ffmpeg.Sandpitcam.detect       ERROR   : [rtsp @ 0x55bd15903c40] method DESCRIBE failed: 404 Not Found
2023-02-01 22:59:24.981707718  [2023-02-01 23:59:24] ffmpeg.Sandpitcam.detect       ERROR   : rtsp://127.0.0.1:8554/Sandpitcam_low?video=copy: Server returned 404 Not Found
2023-02-01 22:59:25.001520544  [2023-02-01 23:59:24] watchdog.Sandpitcam            ERROR   : No new recording segments were created for Sandpitcam in the last 120s. restarting the ffmpeg record process...
2023-02-01 22:59:25.002069150  [2023-02-01 23:59:24] watchdog.Sandpitcam            INFO    : Terminating the existing ffmpeg process...
2023-02-01 22:59:25.002992684  [2023-02-01 23:59:24] watchdog.Sandpitcam            INFO    : Waiting for ffmpeg to exit gracefully...```
bold hawk
#

why do you need to use https? that seems incorrect

#

you probably just haven't enabled http in the reolink device settings

idle holly
#

Okay, you are correct. It is working now. I disabled https and enabled http and changed the URL accordingly. Weird that it does not work with https 😮

#

Anyway, thanks for pointing this out! I did not know that I had to enable http as the https was set as default in reolink

clever geyser
#

i seem to have the same issue

#

when i put http it seems go2rtc is forcing it to be https

#

there seems to be no way to disable https on the devices either

its an option in the web interface but not on the desktop client.. strange