New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fluent-ffmpeg

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fluent-ffmpeg - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

0

examples/express-stream.js

@@ -0,0 +0,0 @@ var express = require('express'),

@@ -0,0 +0,0 @@ var ffmpeg = require('../lib/fluent-ffmpeg');

2

examples/metadata.js
var ffmpegmeta = require('../lib/fluent-ffmpeg').Metadata;
// make sure you set the correct path to your video file
ffmpegmeta.get('/var/www/v_vxxxxxxxxxxxxxxx_d_000000.mov', function(metadata) {
ffmpegmeta.get('/path/to/your_movie.avi', function(metadata) {
console.log(require('util').inspect(metadata, false, null));
});

@@ -0,0 +0,0 @@ var ffmpeg = require('../lib/fluent-ffmpeg');

@@ -56,3 +56,3 @@ var fs = require('fs'),

FfmpegProcessor.prototype.withAudioBitrate = function(abitrate) {
if (typeof abitrate == 'String' && abitrate.indexOf('k') > 0) {
if (typeof abitrate == 'string' && abitrate.indexOf('k') > 0) {
abitrate = abitrate.replace('k', '');

@@ -71,2 +71,6 @@ }

};
FfmpegProcessor.prototype.withAudioFrequency = function(frequency) {
options.audio.frequency = frequency;
return this;
};
FfmpegProcessor.prototype.setStartTime = function(timestamp) {

@@ -296,2 +300,5 @@ options.starttime = timestamp;

}
if (options.audio.frequency) {
args.push('ar', options.audio.frequency);
}

@@ -298,0 +305,0 @@ // add additional options

@@ -0,0 +0,0 @@ exports.load = function(ffmpeg) {

@@ -5,5 +5,5 @@ exports.load = function(ffmpeg) {

.withVideoBitrate('256k')
.withSize('640x480')
.withFps(24)
.withAudioBitrate('128k')
.withAudioFrequency(22050)
.withAudioChannels(2)

@@ -10,0 +10,0 @@ .addOptions([ '-sameq' ]);

@@ -0,0 +0,0 @@ exports.load = function(ffmpeg) {

{
"name": "fluent-ffmpeg",
"version": "0.0.1",
"version": "0.0.2",
"description": "A fluent API to FFMPEG (http://www.ffmpeg.org)",

@@ -5,0 +5,0 @@ "keywords": [ "ffmpeg" ],

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc