gozoinks / homebridge-camera-ffmpeg-ufv

UniFi Video plugin for Homebridge
https://www.npmjs.com/package/homebridge-camera-ffmpeg-ufv
Other
76 stars 20 forks source link

FFMPEG with h264_omx Option #9

Open gardiner4 opened 6 years ago

gardiner4 commented 6 years ago

I could never get streaming working on Hassio, but easily got it working on a Raspbian Stretch install.

The live video starts to lag and eventually drops out on my Pi3 with FFMPEG OMX installed. Is there an option we can pass in the JSON that will force the h264_omx vcodec to be used? That codec is hardware accelerated on the Pi. I think this is what they use for homebridge-camera-ffmpeg-omx.

Thanks for all your work. This is a great plugin.

msvinth commented 6 years ago

+1

extric99 commented 3 years ago

If you change the parameters of the stream as suggested in issue 34 there is no need to use omx. I have 3% cpu usage using 2 core on a rPI 4 https://github.com/gozoinks/homebridge-camera-ffmpeg-ufv/issues/34