⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 timecoder.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#timeCodeToString(quicktime.std.qtcomponents.TimeCodeDef, int)">timeCodeToString</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A>&nbsp;tcdef,                 int&nbsp;counter)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a time value into a string (HH:MM:SS:FF) - if the timecode uses a drop frame technique the separators are semi-colons (HH;MM;SS;FF).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#timeCodeToString(quicktime.std.qtcomponents.TimeCodeDef, quicktime.std.qtcomponents.TimeCodeTime)">timeCodeToString</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A>&nbsp;tcdef,                 <A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.html">TimeCodeTime</A>&nbsp;tct)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a time value into a string (HH:MM:SS:FF) - if the timecode uses a drop frame technique the separators are semi-colons (HH;MM;SS;FF).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#toFrameNumber(quicktime.std.qtcomponents.TimeCodeTime, quicktime.std.qtcomponents.TimeCodeDef)">toFrameNumber</A></B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.html">TimeCodeTime</A>&nbsp;tcrec,              <A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A>&nbsp;tcdef)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a time value into a frame number using specified definitions.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.html">TimeCodeTime</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html#toTimeCode(int, quicktime.std.qtcomponents.TimeCodeDef)">toTimeCode</A></B>(int&nbsp;frameNumber,           <A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A>&nbsp;tcdef)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Converts a frame number into a time value using specified definitions.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.std.movies.media.VisualMediaHandler"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.movies.media.<A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html">VisualMediaHandler</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html#getGraphicsMode()">getGraphicsMode</A>, <A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html#getPublicInfo(int)">getPublicInfo</A>, <A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html#getTrackOpaque()">getTrackOpaque</A>, <A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html#hitTestForTargetRefCon(int, quicktime.qd.QDPoint)">hitTestForTargetRefCon</A>, <A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html#hitTestTargetRefCon(int, int, quicktime.qd.QDPoint)">hitTestTargetRefCon</A>, <A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html#setGraphicsMode(quicktime.std.image.GraphicsMode)">setGraphicsMode</A>, <A HREF="../../../quicktime/std/movies/media/VisualMediaHandler.html#setPublicInfo(int, quicktime.util.QTPointer)">setPublicInfo</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.std.comp.Component"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/Component.html">Component</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/Component.html#count()">count</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.std.comp.ComponentIdentifier"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.std.comp.<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#find(quicktime.std.comp.ComponentIdentifier, quicktime.std.comp.ComponentDescription)">find</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#getInfo()">getInfo</A>, <A HREF="../../../quicktime/std/comp/ComponentIdentifier.html#toString()">toString</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_quicktime.QTObject"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class quicktime.<A HREF="../../../quicktime/QTObject.html">QTObject</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../quicktime/QTObject.html#disposeQTObject()">disposeQTObject</A>, <A HREF="../../../quicktime/QTObject.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../quicktime/QTObject.html#ID(quicktime.QTObject)">ID</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="fromMedia(quicktime.std.movies.media.TimeCodeMedia)"><!-- --></A><H3>fromMedia</H3><PRE>public static <A HREF="../../../quicktime/std/qtcomponents/TimeCoder.html">TimeCoder</A> <B>fromMedia</B>(<A HREF="../../../quicktime/std/movies/media/TimeCodeMedia.html">TimeCodeMedia</A>&nbsp;m)                           throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method allows you to obtain a reference to a media handler component. This returns the handler that is the appropriate class for this particular media. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.46.htm#iqMovi1084">QuickTime::GetMediaHandler()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>a MediaHandler object for the media's media handler.<DT><B>See Also: </B><DD><CODE>quicktime.std.movies.media.TimeCodeMedia#getTimeCodeMediaHandler</CODE>, <CODE>quicktime.std.movies.media.Media#getMediaHandler</CODE></DL></DD></DL><HR><A NAME="getCurrent()"><!-- --></A><H3>getCurrent</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/TimeCodeInfo.html">TimeCodeInfo</A> <B>getCurrent</B>()                        throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the time code from the time code handler at the current time value.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3580">QuickTime::TCGetCurrentTimeCode()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Returns:</B><DD>The information object containing the time code, its definition, and data.</DL></DD></DL><HR><A NAME="getAtTime(int)"><!-- --></A><H3>getAtTime</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/TimeCodeInfo.html">TimeCodeInfo</A> <B>getAtTime</B>(int&nbsp;mediaTime)                       throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines the time code from the time code handler.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3592">QuickTime::TCGetTimeCodeAtTime()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mediaTime</CODE> - The time value of the media at which to retrieve the time code information.<DT><B>Returns:</B><DD>The information object containing the time code, its definition, and data.</DL></DD></DL><HR><A NAME="timeCodeToString(quicktime.std.qtcomponents.TimeCodeDef, quicktime.std.qtcomponents.TimeCodeTime)"><!-- --></A><H3>timeCodeToString</H3><PRE>public java.lang.String <B>timeCodeToString</B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A>&nbsp;tcdef,                                         <A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.html">TimeCodeTime</A>&nbsp;tct)                                  throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Converts a time value into a string (HH:MM:SS:FF) - if the timecode uses a drop frame technique the separators are semi-colons (HH;MM;SS;FF).	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3627">QuickTime::TCTimeCodeToString()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tcdef</CODE> - the time code definition structure used for the conversion<DD><CODE>tct</CODE> - the time code time structure used for the conversion<DT><B>Returns:</B><DD>the converted string</DL></DD></DL><HR><A NAME="timeCodeToString(quicktime.std.qtcomponents.TimeCodeDef, int)"><!-- --></A><H3>timeCodeToString</H3><PRE>public java.lang.String <B>timeCodeToString</B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A>&nbsp;tcdef,                                         int&nbsp;counter)                                  throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Converts a time value into a string (HH:MM:SS:FF) - if the timecode uses a drop frame technique the separators are semi-colons (HH;MM;SS;FF).	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3627">QuickTime::TCTimeCodeToString()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>tcdef</CODE> - the time code definition structure used for the conversion<DD><CODE>counter</CODE> - the time code counter value<DT><B>Returns:</B><DD>the converted string</DL></DD></DL><HR><A NAME="toFrameNumber(quicktime.std.qtcomponents.TimeCodeTime, quicktime.std.qtcomponents.TimeCodeDef)"><!-- --></A><H3>toFrameNumber</H3><PRE>public int <B>toFrameNumber</B>(<A HREF="../../../quicktime/std/qtcomponents/TimeCodeTime.html">TimeCodeTime</A>&nbsp;tcrec,                         <A HREF="../../../quicktime/std/qtcomponents/TimeCodeDef.html">TimeCodeDef</A>&nbsp;tcdef)                  throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Converts a time value into a frame number using specified definitions.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refMovieToolbox.4b.htm#pgfId=3605">QuickTime::TCTimeCodeToFrameNumber()</a> </b><BR><BR></DL></DD><DD><DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -