org.mmbase.streams.transcoders
Class FFMpeg2TheoraTranscoder
java.lang.Object
org.mmbase.streams.transcoders.AbstractTranscoder
org.mmbase.streams.transcoders.CommandTranscoder
org.mmbase.streams.transcoders.FFMpeg2TheoraTranscoder
- All Implemented Interfaces:
- Serializable, Cloneable, Transcoder, PublicCloneable<Transcoder>
public class FFMpeg2TheoraTranscoder
- extends CommandTranscoder
This transcoder uses the command ffmpeg2theora. Possible parameters to be set in
'createcaches.xml' are: videoQuality (--videoquality), keyInt (--keyint), height (-y) and width (-x).
Others can be added but will be at the end of the commands parameters.
- Version:
- $Id: FFMpeg2TheoraTranscoder.java 42453 2010-06-08 11:18:36Z andre $
- Author:
- Michiel Meeuwissen
- See Also:
- Serialized Form
| Methods inherited from class org.mmbase.streams.transcoders.AbstractTranscoder |
getCodec, getFormat, getIn, getInstance, getMimeType, getOut, setCodec, setFormat, setMimeType, toString, transcode |
videoQuality
int videoQuality
keyInt
int keyInt
height
Integer height
width
Integer width
count
long count
FFMpeg2TheoraTranscoder
public FFMpeg2TheoraTranscoder()
setVideoQuality
public void setVideoQuality(int vq)
setKeyInt
public void setKeyInt(int ki)
setHeight
public void setHeight(int y)
setWidth
public void setWidth(int x)
init
public void init(Node dest)
- Saves values video codec in codec (Theora)) and audio codec in acodec (Vorbis) in destination node.
- Specified by:
init in interface Transcoder- Overrides:
init in class AbstractTranscoder
- Parameters:
dest - destination node (streamsourcescaches)
getCommand
protected String getCommand()
- Specified by:
getCommand in class CommandTranscoder
getArguments
protected String[] getArguments()
- Specified by:
getArguments in class CommandTranscoder
getOutputWriter
protected LoggerWriter getOutputWriter(Logger l)
- Overrides:
getOutputWriter in class CommandTranscoder
MMBase 2.0-SNAPSHOT - null