Skip to content

t4nz/node-gstreamer-split-wav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-gstreamer-split-wav

==========================

Use GStreamer to split a live wav file

How?

var gst = require('gstreamer-split-wav');
var pipeline = new gst.splitWav(string "sourceFile", string "outputPath", bool keepTimestamp, bool keepFiles);
pipeline.run();

Polling the GStreamer Pipeline Bus

You can asynchronously handle bus messages using gst.pollBus(callback):

pipeline.pollBus( (file) => {
	console.log(file.filename); // String
	console.log(file.content); // Buffer content
});

About

Use GStreamer to split a live wav file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published