Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera feed showing green #1650

Closed
Gnaj opened this issue Aug 29, 2021 · 5 comments
Closed

Camera feed showing green #1650

Gnaj opened this issue Aug 29, 2021 · 5 comments
Labels

Comments

@Gnaj
Copy link

Gnaj commented Aug 29, 2021

Describe the bug
getting thes errors only in one camera

ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
ffmpeg process is not running. exiting capture thread...

Version of frigate
Current version: 1.13

Config file
Include your full config file wrapped in triple back ticks.

mqtt:
  host: 192.168.100.142
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  user: mqtt-user
  password: 
  stats_interval: 60

cameras:
#  front_door:
#    ffmpeg:
#      inputs:
#        - path: rtsp://{FRIGATE_PASSWORD}@192.168.100.149:554/stream1
#          roles:
#            - detect
#            - rtmp
#    width: 1920
#    height: 1080
#    fps: 5

  Reja:
    ffmpeg:
      global_args: -hide_banner -loglevel warning -loglevel error
      inputs:
        - path: rtsp://{FRIGATE_PASSWORD}@192.168.100.36:554/live/ch00_0
          roles:
            - detect
            - rtmp
    width: 1920
    height: 1080
    fps: 5
    

objects:
  # Optional: list of objects to track from labelmap.txt (default: shown below)
  track:
    - person
  # Optional: filters to reduce false positives for specific object types
  filters:
    person:
      # Optional: minimum width*height of the bounding box for the detected object (default: 0)
      min_area: 5000
      # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
      max_area: 100000
      # Optional: minimum score for the object to initiate tracking (default: shown below)
      min_score: 0.5
      # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
      threshold: 0.7

detectors:
  cpu1:
    type: cpu
  cpu2:
    type: cpu

logger:
  default: debug

Frigate container logs

 * Starting nginx nginx
   ...done.
frigate.app                    INFO    : Creating directory: /tmp/cache
Starting migrations
peewee_migrate                 INFO    : Starting migrations
peewee                         DEBUG   : ('CREATE TABLE IF NOT EXISTS "migratehistory" ("id" INTEGER NOT NULL PRIMARY KEY, "name" VARCHAR(255) NOT NULL, "migrated_at" DATETIME NOT NULL)', [])
peewee                         DEBUG   : ('SELECT "t1"."id", "t1"."name", "t1"."migrated_at" FROM "migratehistory" AS "t1" ORDER BY "t1"."id"', [])
There is nothing to migrate
peewee_migrate                 INFO    : There is nothing to migrate
frigate.mqtt                   INFO    : MQTT connected
detector.cpu1                  INFO    : Starting detection process: 45
detector.cpu2                  INFO    : Starting detection process: 47
frigate.app                    INFO    : Camera processor started for Reja: 50
frigate.app                    INFO    : Capture process started for Reja: 51
frigate.video                  INFO    : Reja: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video                  INFO    : Reja: ffmpeg process is not running. exiting capture thread...
ffmpeg.Reja.detect             ERROR   : rtsp://{FRIGATE_PASSWORD}@192.168.100.36:554/live/ch00_0: Invalid data found when processing input

Frigate stats : Cant find this

Output from frigate's /api/stats endpoint

FFprobe from your camera : Dont know where to input that

Run the following command and paste output below

ffprobe <stream_url>

Screenshots
Screenshot_9

Computer Hardware

  • OS: Home Assistant OS
  • Install method: Addon
  • Virtualization: No
  • Coral Version: No
  • Network Setup: Wired

Camera Info:

  • Manufacturer: ANNA TOSANI
  • Model: EC76-X15
  • Resolution: 1920X1080
  • FPS: 15

Additional context

This camera does not work, the commented camera does. the other camera is a tp link tapo c200

@blakeblackshear
Copy link
Owner

It is saying invalid data for that path. Can you try a password without special characters?

@Gnaj
Copy link
Author

Gnaj commented Aug 29, 2021

Well the password does not have any specialcharacters it is just alpha numeric characters, the {FRIGATE_PASSWORD} i put it before posting i'm actually using the same password as the working camera

edit: i added the codec info from vlc i dont know if it helps
Working camera
workingcamera

Non Working camera
nonworkking

@sinamics
Copy link
Contributor

@Gnaj , just for information, you have exposed your username and password in the initial post.
You might want to remove it.

@Gnaj
Copy link
Author

Gnaj commented Aug 30, 2021

@Gnaj , just for information, you have exposed your username and password in the initial post.
You might want to remove it.

hehe! good thing it is my default testing data haha i apreciate it thank you !

@stale
Copy link

stale bot commented Sep 29, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 29, 2021
@stale stale bot closed this as completed Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants