public class MultiTrackFragmentedMp4Writer extends Object implements StreamingMp4Writer
Constructor and Description |
---|
MultiTrackFragmentedMp4Writer(StreamingTrack[] source,
OutputStream outputStream) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected DataInformationBox |
createDinf() |
Box |
createFtyp() |
protected Box |
createMdhd(StreamingTrack streamingTrack) |
protected Box |
createMdia(StreamingTrack streamingTrack) |
protected Box |
createMdiaHdlr(StreamingTrack streamingTrack) |
protected Box |
createMinf(StreamingTrack streamingTrack) |
protected Box |
createMoov() |
protected Box |
createMvex() |
protected Box |
createMvhd() |
protected Box |
createStbl(StreamingTrack streamingTrack) |
protected void |
createTfdt(TrackFragmentBox parent) |
protected void |
createTfhd(StreamingTrack streamingTrack,
TrackFragmentBox parent) |
protected Box |
createTrak(StreamingTrack streamingTrack) |
protected Box |
createTrex(StreamingTrack streamingTrack) |
protected void |
createTrun(StreamingTrack streamingTrack,
TrackFragmentBox parent) |
void |
write() |
public MultiTrackFragmentedMp4Writer(StreamingTrack[] source, OutputStream outputStream)
public void close()
close
in interface StreamingMp4Writer
close
in interface Closeable
close
in interface AutoCloseable
protected Box createMvhd()
protected Box createMdiaHdlr(StreamingTrack streamingTrack)
protected Box createMdhd(StreamingTrack streamingTrack)
protected Box createMdia(StreamingTrack streamingTrack)
protected Box createMinf(StreamingTrack streamingTrack)
protected Box createStbl(StreamingTrack streamingTrack)
protected DataInformationBox createDinf()
protected Box createTrak(StreamingTrack streamingTrack)
public Box createFtyp()
protected Box createMvex()
protected Box createTrex(StreamingTrack streamingTrack)
protected Box createMoov()
public void write() throws IOException
write
in interface StreamingMp4Writer
IOException
protected void createTfhd(StreamingTrack streamingTrack, TrackFragmentBox parent)
protected void createTfdt(TrackFragmentBox parent)
protected void createTrun(StreamingTrack streamingTrack, TrackFragmentBox parent)
Copyright © 2017. All rights reserved.