frigate: Wyze Cam V3 not showing video

Describe the bug

I got fed up waiting on wyze to do what they said they would do about implementing the RSTP for v3 and i’m still waiting.

So i decided to order a Wyze V3 and and link it with the Wyze Bridge to display the rtsp url, i went through the motions and voila it works as stated after a few permutations in my config to get it working and displaying the rtsp url …phew…

After playing around with the configs in all sorts of different ways to get a pic in VLC etc i have it working, also in Blue iris and HA but i cant seem to get this working with Frigate.

I did first try it on a Wyze Cam v2 in Frigate to see if it works and it did with no issues, also in VLC, Blue Iris, Frigate.

Dose anyone no what the correct path is to get the video to show in frigate ? as stated i have tried a whole heap of different permutations, all i get is a green screen and i have tried different resolutions to no avail, just cant get it to show the view of the cam picture.

Version of frigate Output from /api/version Unraid server addon / latest. blakeblackshear/frigate:stable-amd64

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


mqtt:
  host: 192.168.1.11
  port: 1883
  topic_prefix: frigate
  client_id: frigate
  stats_interval: 60
 
detectors:
  coral:
    type: edgetpu
    device: usb
    

ffmpeg:
  global_args:
    - -hide_banner
    - -loglevel
    - panic
  hwaccel_args:
    - -hwaccel
    - vaapi
    - -hwaccel_device
    - /dev/dri/renderD128
  input_args:
    - -avoid_negative_ts
    - make_zero
#    - -fflags
#    - nobuffer
    - -flags
    - low_delay
    - -strict
    - experimental
    - -fflags
    - +genpts+discardcorrupt
    - -rtsp_transport
    - tcp
    - -stimeout
    - "5000000"
    - -use_wallclock_as_timestamps
    - "1"



 
cameras:
   front_garden_top_right:
    ffmpeg:
      inputs:
        - path: rtsp://andie:xxxxx@192.168.1.xx/live
          roles:
            - clips
            - detect
#            - rtmp
            - record
          hwaccel_args:
            - -hwaccel
            - qsv
            - -qsv_device
            - /dev/dri/renderD128
    width: 1920
    height: 1080
    fps: 5
    motion:
      mask:
        - 0,881,796,873,1007,1080,1920,1080,1920,0,0,0
    clips:
      enabled: True
      pre_capture: 5
      post_capture: 5
      objects:
        - person
#        - car
        - cat
        - dog
        - bird
      retain:
        default: 10
        objects:
          person: 15
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
#      crop: True
#      height: 175
      retain:
        default: 10
        objects:
          person: 15
    objects:
      track:
        - person
#        - car
        - cat
        - dog
        - bird


#cameras:
   back_garden_kitchen:
    ffmpeg:
      inputs:
        - path: rtsp://Andie:xxxxx@192.168.1.xxx/live
          roles:
            - clips
            - detect
#            - rtmp
            - record
          hwaccel_args:
            - -hwaccel
            - qsv
            - -qsv_device
            - /dev/dri/renderD128
    width: 1920
    height: 1080
    fps: 5
    motion:
      mask:
        - 1296,493,1920,547,1920,0,0,0,0,485
    clips:
      enabled: True
      pre_capture: 5
      post_capture: 5
      objects:
        - person
#        - car
        - cat
        - dog
        - bird
      retain:
        default: 10
        objects:
          person: 15
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
#      crop: True
#      height: 175
      retain:
        default: 10
        objects:
          person: 15
    objects:
      track:
        - person
#        - car
        - cat
        - dog
        - bird


   front_garden_top_left:
    ffmpeg:
      inputs:
        - path: rtsp://Williams:xxx@192.168.1.xxx/live
          roles:
            - clips
            - detect
#            - rtmp
            - record
          hwaccel_args:
            - -hwaccel
            - qsv
            - -qsv_device
            - /dev/dri/renderD128
    width: 1920
    height: 1080
    fps: 5
    motion:
      mask:
        - 1483,660,313,670,0,1080,0,62,1920,72,1920,1080,1825,1080
    clips:
      enabled: True
      pre_capture: 5
      post_capture: 5
      objects:
        - person
#        - car
        - cat
        - dog
        - bird
      retain:
        default: 10
        objects:
          person: 15
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
#      crop: True
#      height: 175
      retain:
        default: 10
        objects:
          person: 15
    objects:
      track:
        - person
#        - car
        - cat
        - dog
        - bird


##cameras:

   back_garden_top:
    ffmpeg:
      inputs:
        - path: rtsp://General:xxxxxxx@192.168.1.xx/live
          roles:
            - clips
            - detect
#            - rtmp
            - record
          hwaccel_args:
            - -hwaccel
            - qsv
            - -qsv_device
            - /dev/dri/renderD128
    width: 1920
    height: 1080
    fps: 5
    motion:
      mask:
        - 1307,366,1464,502,1781,500,1920,642,1666,715,1920,1080,1920,0,0,0,0,883,700,325
    clips:
      enabled: True
      pre_capture: 5
      post_capture: 5
      objects:
        - person
#        - car
        - cat
        - dog
        - bird
      retain:
        default: 10
        objects:
          person: 15
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
#      crop: True
#      height: 175
      retain:
        default: 10
        objects:
          person: 15
    objects:
      track:
        - person
#        - car
        - cat
        - dog
        - bird

 


   front_yard_cam:
    ffmpeg:
      inputs:
        - path: rtsp://192.168.1.xxx:8554/front-yard-cam
          roles:
            - clips
            - detect
            - rtmp
            - record
          hwaccel_args:
            - -hwaccel
            - qsv
            - -qsv_device
            - /dev/dri/renderD128
    width: 1920
    height: 1080
    fps: 5

Frigate container logs

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
detector.coral INFO : Starting detection process: 42
frigate.app INFO : Camera processor started for front_garden_top_right: 45
frigate.app INFO : Camera processor started for back_garden_kitchen: 46
frigate.app INFO : Camera processor started for front_garden_top_left: 47
frigate.app INFO : Camera processor started for back_garden_top: 48
frigate.app INFO : Camera processor started for front_yard_cam: 49
frigate.edgetpu INFO : Attempting to load TPU as usb
frigate.app INFO : Capture process started for front_garden_top_right: 50
frigate.app INFO : Capture process started for back_garden_kitchen: 52
frigate.app INFO : Capture process started for front_garden_top_left: 56
frigate.app INFO : Capture process started for back_garden_top: 64
frigate.app INFO : Capture process started for front_yard_cam: 69
frigate.edgetpu INFO : TPU found
frigate.video INFO : front_yard_cam: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video INFO : front_yard_cam: ffmpeg process is not running. exiting capture thread...
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x556ec5b52140] moov atom not found
/tmp/cache/back_garden_top-20210917123758.mp4: Invalid data found when processing input
frigate.events INFO : bad file: back_garden_top-20210917123758.mp4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55cc76c0f140] moov atom not found
/tmp/cache/front_garden_top_left-20210917123756.mp4: Invalid data found when processing input
frigate.events INFO : bad file: front_garden_top_left-20210917123756.mp4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55bb9d642140] moov atom not found
/tmp/cache/back_garden_kitchen-20210917123754.mp4: Invalid data found when processing input
frigate.events INFO : bad file: back_garden_kitchen-20210917123754.mp4
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x555de79d0140] moov atom not found
/tmp/cache/front_garden_top_right-20210917123754.mp4: Invalid data found when processing input
frigate.events INFO : bad file: front_garden_top_right-20210917123754.mp4
frigate.video INFO : front_yard_cam: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video INFO : front_yard_cam: ffmpeg process is not running. exiting capture thread...
frigate.video INFO : front_yard_cam: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video INFO : front_yard_cam: ffmpeg process is not running. exiting capture thread...
frigate.video INFO : front_yard_cam: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video INFO : front_yard_cam: ffmpeg process is not running. exiting capture thread...
frigate.video INFO : front_yard_cam: ffmpeg sent a broken frame. memoryview assignment: lvalue and rvalue have different structures
frigate.video INFO : front_yard_cam: ffmpeg process is not running. exiting capture thread...

Screenshots

Screenshot 2021-09-17 at 12 48 48
  • OS: Unraid
  • Install method: Addon,
  • Virtualization: Unraid
  • Coral Version: USB
  • Network Setup: WiFi

Camera Info:

  • Manufacturer: Wyze Cam V3
  • Model: Wyze
  • Resolution: width: 1920
  • FPS: 5

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 27 (8 by maintainers)

Most upvoted comments

Yes, after the bridge is when I start frigate. I’m at a loss. Sorry.