Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
@drovp/ffmpeg
Advanced tools
Provides ffmpeg
, ffprobe
, and ffplay
static binaries as a Drovp processor dependencies.
Pre-built binaries are downloaded from:
ffplay
)IMPORTANT!
ffplay
is not available on linux systems! We're using https://johnvansickle.com/ffmpeg/ as a source of static binaries for linux, and it doesn't include ffplay
.
If you know about a better or a separate source with ffplay
in it, share it in #1.
Require in your processor config:
plugin.registerProcessor('name', {
// ...config...
dependencies: ['@drovp/ffmpeg:ffmpeg']
});
Consume in your processor:
function processor(operation, utils) {
const ffmpegPath = utils.dependencies.ffmpeg;
// or a no conflict risking version (unnecessary in 99.999% cases)
const ffmpegPath = utils.dependencies['@drovp/ffmpeg:ffmpeg'];
}
Dependency IDs and their values inside processor's utils.dependencies
object.
ffmpeg
ID: @drovp/ffmpeg:ffmpeg
Shorthand: ffmpeg
Value: path to ffmpeg binary
ffprobe
ID: @drovp/ffmpeg:ffprobe
Shorthand: ffprobe
Value: path to ffprobe binary
ffplay
ID: @drovp/ffmpeg:ffplay
Shorthand: ffplay
Value: path to ffplay binary
Not available on Linux atm!
When developing, run:
npm start
and start working.
When releasing, run:
npm version [<newversion> | major | minor | patch]
npm publish
Cleans up, and continuously builds on file changes.
Builds dist files.
FAQs
FFMPEG as a Drovp dependency.
The npm package @drovp/ffmpeg receives a total of 2 weekly downloads. As such, @drovp/ffmpeg popularity was classified as not popular.
We found that @drovp/ffmpeg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.