![Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack](https://cdn.sanity.io/images/cgdhsj6q/production/6af25114feaaac7179b18127c83327568ff592d1-1024x1024.webp?w=800&fit=max&auto=format)
Security News
Namecheap Takes Down Polyfill.io Service Following Supply Chain Attack
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
@drovp/ffmpeg
Advanced tools
Readme
Provides ffmpeg
, ffprobe
, and ffplay
static binaries as a Drovp processor dependencies.
Pre-built binaries are downloaded from:
ffplay
)IMPORTANT!
The source of static binaries we're using for Linux (https://johnvansickle.com/ffmpeg/) doesn't come with ffplay
, therefore you can't rely on ffplay
dependency to be available on Linux. If you know about a better or a separate source with ffplay
in it, share it in #1.
The dependency loader does try to fall back to local binaries exposed in current platform's PATH, but that is of course unreliable.
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 3 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
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.
Security News
A JavaScript library maintainer is under fire after merging a controversial PR to support legacy versions of Node.js.