|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Ffmpeg
Wrapper for the FFMPEG program
| Field Summary | |
|---|---|
static String |
DEFAULT_BIN_METADATA
Default extractor binary name |
static String |
DEFAULT_BIN_TRANSCODE
Default transcoder binary name |
| Method Summary | |
|---|---|
String |
extract(File file)
Extract metadata from the given file |
FfmpegInfo |
getInfo(File inputFile)
Extract and process metadata from the given file |
void |
setEnvironmentVariable(String key,
String value)
Set an environment variable to be made available to the executing FFmpeg |
String |
testAvailability()
Test what level of functionality is available for ffmpeg on the current system. |
String |
transform(List<String> params,
File location)
Transform a file using given parameters |
| Field Detail |
|---|
static final String DEFAULT_BIN_TRANSCODE
static final String DEFAULT_BIN_METADATA
| Method Detail |
|---|
String testAvailability()
String extract(File file)
throws IOException
file - to extract metadata from
IOException - if execution failed
String transform(List<String> params,
File location)
throws IOException
params - List of parameters to pass to the command line executablelocation - A File object of the working directory to use during transcoding
IOException - if execution failed
FfmpegInfo getInfo(File inputFile)
throws IOException
file - to extract metadata from
IOException - if execution failed
void setEnvironmentVariable(String key,
String value)
key - : The name of environment variablevalue - : The value to assign
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||