1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>libquicktime: Text</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="annotated.html"><span>Data Structures</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li><a href="dirs.html"><span>Directories</span></a></li>
</ul>
</div>
<h1>Text</h1>Text related definitions and functions.
<a href="#_details">More...</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Modules</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__text__encode.html">Writing text</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Encode text. <br></td></tr>
<p>
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="group__text__decode.html">Reading text</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Decode text. <br></td></tr>
<p>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Text related definitions and functions.
<p>
Libquicktime supports reading and writing of text tracks from/to Quicktime and mp4 files. Text tracks contain samples, which are simple text strings. Libquicktime tries to handle character set issues internally, all string you pass to/from libquicktime can assumed to be UTF-8.<p>
A text track can either be used for subtitles (which is the default), or for chapters. In the latter case, each text sample denotes the title of the chapter, the corresponding timestamp is the start time of the chapter.<p>
For subtitles, there is only a start time defined for each sample, not the duration, after which the subtitle will be hidden. To make subtitles disappear at a specified time, insert an empty subtitle with the right timestamp.<p>
What's not supported are text attributes, font selection etc. Feel free to make a proposal how to support these things. <hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 8 23:01:07 2008 for libquicktime by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
</body>
</html>
|