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.

Wyze Cam V3 not showing video

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:27 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ragenhecommented, Sep 17, 2021

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

0reactions
andiewillcommented, Sep 25, 2021

Nice one got the docker running and i will try this all again the see if i can get it to work with this wyze docker later on and keep you updated…thanks once again.

Update … i tried it with your wyze docker config and it works great as i would like it, but the same thing happened as before even as a stand alone, it won’t pull in the Wyze cam v3s.

But at least i learnt something new today regarding setting up a native docker ui, thanks @ mitchross, this will come in much need as like you i want to keep everything in a docker container if i can.

Update…

Well well well… Wyze has now released the RTSP firmware for the Wyze cam V3 which is great news, “may be something to do with their recent issues to gain more support” anyway i loaded that onto the camera and all is working fine in frigate, still not sure what the initial issue was but this has now been resolved with this new rtsp firmware from wyze.

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Wyze Cam v3 only shows images, not video recordings.
In the Wyze app, tap on your camera, then Settings> Event Recording > Recording Type > Video. After switching, you'll start receiving videos ......
Read more >
Wyze Not Recording Events: How To Fix [2022] - BlinqBlinq
1. Within the Wyze app, tap and open your Wyze device tab. · 2. Doing so will open up the Livestream of your...
Read more >
Why isn't my wyze cam recording events anymore? I ... - Reddit
In short, this camera is no longer recording video clips whenever motion/a person is detected. It only takes screenshots.
Read more >
Wyze - We've recently received reports of Event videos...
We've recently received reports of Event videos being shown as existing in the app but not being available for download. We suspect a...
Read more >
Wyze (@WyzeCam) / Twitter
The Wyze Cam v3 4.36.10.3406 update fixes Event Video and connectivity bugs from the .2864 ... We are seeing signs of recovery but...
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