0.1.0 • Published 8 years ago
mediaconversion v0.1.0
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);
0.1.0
8 years ago