Copyright 2013-01-06 Werner Randelshofer

org.monte.media
Interface Multiplexer

All Known Subinterfaces:
MovieWriter
All Known Implementing Classes:
ANIMMultiplexer, ANIMWriter, AVIWriter, FileMultiplexer, ImageSequenceWriter, QuickTimeMultiplexer, QuickTimeWriter

public interface Multiplexer

A Multiplexer can write multiple media tracks into a single output stream.

Version:
1.0 2011-02-19 Created.
Author:
Werner Randelshofer

Method Summary
 void close()
          Closes the Multiplexer.
 void write(int track, Buffer buf)
          Writes a sample.
 

Method Detail

write

void write(int track,
           Buffer buf)
           throws java.io.IOException
Writes a sample. Does nothing if the discard-flag in the buffer is set to true.

Parameters:
track - The track number.
buf - The buffer containing the sample data.
Throws:
java.io.IOException

close

void close()
           throws java.io.IOException
Closes the Multiplexer.

Throws:
java.io.IOException

Copyright 2013-01-06 Werner Randelshofer