Class MovieCreator
- java.lang.Object
-
- org.mp4parser.muxer.container.mp4.MovieCreator
-
public class MovieCreator extends Object
Shortcut to build a movie from an MP4 file.
-
-
Constructor Summary
Constructors Constructor Description MovieCreator()
-
Method Summary
Modifier and Type Method Description static Moviebuild(String file)static Moviebuild(ReadableByteChannel readableByteChannel, RandomAccessSource randomAccessSource, String name)CreatesMovieobject from aReadableByteChannel.
-
-
-
Method Detail
-
build
public static Movie build(String file) throws IOException
- Throws:
IOException
-
build
public static Movie build(ReadableByteChannel readableByteChannel, RandomAccessSource randomAccessSource, String name) throws IOException
CreatesMovieobject from aReadableByteChannel.- Parameters:
name- track name to identify laterreadableByteChannel- the box structure is read from this channelrandomAccessSource- the samples or read from this randomAccessSource- Returns:
- a representation of the movie
- Throws:
IOException- in case of I/O error during IsoFile creation
-
-