addTimeStamp.addListener(reduceVolume);
reduceVolume.addListener(writer);
// add a viewer to the writer, to see media modified media
writer.addListener(ToolFactory.makeViewer());
// read and decode packets from the source file and
// then encode and write out data to the output file
while (reader.readPacket() == null)