IltmmDVDControl::PlayAtTime
#include "ltmm.h"
C Syntax |
HRESULT IltmmDVDControl_PlayAtTime(pDVD, Timecode SMPTE timecode, more properly known as SMPTE time and control code, is a series of digital frame address values, flags and additional data applied to a video or audio stream, and is defined in ANSI/SMPTE 12-1986. Its purpose is to provide a machine-readable address for video and audio. These are usually measured in seconds and they measure the time elapsed from the beginning of the file. It is a term describing the number you see on the VCR while you are playing a tape.audio stream The portion of the file holding the audio data. The audio data might be compressed to save disk space. The data has to be decompressed using an audio decompressor oftware component which decompresses audio. It must be designed to work with ACM or DirectShow. Note that different compression methods require different decompressors. There is no universal decompressor capable of decoding all compressed streams. before you can play (hear) it., and is defined in ANSI/SMPTE 12-1986. Its purpose is to provide a machine-readable address for video and audio. These are usually measured in seconds and they measure the time elapsed from the beginning of the file. It is a term describing the number you see on the VCR while you are playing a tape.) |
C++ Syntax |
HRESULT PlayAtTime(Timecode) |
IltmmDVDControl *pDVD; |
/* pointer to an interface */ |
long Timecode; |
/* time code */ |
Starts playback of the current title The name for a group of related video files (called "Chapters") on your DVD. For example, for a DVD called "My Summer Vacation," you might have the titles "Water Skiing," "New Friends," and "Hiking." For each of those titles, you might have one or more different video files. at the specified time.
Parameter |
Description |
pDVD |
Pointer to an IltmmDVDControl interface. |
Timecode |
The time at which to start playback. This value is a ltmmDVD_HMSF_TIMECODE structure. Refer to the MSDN link below for more information. |
Returns
S_OK |
The function ran successfully. |
<> S_OK |
An error occurred. Refer to the Error Codes or the HRESULT error codes in the DirectShow documentation. |
Comments
This function does not support command synchronization.
For more information on the options available when playing DVDs in LEADTOOLS Multimedia, refer to Playback Options.
For more detailed information, refer to the Microsoft documentation for IDvdControl2::PlayAtTime.
Required DLLs and Libraries
LTMM For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
Win32, x64
See Also
Example
For a C example, refer to IltmmDVDControl::GetButtonAtPosition Example for C.
For a C++ example, refer to IltmmDVDControl::GetButtonAtPosition Example for C++.