📄 media.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getDataSize(int, int)">getDataSize</A></B>(int startTime, int duration)</CODE><BR> This method allows your application to determine the size, in bytes, of the sample data in a media segment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getDuration()">getDuration</A></B>()</CODE><BR> This method returns the duration of a media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/media/MediaHandler.html">MediaHandler</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getHandler()">getHandler</A></B>()</CODE><BR> This method allows you to obtain a reference to a media handler component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/media/HandlerInfo.html">HandlerInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getHandlerDescription()">getHandlerDescription</A></B>()</CODE><BR> This method allows your application to retrieve information about a media handler.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getInputMap()">getInputMap</A></B>()</CODE><BR> This method returns you the input map of the media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getLanguage()">getLanguage</A></B>()</CODE><BR> This method returns a media's language or region code.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getModificationTime()">getModificationTime</A></B>()</CODE><BR> This method returns a media's modification date.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/TimeInfo.html">TimeInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getNextInterestingTime(int, int, float)">getNextInterestingTime</A></B>(int interestingTimeFlags, int time, float rate)</CODE><BR> This method searches for times of interest in a media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getPlayHints()">getPlayHints</A></B>()</CODE><BR> This method allows your application to get information from the Movie Toolbox that determines the current state of playback of a single media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getPlayHints(int, int)">getPlayHints</A></B>(int flags, int flagsMask)</CODE><BR> <B>Deprecated.</B> <I>these arguments are not used in this call see getPlayHints()</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getPreferredChunkSize()">getPreferredChunkSize</A></B>()</CODE><BR> This method returns the preferred chunck size for the media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/AtomContainer.html">AtomContainer</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getPropertyAtom()">getPropertyAtom</A></B>()</CODE><BR> Retrieves the properties from a media handler.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getQuality()">getQuality</A></B>()</CODE><BR> This method returns a media's quality level value.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/media/MediaSample.html">MediaSample</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getSample(int, int, int)">getSample</A></B>(int maxSizeToGrow, int time, int maxNumberOfSamples)</CODE><BR> This method returns a sample from a movie data file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getSampleCount()">getSampleCount</A></B>()</CODE><BR> This method allows you to determine the number of samples in a media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/media/SampleDescription.html">SampleDescription</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getSampleDescription(int)">getSampleDescription</A></B>(int index)</CODE><BR> This method allows you to retrieve a sample description from a media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getSampleDescriptionCount()">getSampleDescriptionCount</A></B>()</CODE><BR> This method returns the number of sample descriptions in a media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/media/SampleInfo.html">SampleInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getSampleReference(int, int)">getSampleReference</A></B>(int time, int maxNumberOfSamples)</CODE><BR> This method allows your application to obtain reference information about samples that are stored in a movie data file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/media/SampleReferenceInfo.html">SampleReferenceInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getSampleReferences(int, int)">getSampleReferences</A></B>(int time, int maxNumberOfSamples)</CODE><BR> This method allows your application to obtain reference information about samples that are stored in a movie data file.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getShadowSync(int)">getShadowSync</A></B>(int frameDiffSampleNum)</CODE><BR> This method returns the sample number of the shadow sync associated with a given frame difference sample number.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getSyncSampleCount()">getSyncSampleCount</A></B>()</CODE><BR> This method allows you to determine the number of samples in a media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getTimeScale()">getTimeScale</A></B>()</CODE><BR> This method allows your application to determine a media's time scale.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/Track.html">Track</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getTrack()">getTrack</A></B>()</CODE><BR> This method allows you to determine the track that uses a specified media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/movies/media/Media.html">Media</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getTrackMedia(quicktime.std.movies.Track)">getTrackMedia</A></B>(<A HREF="../../../../quicktime/std/movies/Track.html">Track</A> theTrack)</CODE><BR> Returns a Media class that corresponds to the media that contains a track's data.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/media/UserData.html">UserData</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#getUserData()">getUserData</A></B>()</CODE><BR> This method allows your application to obtain access to a media's user data list.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#loadIntoRam(int, int, int)">loadIntoRam</A></B>(int time, int duration, int flags)</CODE><BR> This method loads a media's data into memory.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static <A HREF="../../../../quicktime/std/movies/media/Media.html">Media</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#newFromType(int, quicktime.std.movies.Track, int, quicktime.std.movies.media.DataRef)">newFromType</A></B>(int mediaType, <A HREF="../../../../quicktime/std/movies/Track.html">Track</A> track, int timeScale, <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> dataRef)</CODE><BR> Creates a media struct for the specified Track object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../quicktime/std/movies/TimeInfo.html">TimeInfo</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#sampleNumToMediaTime(int)">sampleNumToMediaTime</A></B>(int logicalSampleNum)</CODE><BR> This method allows you to find the time at which a specified sample plays.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#setDataHandler(int, quicktime.std.movies.media.DataHandler)">setDataHandler</A></B>(int index, <A HREF="../../../../quicktime/std/movies/media/DataHandler.html">DataHandler</A> dH)</CODE><BR> This method allows you to assign a data handler to a media.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../quicktime/std/movies/media/Media.html#setDataRef(int, quicktime.std.movies.media.DataRef)">setDataRef</A></B>(int index, <A HREF="../../../../quicktime/std/movies/media/DataRef.html">DataRef</A> dataReference)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -