// Construct a pipeline: filesrc ! OutputStreamSink
//
Pipeline inputPipe = new Pipeline("input pipeline");
Element filesrc = ElementFactory.make("filesrc", "File source");
filesrc.set("location", args[0]);
Element outputstream = new WriteableByteChannelSink(pipeChannel.sink(), "output stream");
inputPipe.addMany(filesrc, outputstream);
Element.linkMany(filesrc, outputstream);
inputPipe.play();
//
// Now construct the output pipeline to process the data