public interface Muxer
| Modifier and Type | Method and Description |
|---|---|
MuxerTrack |
addAudioTrack(Codec codec,
AudioCodecMeta meta)
Adds an audio track and stores the provided metadata fields inside the
container.
|
MuxerTrack |
addVideoTrack(Codec codec,
VideoCodecMeta meta)
Adds a video track and stores the provided metadata fields inside the
container.
|
void |
finish()
Finalize writing this file.
|
MuxerTrack addVideoTrack(Codec codec, VideoCodecMeta meta)
codec - Codec type stored in this track.meta - Video metadata including the codec type.MuxerTrack addAudioTrack(Codec codec, AudioCodecMeta meta)
codec - Codec type stored in this track.meta - Audio metadata including the codec type.void finish()
throws IOException
IOExceptionCopyright © 2019. All rights reserved.