Class ClassicMp4ContainerSource
- java.lang.Object
-
- org.mp4parser.streaming.input.mp4.ClassicMp4ContainerSource
-
public class ClassicMp4ContainerSource extends Object implements Callable<Void>
Creates a List of StreamingTrack from a classic MP4. Fragmented MP4s don't work and the implementation will consume a lot of heap when the MP4 is not a 'fast-start' MP4 (order: ftyp, moov, mdat good; order ftyp, mdat, moov bad).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClassicMp4ContainerSource.Mp4StreamingTrackstatic classClassicMp4ContainerSource.TeeInputStream
-
Constructor Summary
Constructors Constructor Description ClassicMp4ContainerSource(InputStream is)
-
-
-
Constructor Detail
-
ClassicMp4ContainerSource
public ClassicMp4ContainerSource(InputStream is) throws IOException
- Throws:
IOException
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
call
public Void call() throws IOException
- Specified by:
callin interfaceCallable<Void>- Throws:
IOException
-
-