Code Monkey home page Code Monkey logo

Comments (4)

caplam avatar caplam commented on June 8, 2024

Hello,
I spent some hours to have the stream working.
My homebridge runs in a docker container on synology nas.
I read all the things i found. Finally i found that the stream was causing a high cpu load. I had to lower the bitrate of the stream in unifi video server.
Would be a good thing to have the option of the number of the stream to use.
I want to record with a high bitrate but don't need it to view on my smartphone.

from homebridge-camera-ffmpeg-ufv.

Botts85 avatar Botts85 commented on June 8, 2024

@caplam did you find that the NVR container was the one with high CPU usage, or the homebridge container?

from homebridge-camera-ffmpeg-ufv.

caplam avatar caplam commented on June 8, 2024

The homebridge container was the one with high cpu usage due to high bitrate.
Unfortunately my nas has troubles so i'm moving containers and other services to another computer to troubleshoot it and perhaps send it back to synology (i'm suspecting the intel atom bug).
So for now i'm trying to setup the homebridge container in a proxmox lxc container but with now success.

from homebridge-camera-ffmpeg-ufv.

scourchesne avatar scourchesne commented on June 8, 2024

For me the issue was the resolution and video settings :
On local network the stream request was using : -vf scale=1280:720 -b:v 299k -bufsize 299k
On LTE network (WAN) the stream request was using : -vf scale=640:360 -b:v 132k -bufsize 132k

Limiting the RTSP stream in the NVR to only 640:360, removing the camera from HOME app, adding it again fixed Local / Internet Streaming for now at 640x360.

I don't understand 1280 x 720 isn't even an official resolution for my G3 Flex camera RTSP settings...
Probably a bug in the plugin.

from homebridge-camera-ffmpeg-ufv.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.