Modifier and Type | Method and Description |
---|---|
void |
VideoOptimizer.optimizeVideoForUpload(java.lang.String videoFile,
com.codename1.util.OnComplete<java.lang.String> onCompleteCallback,
java.lang.Runnable onFailureCallback,
OnProgress onProgressCallback)
Asynchronous method to optimize a video for fast upload and maximum
compatibility: it produces a new mp4 file placed in FileSystemStorage (it
ensures to don't overwrite any existing file); note that it produces
always an "mp4" file even if the source video is in QuickTime format.
|