Code Monkey home page Code Monkey logo

Comments (3)

DeadEnded avatar DeadEnded commented on July 17, 2024

Um... are you getting an error when running this?
The script is bash - it has nothing to do with python.
If you are asking for the script to be converted into a python script - that is something else entirely.

As of now, I haven't used this in years - I am using other NVR software that natively supports audio.
There are options available now with audio built in that IMO make this hacky approach no longer worth maintaining.

Deadend

from motioneyeaudio.

zajaaczki avatar zajaaczki commented on July 17, 2024

Hi Motioneye works great with h.265 codec and onvif much better than Frigate, Zoneminder, Shinobii ... that's why I still use Motioneye ;-). Yeah I am wrong is not python, my old setup was on debian and new is on alpine and maybe this is the reasone why script does not work?

from motioneyeaudio.

DeadEnded avatar DeadEnded commented on July 17, 2024

Okay, here's my best guess without any testing...
Alpine (from my 5 second good) uses SH not BASH.

So you either need to install bash (apk update && apk add bash)
OR
change line one of the script from #!/usr/bin/env bash to #!/usr/bin/env sh
*** NOTE - I don't know where sh is actually at... it might not be in /usr/bin/env... you need to find it and update accordingly.

Let me know how it goes!
DeadEnd

from motioneyeaudio.

Related Issues (14)

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.