|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.fascinator.transformer.ffmpeg.FfmpegInfo
public class FfmpegInfo
Extract metadata about a media file
| Constructor Summary | |
|---|---|
FfmpegInfo(Ffmpeg ffmpeg,
File inputFile)
Extract metadata from the given file using the provided FFmpeg object |
|
| Method Summary | |
|---|---|
int |
getDuration()
Return the duration of the media |
int |
getHeight()
Return the duration of the media |
String |
getRaw()
Return the raw ouput that came from the binary |
int |
getWidth()
Return the duration of the media |
boolean |
hasAudio()
Does the media have audio? |
boolean |
hasVideo()
Does the media have video? |
boolean |
isSupported()
Is the file format supported? |
String |
toString()
Return the processed metadata as a string |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FfmpegInfo(Ffmpeg ffmpeg,
File inputFile)
throws IOException
ffmpeg - implementation to used for extractinputFile - to extract metadata from
IOException - if execution failed| Method Detail |
|---|
public String getRaw()
public int getDuration()
public int getWidth()
public int getHeight()
public boolean isSupported()
public boolean hasAudio()
public boolean hasVideo()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||