Skip to content
Convert videos using FFMPEG in node.js
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
samples
test
.gitignore
.npmignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
index.js
package.json

README.md

mediaconversion

NPM version Build Status Coverage Status

Convert videos using ffmpeg

Grabbing raw v4l stream

var MC = require('mediaconversion');

// Create the conversion instance
let conv = new MC.MediaConversion();

// Set the correct input path
let input = conv.addInput('/dev/some/video/device');

// Set the input type
input.setVideoCodec('video4linux');

// Create a passthrough output stream
let output = conv.addOutput();

// Enable the copy profile
output.useProfile('copy');

// Start the "conversion"
conv.start();
You can’t perform that action at this time.