
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Supply Chain Security
Vulnerability
Quality
Maintenance
License
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Unpopular package
QualityThis package is not very popular.
Found 1 instance in 1 package
Avisynth bindings for NodeJS with a strong focus on ease-of-use.
A node module that you can use to process videos, images and sound with Avisynth, in a self-contained package.
It currently only works in Windows (like Avisynth itself), but it may be possible, in theory, to add Linux support via Wine.
npm install -g avisynth
It can be used both by scripts as well as from command line (also not requiring Avisynth to be installed, and possibly helpful for shell scripts in other languages).
var avisynth = require('avisynth');
var script = new avisynth.Script(); // Omitting "new" is also ok
script.code = 'Version()'; // Can also be passed to the constructor
script.sharpen(1); // Direct plugin and built-in calls
script.renderFrame('foo.png', function(err) { // Time offset optional.
console.log(err || 'foo.png saved!'); // Easy frame rendering.
});
script.run(function(err) {}); // Runs the script (with no output).
script.lint(function(err) {}); // Validates the Avisynth code.
// Still planning on adding more API, specifically video encoding.
avisynth-js info path/to/script.avs # Returns video info as JSON
avisynth-js lint path/to/script.avs # Validates a script, also JSON
Sample output for info
:
{
"width": 1280,
"height": 720,
"ratio": "16:9",
"fps": 29.97,
"fpsFraction": "30000/1001",
"videoTime": 3600,
"frameCount": 107892,
"colorspace": "YV12",
"bitsPerPixel": 12,
"interlaceType": "field-based",
"fieldOrder": "TFF",
"channels": 2,
"bitsPerSample": 32,
"sampleType": "float",
"audioTime": 3600,
"samplingRate": 48000,
"sampleCount": 172799827,
"blockSize": 8
}
At the moment I'm working on a Wiki so soon there'll be docs there.
FAQs
Avisynth non-linear audio/video scripting facilities for Node
The npm package avisynth receives a total of 8 weekly downloads. As such, avisynth popularity was classified as not popular.
We found that avisynth demonstrated a not healthy version release cadence and project activity because the last version was released 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
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.