0.1.0 • Published 8 years ago

mediaconversion v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
8 years ago

mediaconversion

Convert videos using ffmpeg

Grabbing raw v4l stream

var options,
    output,
    conv;

options = {
    input_type : 'video4linux2',
    profile    : 'copy'
};

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

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

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

// Start the "conversion"
conv.start(output, options);