sahilchaddha / homebridge-dafang

Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
MIT License
204 stars 34 forks source link

recording video produced corrupted video #45

Closed machineglow closed 4 years ago

machineglow commented 4 years ago

Hi,

I recently updated my homebridge-dafang package and everything seemed to be running great but it was only when I checked out my saved videos that I noticed something was wrong. I have a HomeKit automation to trigger a 2 minute record video when the motion sensor is triggered.

All the videos were corrupted with the first 10-20 lines is fine (OSD) but the rest of the frame is garbled.

image

I tried running ffmpeg to capture the stream to a file manually and it actually works fine. Also viewing the stream in the home app is also fine.

I haven't changed anything in my config.json but I've tried changing various settings in the videoconfig section to no avail.

Any ideas?

Thanks!!!

machineglow commented 4 years ago

just realized I reported this in the past. I guess no one ever did the PR to merge the fix I suggested and it's still an open issue.