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

📄 movieexporter.html

📁 这个是java的quicktime for java 的详细使用文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the SampleDescription and media type for the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieExporter.html#toDataRef(quicktime.std.movies.media.DataRef, quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)">toDataRef</A></B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;dataRef,          <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;theMovie,          <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;onlyThisTrack,          int&nbsp;startTime,          int&nbsp;duration)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exports the movie's track data to the specified data reference for the movie export component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieExporter.html#toFile(quicktime.io.QTFile, quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)">toFile</A></B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;theFile,       <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;theMovie,       <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;onlyThisTrack,       int&nbsp;startTime,       int&nbsp;duration)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This method is used to export movie data into a file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;<A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieExporter.html#toHandle(quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)">toHandle</A></B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;theMovie,         <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;onlyThisTrack,         int&nbsp;startTime,         int&nbsp;duration)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Exports the movie's track data into a handle, returning the handle the data is exported too.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../quicktime/std/qtcomponents/MovieExporter.html#validate(quicktime.std.movies.Movie, quicktime.std.movies.Track)">validate</A></B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;theMovie,         <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;onlyThisTrack)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Use this method to determine whether the movie or track could be exported by this exporter.</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 ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="MovieExporter(int)"><!-- --></A><H3>MovieExporter</H3><PRE>public <B>MovieExporter</B>(int&nbsp;subType)              throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Opens the specified movie export component,'spit', with the given subType.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#28411">QuickTime::OpenADefaultComponent</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>subType</CODE> - The movie export component sub type</DL></DD></DL><HR><A NAME="MovieExporter(quicktime.std.comp.ComponentIdentifier)"><!-- --></A><H3>MovieExporter</H3><PRE>public <B>MovieExporter</B>(<A HREF="../../../quicktime/std/comp/ComponentIdentifier.html">ComponentIdentifier</A>&nbsp;comp)              throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Given a component identifier it opens the specified component. The component type must be 'spit' or an exception will be thrown as it is not a MovieExporter. This constructor allows an application to find the appropriate export component and then have that component opened.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refComponentMgr.8.htm#10078">QuickTime::OpenAComponent</a> </b><BR><BR><DT><B>Parameters:</B><DD><CODE>comp</CODE> - the component identifier to open</DL></DD></DL><!-- ============ 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="setProgressProc(quicktime.std.movies.MovieProgress)"><!-- --></A><H3>setProgressProc</H3><PRE>public void <B>setProgressProc</B>(<A HREF="../../../quicktime/std/movies/MovieProgress.html">MovieProgress</A>&nbsp;mp)                     throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method establishes a MovieProgress object for the MovieExporter that will be called for you by the Movie Toolbox whenever it has to do a lengthy movie export process with this MovieExporter	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.12.htm#pgfId=710">QuickTime::MovieExportSetProgressProc</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>mp</CODE> - the MovieProgress object, or null for no progress object</DL></DD></DL><HR><A NAME="toFile(quicktime.io.QTFile, quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)"><!-- --></A><H3>toFile</H3><PRE>public void <B>toFile</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A>&nbsp;theFile,                   <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;theMovie,                   <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;onlyThisTrack,                   int&nbsp;startTime,                   int&nbsp;duration)            throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>This method is used to export movie data into a file. 	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.11.htm#18276">QuickTime::MovieExportToFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theFile</CODE> - the file that is to receive the converted movie data<DD><CODE>theMovie</CODE> - specifies the movie to export.<DD><CODE>onlyThisTrack</CODE> - Specifies the track used to reference.<DD><CODE>startTime</CODE> - Specifies the start time value of the time base.<DD><CODE>duration</CODE> - Specifies the elapsed time value of the timebase.<DT><B>Returns:</B><DD>The file containing the converted movie data.</DL></DD></DL><HR><A NAME="toHandle(quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)"><!-- --></A><H3>toHandle</H3><PRE>public <A HREF="../../../quicktime/util/QTHandle.html">QTHandle</A> <B>toHandle</B>(<A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;theMovie,                         <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;onlyThisTrack,                         int&nbsp;startTime,                         int&nbsp;duration)                  throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Exports the movie's track data into a handle, returning the handle the data is exported too.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.11.htm#13612">QuickTime::MovieExportToHandle</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theMovie</CODE> - Specifies the movie.<DD><CODE>onlyThisTrack</CODE> - Specifies the track used to reference.<DD><CODE>startTime</CODE> - Specifies the start time of the time base.<DD><CODE>duration</CODE> - Specifies the time value of the timebase.<DT><B>Returns:</B><DD>The handle containing the converted movie data.</DL></DD></DL><HR><A NAME="toDataRef(quicktime.std.movies.media.DataRef, quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)"><!-- --></A><H3>toDataRef</H3><PRE>public void <B>toDataRef</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A>&nbsp;dataRef,                      <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A>&nbsp;theMovie,                      <A HREF="../../../quicktime/std/movies/Track.html">Track</A>&nbsp;onlyThisTrack,                      int&nbsp;startTime,                      int&nbsp;duration)               throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Exports the movie's track data to the specified data reference for the movie export component. Determines and opens the component to use for the given data reference and data type.	 <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/REF/refDataExchange.21.htm#23651">QuickTime::MovieExportToDataRef</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>theMovie</CODE> - Specifies the movie.<DD><CODE>usedTrack</CODE> - Specifies the track used to reference.<DD><CODE>tr</CODE> - Specifies the start time of the time base.<DD><CODE>duration</CODE> - Specifies the time value of the timebase.<DT><B>Returns:</B><DD>The handle containing the converted movie data.</DL></DD></DL><HR><A NAME="getAuxiliaryData(quicktime.util.QTHandle)"><!-- --></A><H3>

⌨️ 快捷键说明

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