blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
17.31k stars 1.6k forks source link

Doorbell not working #1209

Closed jerryaycock closed 3 years ago

jerryaycock commented 3 years ago

I have cameras that work great in Frigate. Move to My Doorbell and it fails. Doorbell looks great in VLC. I have tried every L x W

detectors:
  cpu1:
    type: cpu
mqtt:
  host: 192.168.xx.xxx
  port: 1883
  client_id: xxxxx
  user: xxxx
  password: xxxx
  # Optional: interval in seconds for publishing stats (default: shown below)
  stats_interval: 60

cameras:
  office:
    ffmpeg:
      inputs:
        - path: rtsp://xxxx:xxxx@192.168.31.233:554/onvif1
          roles:
            - detect
            - rtmp
    width: 1920
    height: 1080
    fps: 5
    rtmp:
      # Required: Enable the live stream (default: True)
      enabled: true
    snapshots:
      # Optional: Enable writing jpg snapshot to /media/frigate/clips (default: shown below)
      # This value can be set via MQTT and will be updated in startup based on retained value
      enabled: true
      # Optional: print a timestamp on the snapshots (default: shown below)
      timestamp: true
      # Optional: draw bounding box on the snapshots (default: shown below)
      bounding_box: true
      # Optional: crop the snapshot (default: shown below)
      crop: False
#      # Optional: height to resize the snapshot to (default: original size)
#      height: 175
      # Optional: Camera override for retention settings (default: global values)
      retain:
        # Required: Default retention days (default: shown below)
        default: 10
        # Optional: Per object retention days
        objects:
          person: 15
    objects:
      track:
        - person
 * Starting nginx nginx
   ...done.
frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
peewee_migrate                 INFO    : There is nothing to migrate
frigate.mqtt                   INFO    : MQTT connected
frigate.app                    INFO    : Camera processor started for office: 40
detector.cpu1                  INFO    : Starting detection process: 37
frigate.app                    INFO    : Capture process started for office: 41
frigate.video                  INFO    : office: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : office: ffmpeg process is not running. exiting capture thread...
blakeblackshear commented 3 years ago

You didn't provide the requested information in the issue template. I need to know information about your doorbell camera and stream info from ffprobe to provide some guidance.

jerryaycock commented 3 years ago

Pasting. Hope it is all. I tried every WxL still Ebell no go in Frigate. Thanks for your help. Wyze cam in RTSP looks great. Doorbell Cam not. Tried all WxL

Version of frigate 1.13 (HA)

Config file Idetectors: cpu1: type: cpu mqtt: host: 192.168.xx.xxx port: 1883 client_id: xxxxx user: xxxx password: xxxx

Optional: interval in seconds for publishing stats (default: shown below)

stats_interval: 60

cameras: office: ffmpeg: inputs:


**Frigate container logs**
` * * Starting nginx nginx
   ...done.
frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
peewee_migrate                 INFO    : Starting migrations
There is nothing to migrate
peewee_migrate                 INFO    : There is nothing to migrate
frigate.mqtt                   INFO    : MQTT connected
frigate.app                    INFO    : Camera processor started for office: 40
frigate.app                    INFO    : Capture process started for office: 41
detector.cpu1                  INFO    : Starting detection process: 37
frigate.video                  INFO    : office: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : office: ffmpeg process is not running. exiting capture thread...
ffmpeg.office.detect           ERROR   : [rtsp @ 0x55bf90f58900] Nonmatching transport in server reply
ffmpeg.office.detect           ERROR   : rtsp://admin:Nomore73!d@192.168.31.xxxx/onvif1: Invalid data found when processing input
frigate.video                  INFO    : office: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
f
ffmpeg.office.detect           ERROR   : [rtsp @ 0x5577b03f6900] Nonmatching transport in server reply
ffmpeg.office.detect           ERROR   : rtsp://admin:Nomore73!d@192.168.31.233:554/onvif1: Invalid data found when processing input
frigate.video                  INFO    : office: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : office: ffmpeg process is not running. exiting capture thread...

``
Include relevant log output here

Frigate stats

Output from frigate's /api/stats endpoint

FFprobe from your camera

(h264 @ 600001ca13596F40] deblocking filter_idc 4 out of range wo [h264 @ @00001ca13596F40] decode slice header error eigus//SsnGEnipEReRICIeIST IER GLESINE INGE EFEEE [h264 @ 008@00@1ca13596F40] no frame! rave ected evecy ik seit Gols Be 264 @ @00001ca13596Ff ran deblocking filter ide 15 out of range eee Creer Pre mrere =|! !!doe's not work (h264 @ @8@0001ca13596fF40] decode slice header error Were is nakingtomieete: = = eee /h264 @ Q900001ca13596fT40 no frame! peewee_migrate INFO : There is nothing to migrate : : j ; |) frigate.mqtt INFO: -MQTT connected h264 @ 88@0001ca13596f40| deblocking filter _idc 7 out of range meer frigate.app INFO: Camera processor started for office: 39 r si 3 detector.cpul INFO : Starting detection process: 36 (h264 @ 68080001ca13596Ff40| decode slice header error | frigate.app INFO: Capture process started for office: 40 [h264 @ 000001ca13596f40] no frame! , Frigate. video INFO; office: ffmpeg process is not running. exitin, | (h264 @ 8@0@0001ca13596fF40] illegal reordering of pic nums_idc 7 sere [h264 @ @00001ca13596f40] illegal modification_of_pic_nums_idc 7 BI oo, concres RISP Vive concen warks cress. | Us Ce ELS ae CR itl Re LT = aol ac, ts Mage At gat, 2 heen el ry. ~ mee pier Bayicr! @ 900001ca13596F40 | no frame! a — SS ORE HES 22 APE not work (h264 @ 880001ca13596F40|] illegal memory management control operation 32 I have tried every IxW on onvifl cam Still fails green screen 2 —s ===) frigate.app INFO : Capture process started for office: 41

Last message repeated 1 times frigate. video INFO —: office: ffmpeg sent a broken frame. memoryvie [h264 @ 800001ca13596F40] deblocking filter_idc 4 out of range ee finneg office detect ERROR: [rtsp @ oxsetb61256900] Normatching ‘transport [h264 @ 900001ca13596F40] decode_slice_header error EEE frigate video rie HePtecy PeReE Gere © Eitkeh cea, MeROKySTA I (h264 @ @000@1ca13596Ff40] no frame! = a aan one rns tN (h264 @ @00001ca13596fF40] deblocking filter idc 15 out of range eS, : clea ae cia lle [h264 @ @0@0@01ca13596F40] decode slice header error — ae ee a A Oa (h264 @ 8@8@0001ca13596F40|] no frame! (h264 @ 8@00001ca13596fF40] deblocking filter _idc 7 out of range (h264 @ @8@0001ca13596fF40] decode slice header error (h264 @ 8@8@0001ca13596F40|] no frame! (h264 @ 8@0@0001ca13596fF40] illegal reordering of pic nums_idc 7 (h264 @ @8@0001ca13596f40] illegal modification of pic nums_idc 7 (h264 @ 8@8@0001ca13596fF40| decode slice header error (h264 @ 8@00001ca13596F40] no frame! (h264 @ @00001ca13596f40] illegal memory management control operation 32

Last message repeated se = [h264 @ @00001ca13596fF40] deblocking filter _idc 4 out of range

Run the following command and paste output below

ffprobe <stream_url>

Screenshots If applicable, add screenshots to help explain your problem.

Computer Hardware Proxmox

Camera Info: Ebell 2MP 1080P Wireless WIFI IP Doorbell Wide Angle Video Door Phone

Additional context Add any other context about the problem here.