![]() ![]() To specify your preferences about the transcoding operation you have to supply an it. instance to the encode() call. If you are interested in monitoring the transcoding operation take a look to the " Monitoring the transcoding operation" section. Please note that a call to encode() is a blocking one: the method will return only once the transcoding operation has been completed (or failed). The attributes parameter, whose type is it., is a data structure containing any information needed by the encoder. The second parameter, target, is the target file that will be created and encoded. ![]() The first parameter, source, represents the source file to decode. ![]() Once the instance has been created, you can start transcoding calling the encode() method: public void encode(java.io.File source, In order to use JAVE, you always have to create an Encoder istance: Encoder encoder = new Encoder() Encoder objects expose many methods for multimedia transcoding. The operation is described in the " Using an alternative ffmpeg executable" section. This is very simple, once you have built your own ffmpeg binaries. In order to run JAVE on other platforms you have to replace the built-in ffmpeg executable with another one suitable for your needs. ![]() JAVE includes and uses a ffmpeg executable built for Windows and Linux operating systems on i386/32 bit hardware platforms. JAVE runs on a Java Runtime Environment J2SE v.1.4 or later. In order to use JAVE in your Java application, you have to add the file jave-1.0.jar in your application CLASSPATH. Getting informations about a multimedia file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |