Git Product home page Git Product logo

Comments (3)

snobu avatar snobu commented on August 16, 2024

I would suggest a naming convention for the ffmpeg binary rather than additional metadata file.

from ffmpeg-static.

derhuerst avatar derhuerst commented on August 16, 2024

True, that would work as well. We could follow the Go or Rust binary naming scheme here.

from ffmpeg-static.

terribleplan avatar terribleplan commented on August 16, 2024

The benefits I see with something like an ffmpeg.json or similar is that it:

  1. Allows for for never having to list the directory and have conditional code for the platform as long is it is not changed between build/install time and runtime. (Store "filename": "ffmpeg.exe" to make windows just work). Else you would have to list the dir, see what is in it, find something that starts with "ffmpeg-", detect platform and arch by splitting on "-", figure out what to do if there are multiple, etc...
  2. Allows for drift detection. (Store "hash": "sha256 of the file", allows for detecting if something has gotten weird/been modified/etc) Could be an interesting future feature, at least debugging tool somewhat.

from ffmpeg-static.

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.