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.

0.11.0 Frigate not working !do u know why?[Config Support]:

See original GitHub issue

Describe the problem you are having

0.11.0 not working do u know why? green screen~~~~ raspberry pi2 Home Assistant 2022.9.7 Supervisor 2022.09.1 Operating System 9.0 前端版本: 20220907.2 - latest

Version

0.11

Frigate config file

mqtt:
  host: 192.168.10.157
  port: 1883
  user: yuhuanfan
  password: *********
  topic_prefix: frigate
  client_id: frigate
  stats_interval: 60

birdseye:
  enabled: True
  width: 1280
  height: 720
  quality: 8
  mode: objects

detectors:
  cpu1:
    type: cpu
    num_threads: 3

cameras:
  camera_1:
    ffmpeg:
      hwaccel_args: -c:v h264_v4l2m2m
      input_args: -avoid_negative_ts auto -fflags nobuffer+genpts+discardcorrupt -flags low_delay -rtsp_transport tcp -use_wallclock_as_timestamps 1 -timeout 2000000
      inputs:
        - path: rtsp://admin:VCOUTM@192.168.10.86:554/h264/ch1/main/av_stream
          roles:
            - record
            - rtmp
            - detect
      output_args:
        record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy
    rtmp:
      enabled: True

    record:
      enabled: True
      expire_interval: 60
      retain:
        days: 7
        mode: motion
      events:
        pre_capture: 5
        post_capture: 5

    objects:
      track:
        - person
    
    timestamp_style:
      position: "bl"
      format: "%H:%M:%S"
      color:
        red: 255
        green: 255
        blue: 255
      thickness: 5
      effect: "shadow"
    
    motion:
      threshold: 25
      mask:
        - 1222,675,1226,699,913,699,914,676
        - 496,180,335,720,301,720,212,550,116,288,66,21,116,0,490,0
        - 1280,720,986,720,941,586,998,360,1049,0,1280,0
        - 724,55,709,47,706,0,725,0
      improve_contrast: True

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-10-04 19:47:19] frigate.app                    INFO    : Starting Frigate (0.11.0-3846a13)
[2022-10-04 19:47:20] frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
[2022-10-04 19:47:20] peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
[2022-10-04 19:47:20] peewee_migrate                 INFO    : There is nothing to migrate
[2022-10-04 19:47:20] frigate.app                    INFO    : Output process started: 212
[2022-10-04 19:47:20] detector.cpu1                  INFO    : Starting detection process: 211
[2022-10-04 19:47:20] frigate.app                    INFO    : Camera processor started for camera_1: 215
[2022-10-04 19:47:20] frigate.edgetpu                WARNING : CPU detectors are not recommended and should only be used for testing or for trial purposes.
[2022-10-04 19:47:20] ws4py                          INFO    : Using epoll
[2022-10-04 19:47:20] frigate.app                    INFO    : Capture process started for camera_1: 218
[2022-10-04 19:47:22] ws4py                          INFO    : Using epoll
[2022-10-04 19:47:22] frigate.video                  ERROR   : camera_1: Unable to read frames from ffmpeg process.
[2022-10-04 19:47:22] frigate.video                  ERROR   : camera_1: ffmpeg process is not running. exiting capture thread...
[2022-10-04 19:47:40] watchdog.camera_1              ERROR   : Ffmpeg process crashed unexpectedly for camera_1.
[2022-10-04 19:47:40] watchdog.camera_1              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-10-04 19:47:40] ffmpeg.camera_1.detect         ERROR   : [rtsp @ 0x6a7080] Unable to open RTSP for listening
[2022-10-04 19:47:40] ffmpeg.camera_1.detect         ERROR   : rtsp://admin:VCOUTM@192.168.10.86:554/h264/ch1/main/av_stream: Cannot assign requested address
[2022-10-04 19:47:42] frigate.video                  ERROR   : camera_1: Unable to read frames from ffmpeg process.
[2022-10-04 19:47:42] frigate.video                  ERROR   : camera_1: ffmpeg process is not running. exiting capture thread...
[2022-10-04 19:47:50] watchdog.camera_1              ERROR   : Ffmpeg process crashed unexpectedly for camera_1.
[2022-10-04 19:47:50] watchdog.camera_1              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-10-04 19:47:50] ffmpeg.camera_1.detect         ERROR   : [rtsp @ 0x902080] Unable to open RTSP for listening
[2022-10-04 19:47:50] ffmpeg.camera_1.detect         ERROR   : rtsp://admin:VCOUTM@192.168.10.86:554/h264/ch1/main/av_stream: Cannot assign requested address
[2022-10-04 19:47:52] frigate.video                  ERROR   : camera_1: Unable to read frames from ffmpeg process.
[2022-10-04 19:47:52] frigate.video                  ERROR   : camera_1: Unable to read frames from ffmpeg process.
[2022-10-04 19:47:52] frigate.video                  ERROR   : camera_1: ffmpeg process is not running. exiting capture thread...
[2022-10-04 19:48:00] watchdog.camera_1              ERROR   : Ffmpeg process crashed unexpectedly for camera_1.
[2022-10-04 19:48:00] watchdog.camera_1              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-10-04 19:48:00] ffmpeg.camera_1.detect         ERROR   : [rtsp @ 0x1e33080] Unable to open RTSP for listening
[2022-10-04 19:48:00] ffmpeg.camera_1.detect         ERROR   : rtsp://admin:VCOUTM@192.168.10.86:554/h264/ch1/main/av_stream: Cannot assign requested address
[2022-10-04 19:48:02] frigate.video                  ERROR   : camera_1: Unable to read frames from ffmpeg process.
[2022-10-04 19:48:02] frigate.video                  ERROR   : camera_1: ffmpeg process is not running. exiting capture thread...
[2022-10-04 19:48:10] watchdog.camera_1              ERROR   : Ffmpeg process crashed unexpectedly for camera_1.
[2022-10-04 19:48:10] watchdog.camera_1              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-10-04 19:48:10] ffmpeg.camera_1.detect         ERROR   : [rtsp @ 0x1dfc080] Unable to open RTSP for listening
[2022-10-04 19:48:10] ffmpeg.camera_1.detect         ERROR   : rtsp://admin:VCOUTM@192.168.10.86:554/h264/ch1/main/av_stream: Cannot assign requested address
[2022-10-04 19:48:12] frigate.video                  ERROR   : camera_1: Unable to read frames from ffmpeg process.
[2022-10-04 19:48:12] frigate.video                  ERROR   : camera_1: ffmpeg process is not running. exiting capture thread...
[2022-10-04 19:48:21] watchdog.camera_1              ERROR   : Ffmpeg process crashed unexpectedly for camera_1.
[2022-10-04 19:48:21] watchdog.camera_1              ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
[2022-10-04 19:48:21] ffmpeg.camera_1.detect         ERROR   : [rtsp @ 0x54f080] Unable to open RTSP for listening
[2022-10-04 19:48:21] ffmpeg.camera_1.detect         ERROR   : rtsp://admin:VCOUTM@192.168.10.86:554/h264/ch1/main/av_stream: Cannot assign requested address
[2022-10-04 19:48:22] frigate.video                  ERROR   : camera_1: Unable to read frames from ffmpeg process.
[2022-10-04 19:48:22] frigate.video                  ERROR   : camera_1: ffmpeg process is not running. exiting capture thread...

Frigate stats

No response

Operating system

Debian

Install method

HassOS Addon

Coral version

CPU (no coral)

Any other information that may be helpful

No response

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:12

github_iconTop GitHub Comments

4reactions
yezzercommented, Oct 4, 2022

Interesting, if that is the case then you just set the input_args manually in the frigate config and use -stimeout.

FYI anyone else searching, I was having the green camera issue on arm32 RPi4, found this post and added input_args: -stimeout 10 - and I can now see my camera.

1reaction
simon-tietzecommented, Oct 5, 2022

Interesting, if that is the case then you just set the input_args manually in the frigate config and use -stimeout.

FYI anyone else searching, I was having the green camera issue on arm32 RPi4, found this post and added input_args: -stimeout 10 - and I can now see my camera.

Thanks, worked perfectly for me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

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