public interface Transcoder extends PublicCloneable<Transcoder>, Serializable
| Modifier and Type | Method and Description |
|---|---|
Codec |
getCodec()
The codec of the result.
|
Format |
getFormat()
The format of the result.
|
URI |
getIn()
{#link transcode} is feed with input.
|
String |
getKey()
The key of a transcoder uniquely identifies it.
|
URI |
getOut()
{#link transcode} is feed with a destination.
|
void |
init(Node destination)
Init the transcoder and destination node with appropiate values.
|
void |
transcode(URI in,
URI out,
Logger logger)
Transcode a file to another, follow the process with a logger.
|
cloneString getKey()
Format getFormat()
Codec getCodec()
void init(Node destination)
destination - stream destination Nodevoid transcode(URI in, URI out, Logger logger) throws Exception
in - out - logger - Progress is written to this loggerIf - transcoding was unsucessfull, an Error may be thrown.ExceptionURI getIn()
URI getOut()
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}