movieimporter.html
来自「这个是java的quicktime for java 的详细使用文档」· HTML 代码 · 共 994 行 · 第 1/4 页
HTML
994 行
</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="fromTrack(quicktime.std.movies.Track)"><!-- --></A><H3>fromTrack</H3><PRE>public static <A HREF="../../../quicktime/std/qtcomponents/MovieImporter.html">MovieImporter</A> <B>fromTrack</B>(<A HREF="../../../quicktime/std/movies/Track.html">Track</A> t) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Looks on the System scrap to find out if it can translate any of the track data into a movie. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QT/iqMovieToolbox.3f.htm#iqMovi1000">QuickTime::IsScrapMovie()</a> </b><BR><BR></DL></DD><DD><DL><DT><B>See Also: </B><DD><A HREF="../../../quicktime/std/movies/Track.html#isScrapMovie()"><CODE>Track.isScrapMovie()</CODE></A></DL></DD></DL><HR><A NAME="fromFile(quicktime.io.QTFile, quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)"><!-- --></A><H3>fromFile</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/MovieImportInfo.html">MovieImportInfo</A> <B>fromFile</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A> fileIn, <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> theMovie, <A HREF="../../../quicktime/std/movies/Track.html">Track</A> targetTrack, int atTime, int inFlags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows the MovieToolbox to import data from a file using the movie import component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.f.htm#13428">QuickTime::MovieImportFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fileIn</CODE> - Specifies the source file to the importing data.<DD><CODE>theMovie</CODE> - Specifies the movie to receive the data.<DD><CODE>targetTrack</CODE> - Specifies the track to receive the data, if to be recipent, then inFlags use movieImportMustUseTrack.<DD><CODE>atTime</CODE> - Specifies the start time of the movie time base to place the imported data.<DD><CODE>inFlags</CODE> - Specifies the control flags governing the operation.<DT><B>Returns:</B><DD>The results pertinent to the operation.</DL></DD></DL><HR><A NAME="fromHandle(quicktime.util.QTHandleRef, quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)"><!-- --></A><H3>fromHandle</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/MovieImportInfo.html">MovieImportInfo</A> <B>fromHandle</B>(<A HREF="../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> dataRef, <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> theMovie, <A HREF="../../../quicktime/std/movies/Track.html">Track</A> targetTrack, int atTime, int inFlags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows the MovieToolbox to import data from a handle using the movie import component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.f.htm">QuickTime::MovieImportHandle</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataRef</CODE> - Specifies the handle to the importing data.<DD><CODE>theMovie</CODE> - Specifies the movie to receive the data.<DD><CODE>targetTrack</CODE> - Specifies the track to receive the data, if to be recipent, then inFlags use movieImportMustUseTrack.<DD><CODE>atTime</CODE> - Specifies the start time of the movie time base to place the imported data.<DD><CODE>inFlags</CODE> - Specifies the control flags governing the operation.<DT><B>Returns:</B><DD>The results pertinent to the operation.</DL></DD></DL><HR><A NAME="fromDataRef(quicktime.std.movies.media.DataRef, quicktime.std.movies.Movie, quicktime.std.movies.Track, int, int)"><!-- --></A><H3>fromDataRef</H3><PRE>public <A HREF="../../../quicktime/std/qtcomponents/MovieImportInfo.html">MovieImportInfo</A> <B>fromDataRef</B>(<A HREF="../../../quicktime/std/movies/media/DataRef.html">DataRef</A> dataRef, <A HREF="../../../quicktime/std/movies/Movie.html">Movie</A> theMovie, <A HREF="../../../quicktime/std/movies/Track.html">Track</A> targetTrack, int atTime, int inFlags) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Determines information revelant to the movie import component. The info kept are the track used, time value added, and flags describing the operation. <BR><BR><b>QuickTime::MovieImportDataRef</b><BR><BR><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>dataRef</CODE> - Specifies the data reference.<DD><CODE>theMovie</CODE> - Specifies the movie.<DD><CODE>targetTrack</CODE> - Specifies the track to receive the data, if to be recipent, then inFlags use movieImportMustUseTrack.<DD><CODE>atTime</CODE> - Specifies the start time of the movie time base.<DD><CODE>inFlags</CODE> - Specifies the flags in for the operation.<DT><B>Returns:</B><DD>The results returned from the query operation.</DL></DD></DL><HR><A NAME="setSampleDuration(int, int)"><!-- --></A><H3>setSampleDuration</H3><PRE>public void <B>setSampleDuration</B>(int duration, int scale) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the duration for the component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=585">QuickTime::MovieImportSetSampleDuration</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>duration</CODE> - Specifies the time base.<DD><CODE>scale</CODE> - Specifies the time base scale.</DL></DD></DL><HR><A NAME="setSampleDescription(quicktime.std.movies.media.SampleDescription, int)"><!-- --></A><H3>setSampleDescription</H3><PRE>public void <B>setSampleDescription</B>(<A HREF="../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A> desc, int mediaType) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the SampleDescription and media type for the component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#31056">QuickTime::MovieImportSetSampleDescription</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>desc</CODE> - Specifies the sample description.<DD><CODE>mediaType</CODE> - Specifies the media type.</DL></DD></DL><HR><A NAME="setMediaFile(quicktime.io.AliasHandle)"><!-- --></A><H3>setMediaFile</H3><PRE>public void <B>setMediaFile</B>(<A HREF="../../../quicktime/io/AliasHandle.html">AliasHandle</A> alias) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows an application to specify a media file that is to receive the imported movie data. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=602">QuickTime::MovieImportSetMediaFile</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>alias</CODE> - the media file that is to receive the imported movie data.</DL></DD></DL><HR><A NAME="setDimensions(float, float)"><!-- --></A><H3>setDimensions</H3><PRE>public void <B>setDimensions</B>(float width, float height) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the dimensions for the component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=610">QuickTime::MovieImportSetDimensions</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - Specifies the width.<DD><CODE>height</CODE> - Specifies the height.</DL></DD></DL><HR><A NAME="setChunkSize(int)"><!-- --></A><H3>setChunkSize</H3><PRE>public void <B>setChunkSize</B>(int chunkSize) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the size to allocate for the component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=621">QuickTime::MovieImportSetChunkSize</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>chunkSize</CODE> - Specifies the size.</DL></DD></DL><HR><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> mp) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method establishes a MovieProgress object for the MovieImporter that will be called for you by the Movie Toolbox whenever it has to do a lengthy movie import process with this MovieImporter <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=629">QuickTime::MovieImportSetProgressProc</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="removeProgressProc()"><!-- --></A><H3>removeProgressProc</H3><PRE>public void <B>removeProgressProc</B>() throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>This method removes a MovieProgress callback for the MovieImporter. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=629">QuickTime::MovieImportSetProgressProc</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="setAuxiliaryData(quicktime.util.QTHandleRef, int)"><!-- --></A><H3>setAuxiliaryData</H3><PRE>public void <B>setAuxiliaryData</B>(<A HREF="../../../quicktime/util/QTHandleRef.html">QTHandleRef</A> data, int handleType) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the handle and its type for the component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=639">QuickTime::MovieImportSetAuxiliaryData</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - Specifies the data handle.<DD><CODE>handleType</CODE> - Specifies the handle type.</DL></DD></DL><HR><A NAME="setFromScrap(boolean)"><!-- --></A><H3>setFromScrap</H3><PRE>public void <B>setFromScrap</B>(boolean fromScrap) throws <A HREF="../../../quicktime/std/StdQTException.html">StdQTException</A></PRE><DL><DD>Specifies the scrap for the component. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=648">QuickTime::MovieImportSetFromScrap</a> </b><BR><BR></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>fromScrap</CODE> - Specifies weather to use the scrap manager.</DL></DD></DL><HR><A NAME="doUserDialog(quicktime.io.QTFile)"><!-- --></A><H3>doUserDialog</H3><PRE>public boolean <B>doUserDialog</B>(<A HREF="../../../quicktime/io/QTFile.html">QTFile</A> fileIn) throws <A HREF="../../../quicktime/QTException.html">QTException</A></PRE><DL><DD>Allows an application to request that your component display its user dialog box. <BR><BR><b> <a href="http://developer.apple.com/techpubs/quicktime/qtdevdocs/INMAC/QTC/imDataExchange.10.htm#pgfId=656">QuickTime::MovieImportDoUserDialog</a> </b><BR><BR></DL>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?