Liferay 6.1.2-ce-ga3

com.liferay.portlet.documentlibrary.util
Class JQTFastStart

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.util.JQTFastStart

public class JQTFastStart
extends Object

This class updates an MP4 to be a "fast start" movie. This allows the MP4 to be more quickly read by a client player without needing to completely download the file. It is achieved by moving the movie's MOOV atom to the front of the file. This code is based on the public domain code of JQTFaststat.


Constructor Summary
JQTFastStart()
           
 
Method Summary
static void convert(File inputFile, File outputFile)
           
protected  void doConvert(File inputFile, File outputFile)
           
protected  void validate(File inputFile, File outputFile)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JQTFastStart

public JQTFastStart()
Method Detail

convert

public static void convert(File inputFile,
                           File outputFile)
                    throws IOException
Throws:
IOException

doConvert

protected void doConvert(File inputFile,
                         File outputFile)
                  throws IOException
Throws:
IOException

validate

protected void validate(File inputFile,
                        File outputFile)
                 throws IOException
Throws:
IOException

Liferay 6.1.2-ce-ga3