Giter Club home page Giter Club logo

Comments (3)

kgrammatis avatar kgrammatis commented on September 27, 2024

I think I'm getting closer...

  1. installing ffmpeg on Windows 10 is a little more detailed than just adding the package on a linux machine. Here's a good how to: https://windowsloop.com/install-ffmpeg-windows-10/

  2. It seems that even though I've made the correct path to ffmpeg by creating an environmental variable (I can test this by typing ffmpeg in a command prompt and it works) the plugin still can't find ffmpeg.

  3. It seems this an an (old ) issue in the original fork of homebridge-camera-ffmpeg. You can read about that here: Sunoo#160

  4. homebridge-camera-ffmpeg fixed this by adding a variable called VideoProcessor which would direct the plugin to the location of ffmpeg. Users could put the variable in their config file like this:

"videoProcessor": "\ffmpeg.exe"

  1. After looking through homebridge-camera-ffmpeg-ufv codebase it seems that the VideoProcessor variable has been removed so I can't point directly to where ffmpeg is anymore.

  2. I'm not a coder by any stretch of the imagination however, and my knowledge (unfortunately) ends here. Can we add VideoProcessor back into this fork so I can manually point to where ffmpeg is located on a windows machine?

from homebridge-camera-ffmpeg-ufv.

kgrammatis avatar kgrammatis commented on September 27, 2024

...not a coder but managed to cross reference all the instances of 'VideoProcessor' in homebridge-camera-ffmpeg and add them back into the UFV version. Pain in the ass, but it ACTUALLY WORKED. Now how do I make a pull request? ...gonna have to google that one as well.

So in conclusion:

  1. Download ffmpeg.exe and drop it in your C:\ directory
  2. Use a version of homebridge-camera-ffmpeg-ufv that includes the 'VideoProcessor' variable.
  3. add "videoProcessor": "C:\ffmpeg.exe", to your config file.

...now how to get my audio streams to work hmmm.

from homebridge-camera-ffmpeg-ufv.

drcjcarr avatar drcjcarr commented on September 27, 2024

@kgrammatis Can you upload the new JS file that you made by pulling the old VideoProcessor function in? I'm not a coder either and not sure all the things I need to pull. I brought over all 6 areas that I could see and made a few changes but its crashing my homebridge, so keep having to revert back to original. Thank you!

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.