org.jcodec.containers.mp4.boxes
Class MovieBox

java.lang.Object
  extended by org.jcodec.containers.mp4.boxes.Box
      extended by org.jcodec.containers.mp4.boxes.NodeBox
          extended by org.jcodec.containers.mp4.boxes.MovieBox

public class MovieBox
extends NodeBox

This class is part of JCodec ( www.jcodec.org ) This software is distributed under FreeBSD License Creates MP4 file out of a set of samples

Author:
The JCodec project

Field Summary
 
Fields inherited from class org.jcodec.containers.mp4.boxes.NodeBox
boxes, factory
 
Fields inherited from class org.jcodec.containers.mp4.boxes.Box
header
 
Constructor Summary
MovieBox()
           
MovieBox(Header atom)
           
MovieBox(MovieBox movie)
           
 
Method Summary
 void appendTrack(TrakBox newTrack)
           
 void fixTimescale(int newTs)
           
static String fourcc()
           
 List<TrakBox> getAudioTracks()
           
 Size getDisplaySize()
           
 long getDuration()
           
 Size getStoredSize()
           
 TrakBox getTimecodeTrack()
           
 int getTimescale()
           
 TrakBox[] getTracks()
           
 TrakBox getVideoTrack()
           
 TrakBox importTrack(MovieBox movie, TrakBox track)
           
 boolean isPureRefMovie(MovieBox movie)
           
 long rescale(long tv, long ts)
           
 void setDuration(long movDuration)
           
 void updateDuration()
           
 
Methods inherited from class org.jcodec.containers.mp4.boxes.NodeBox
add, addFirst, doWrite, dump, dumpBoxes, getBoxes, newBox, parse, parseBox, parseChildBox, removeChildren, replace
 
Methods inherited from class org.jcodec.containers.mp4.boxes.Box
as, findAll, findAll, findFirst, findFirst, getFourcc, getHeader, toString, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MovieBox

public MovieBox(Header atom)

MovieBox

public MovieBox()

MovieBox

public MovieBox(MovieBox movie)
Method Detail

fourcc

public static String fourcc()

getTracks

public TrakBox[] getTracks()

getVideoTrack

public TrakBox getVideoTrack()

getTimecodeTrack

public TrakBox getTimecodeTrack()

getTimescale

public int getTimescale()

rescale

public long rescale(long tv,
                    long ts)

fixTimescale

public void fixTimescale(int newTs)

setDuration

public void setDuration(long movDuration)

getAudioTracks

public List<TrakBox> getAudioTracks()

getDuration

public long getDuration()

importTrack

public TrakBox importTrack(MovieBox movie,
                           TrakBox track)

appendTrack

public void appendTrack(TrakBox newTrack)

isPureRefMovie

public boolean isPureRefMovie(MovieBox movie)

updateDuration

public void updateDuration()

getDisplaySize

public Size getDisplaySize()

getStoredSize

public Size getStoredSize()


Copyright © 2013. All Rights Reserved.