public final class FfmpegSoundEncoder extends FfmpegEncoder implements ISoundEncoder
| Constructor and Description |
|---|
FfmpegSoundEncoder(ITempFileProvider tempFileProvider) |
| Modifier and Type | Method and Description |
|---|---|
EncodedSound |
encode(SoundWithDef sound)
Encodes an audio file.
|
protected java.util.List<java.lang.String> |
getCodecArgs() |
protected java.lang.String |
getFileFormat() |
encode, isAvailable, runProcess, setProgrampublic FfmpegSoundEncoder(ITempFileProvider tempFileProvider)
public EncodedSound encode(SoundWithDef sound) throws java.io.IOException
ISoundEncoderencode in interface ISoundEncoderjava.io.IOException - If an I/O error occurs while writing the file.protected java.util.List<java.lang.String> getCodecArgs()
getCodecArgs in class FfmpegEncoderprotected java.lang.String getFileFormat()
getFileFormat in class FfmpegEncoder