org.jcodec.containers.mkv
Class MKVRemuxer
java.lang.Object
org.jcodec.containers.mkv.MKVRemuxer
public class MKVRemuxer
- extends Object
|
Method Summary |
void |
mux(FileChannel os)
The JCodec convention to muxing MKV files is following |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tree
public final List<MasterElement> tree
MKVRemuxer
public MKVRemuxer(List<MasterElement> tree,
FileChannel source)
mux
public void mux(FileChannel os)
throws IOException
- The JCodec convention to muxing MKV files is following
+----------+
| SeekHead |
+----------+
| Info? |
+----------+
| Tracks? |
+----------+
| Tags? |
+----------+
| Cues |
+----------+
| Cluster |
+----------+
| Cluster |
+----------+
| .... |
Which stands for "Seek Head" element followed by at most one "Info" element, followed by at most one "Tracks" element, followed by at most one "Tags" element, followed by Cues element, followed by as many as needed Cluster elements
Also "Seek Head" contains pointers to Info, Tracks, Tags, and Cues (if correspodning element is present), but not to Cluster.
In its turn Cues contains pointers to every Cluster element. In case of big cluster, several CuePoints can point to a single Cluster element.
- Parameters:
os -
- Throws:
IOException
Copyright © 2013. All Rights Reserved.