question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Camera Support]:

See original GitHub issue

Describe the problem you are having

stream stops. detection does not work. ffmpeg errors. Websock terminates

Version

0.10.1-83481AF

Frigate config file

mqtt:
  host: 192.168.1.214
  user: mqtt
  password: Brunhilde01

cameras:
  deurbel:
    mqtt:
      timestamp: True
      bounding_box: True
      crop: True
      quality: 100
      height: 500
    ffmpeg:
      input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts -use_wallclock_as_timestamps 1
      output_args:
        record: 
          -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 
          -c:v libx264 -an
 #       rtmp: 
 #         -c:v libx264 -an -f flv
      inputs:
        - path: rtsp://marc:Brunhilde01@192.168.1.44:88/videoSub
          roles:
            - detect
        - path: rtsp://marc:Brunhilde01@192.168.1.44:88/videoMain
          roles:    
            - record
#            - rtmp
#            - clips
#            - snapshots
    rtmp:
      enabled: false
    record:
      enabled: True
      retain:
        days: 2
        mode: motion
    snapshots:
      enabled: True
      timestamp: True
      retain:
        default: 1
    detect:
      width: 2560
      height: 1440
      fps: 20

  voordeur:
    mqtt:
      timestamp: False
      bounding_box: False
      crop: True
      quality: 100
      height: 500
    ffmpeg:
      inputs:
        - path: rtsp://marc:Brunhilde01@192.168.1.43:88/videoMain
          roles:
            - detect
            - record
#            - rtmp
#            - clips
#            - snapshots
    rtmp:
      enabled: false
    record:
      enabled: True
      retain:
        days: 2
        mode: motion
    snapshots:
      enabled: True
      timestamp: True
      retain:
        default: 1
    detect:
      width: 1920
      height: 1080
      fps: 20
    objects:
      track:
        - person

  voortuin:
    mqtt:
      timestamp: True
      bounding_box: True
      crop: True
      quality: 100
      height: 500
    ffmpeg:
      input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts -use_wallclock_as_timestamps 1
      output_args:
        record: 
          -f segment 
          -segment_time 10 
          -segment_format mp4 
          -reset_timestamps 1 
          -strftime 1 
          -c:v libx264 -an
#        rtmp: 
#          -c:v libx264 -an 
#          -f flv
      inputs:
        - path: rtsp://marc:Brunhilde01@192.168.1.42:88/videoSub
          roles:
            - detect        
        - path: rtsp://marc:Brunhilde01@192.168.1.42:88/videoMain    
          roles:    
            - record
#            - rtmp
#            - clips
#            - snapshots
    rtmp:
      enabled: false
    record:
      enabled: True
      retain:
        days: 2
        mode: motion
    snapshots:
      enabled: True
      timestamp: True
      retain:
        default: 1
    detect:
      width: 1280
      height: 960
      fps: 20
    objects:
      track:
        - person
#        - motorcycle
#        - bicycle

Relevant log output

[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2022-07-08 14:27:06] frigate.app                    INFO    : Starting Frigate (0.10.1-83481af)
[2022-07-08 14:27:06] frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
[2022-07-08 14:27:06] peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
[2022-07-08 14:27:06] peewee_migrate                 INFO    : There is nothing to migrate
[2022-07-08 14:27:06] frigate.app                    INFO    : Output process started: 215
[2022-07-08 14:27:06] detector.cpu                   INFO    : Starting detection process: 214
[2022-07-08 14:27:06] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
[2022-07-08 14:27:06] frigate.app                    INFO    : Camera processor started for deurbel: 218
[2022-07-08 14:27:06] frigate.app                    INFO    : Camera processor started for voordeur: 219
[2022-07-08 14:27:06] frigate.app                    INFO    : Camera processor started for voortuin: 220
[2022-07-08 14:27:06] ws4py                          INFO    : Using epoll
[2022-07-08 14:27:06] frigate.app                    INFO    : Capture process started for deurbel: 221
[2022-07-08 14:27:06] frigate.app                    INFO    : Capture process started for voordeur: 228
[2022-07-08 14:27:06] frigate.app                    INFO    : Capture process started for voortuin: 233
[2022-07-08 14:27:07] ws4py                          INFO    : Using epoll
[2022-07-08 14:31:25] ws4py                          INFO    : Managing websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:35102]
[2022-07-08 14:31:30] ws4py                          INFO    : Terminating websocket [Local => 127.0.0.1:8082 | Remote => 127.0.0.1:35102

FFprobe output from your camera

not available on HassOs

Frigate stats

No response

Operating system

HassOS

Install method

HassOS Addon

Coral version

CPU (no coral)

Network connection

Wired

Camera make and model

Foscam VD1 and other Foscams

Any other information that may be helpful

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:40

github_iconTop GitHub Comments

1reaction
mstraus66commented, Jul 8, 2022

Maybe my LAN is botched somewhere. Been having issues since I added the Tinkerboard en Jetson. No idea why but I will investigate.

1reaction
mstraus66commented, Jul 8, 2022

image

Read more comments on GitHub >

github_iconTop Results From Across the Web

Camera Support
Providing Support and Cameras for Broadcast, Live, Multi-cam and Single camera productions, for more than 25 years. Multi-cam.
Read more >
Camera Supports & Mounts | B&H Photo Video
Shop B&H for our huge inventory of Camera Supports & Mounts including DSLR Video Supports & Rigs, Extension Shooting Poles, Counter and Chest...
Read more >
Camera Support
AW Shoulder Body Mount Support Pad Stabilizer for Video DV Camcorder HD DSLR DV Camera for Video Shooting. Camcorder, Camera · 4.0 out...
Read more >
Camera Support Equipment and Products
Our store has a large selection of camera support gear to suit the needs of professional camera operators and enthusiasts for prosumer ...
Read more >
Buy Camera Support Systems Online
Ikan is the premiere online source for camera support systems. Our professional gear includes tripods, monopods, sliders, and more equipment to suit your ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found