Kurosu
9th May 2004, 19:19
I'm using C++ version of libmatroska 0.6.3 and libebml 0.6.4. I've more or less used code from the CVS for Matroska Properties and various projects in that repository. I have several questions:
1) When parsing a subtitle track element, I found an EbmlElement of ID 0xEC. It appears to be an EbmlVoid element, probably holding a boolean value. What is its use?
2) I have a problem reading the duration available from KaxInfo element. In case an element is longer than the others (say, if I put a subtitle of an 1H for a 20s video), the whole clip has now the duration of subtitle. This was to be expected, but then, how can I get the per-track durations instead? I see the element KaxTrackDefaultDuration which should be probably used with a number of samples, but I don't know where I should get this number.
3) Finaly, once I have a subtitle track, how could I get further information from it, in particular its charset?
TIA,
Kurosu
1) When parsing a subtitle track element, I found an EbmlElement of ID 0xEC. It appears to be an EbmlVoid element, probably holding a boolean value. What is its use?
2) I have a problem reading the duration available from KaxInfo element. In case an element is longer than the others (say, if I put a subtitle of an 1H for a 20s video), the whole clip has now the duration of subtitle. This was to be expected, but then, how can I get the per-track durations instead? I see the element KaxTrackDefaultDuration which should be probably used with a number of samples, but I don't know where I should get this number.
3) Finaly, once I have a subtitle track, how could I get further information from it, in particular its charset?
TIA,
Kurosu