public class JavaOggParser extends AbstractDemultiplexer
BUFFER_PROCESSED_FAILED, BUFFER_PROCESSED_OK, INPUT_BUFFER_NOT_CONSUMED, OUTPUT_BUFFER_NOT_FILLED, PLUGIN_TERMINATED
DURATION_UNBOUNDED, DURATION_UNKNOWN
Constructor and Description |
---|
JavaOggParser() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static AudioFormat |
convertCodecAudioFormat(com.jcraft.jorbis.Info vi) |
static VideoFormat |
convertCodecPixelFormat(com.fluendo.jheora.Info ti) |
ContentDescriptor[] |
getSupportedInputContentDescriptors() |
Track[] |
getTracks() |
boolean |
isPositionable() |
boolean |
isRandomAccess() |
void |
open() |
void |
setSource(DataSource source) |
void |
start() |
getDuration, getMediaTime, setPosition, stop
getName, reset
addControl, getControl, getControls, removeControl
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getControl, getControls
public ContentDescriptor[] getSupportedInputContentDescriptors()
getSupportedInputContentDescriptors
in interface Demultiplexer
getSupportedInputContentDescriptors
in class AbstractDemultiplexer
public Track[] getTracks() throws java.io.IOException, BadHeaderException
getTracks
in interface Demultiplexer
getTracks
in class AbstractDemultiplexer
java.io.IOException
BadHeaderException
public void setSource(DataSource source) throws java.io.IOException, IncompatibleSourceException
setSource
in interface MediaHandler
setSource
in class AbstractDemultiplexer
java.io.IOException
IncompatibleSourceException
public void open() throws ResourceUnavailableException
open
in interface PlugIn
open
in class AbstractPlugIn
ResourceUnavailableException
public void close()
close
in interface PlugIn
close
in class AbstractPlugIn
public void start() throws java.io.IOException
start
in interface Demultiplexer
start
in class AbstractDemultiplexer
java.io.IOException
public boolean isPositionable()
isPositionable
in interface Demultiplexer
isPositionable
in class AbstractDemultiplexer
public boolean isRandomAccess()
isRandomAccess
in interface Demultiplexer
isRandomAccess
in class AbstractDemultiplexer
public static VideoFormat convertCodecPixelFormat(com.fluendo.jheora.Info ti)
public static AudioFormat convertCodecAudioFormat(com.jcraft.jorbis.Info vi)