|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IFFMpegService
A files service specification.
| Method Summary | |
|---|---|
boolean |
ffmpegIsInstalled()
Indicate if FFMpeg is installed or not. |
BufferedImage |
generateImageFromUserInput(File file)
Generate a preview image from a file specified by the user. |
BufferedImage |
generatePreviewImage(File file,
String time)
Generate a preview image at the specified time. |
BufferedImage |
generateRandomPreviewImage(File file)
Generate a random preview image from the movie file. |
PreciseDuration |
getDuration(File f)
Return the duration of the movie specified by the file. |
Resolution |
getResolution(File f)
Return the resolution of the movie specified by the file. |
| Method Detail |
|---|
Resolution getResolution(File f)
f - The file of the movie.
PreciseDuration getDuration(File f)
f - The file of the movie.
BufferedImage generateRandomPreviewImage(File file)
file - The file of the movie.
BufferedImage generatePreviewImage(File file,
String time)
file - The file of the movie.time - The time at which we must get the image.
BufferedImage generateImageFromUserInput(File file)
file - The file specified by the user.
boolean ffmpegIsInstalled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||