org.jcodec.containers.mp4
Class MP4Util

java.lang.Object
  extended by org.jcodec.containers.mp4.MP4Util

public class MP4Util
extends Object

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License

Author:
The JCodec project

Nested Class Summary
static class MP4Util.Atom
           
 
Constructor Summary
MP4Util()
           
 
Method Summary
static Box cloneBox(Box box, int approxSize)
           
static MovieBox createRefMovie(File source)
           
static MovieBox createRefMovie(SeekableByteChannel input, String url)
           
static String getFourcc(Codec codec)
           
static List<MP4Util.Atom> getRootAtoms(SeekableByteChannel input)
           
static MovieBox parseMovie(File source)
           
static MovieBox parseMovie(SeekableByteChannel input)
           
static void writeMovie(File f, MovieBox movie)
           
static void writeMovie(SeekableByteChannel out, MovieBox movie)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MP4Util

public MP4Util()
Method Detail

createRefMovie

public static MovieBox createRefMovie(SeekableByteChannel input,
                                      String url)
                               throws IOException
Throws:
IOException

parseMovie

public static MovieBox parseMovie(SeekableByteChannel input)
                           throws IOException
Throws:
IOException

getRootAtoms

public static List<MP4Util.Atom> getRootAtoms(SeekableByteChannel input)
                                       throws IOException
Throws:
IOException

parseMovie

public static MovieBox parseMovie(File source)
                           throws IOException
Throws:
IOException

createRefMovie

public static MovieBox createRefMovie(File source)
                               throws IOException
Throws:
IOException

writeMovie

public static void writeMovie(File f,
                              MovieBox movie)
                       throws IOException
Throws:
IOException

writeMovie

public static void writeMovie(SeekableByteChannel out,
                              MovieBox movie)
                       throws IOException
Throws:
IOException

cloneBox

public static Box cloneBox(Box box,
                           int approxSize)

getFourcc

public static String getFourcc(Codec codec)


Copyright © 2013. All Rights Reserved.