IltmmDVDControl::PlayAtTimeInTitle

#include "ltmm.h"

C Syntax

HRESULT IltmmDVDControl_PlayAtTimeInTitle(pDVD, 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., 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 PlayAtTimeInTitle(Title, Timecode)

 

IltmmDVDControl *pDVD;

/* pointer to an interface */

long Title;

/* title */

long Timecode;

/* time code */

Starts playback from the specified time in the specified title.

Parameter

Description

pDVD

Pointer to an IltmmDVDControl interface.

Title

The number of the title to play. Possible values range from 1 to 99.

Timecode

The time at which to start playback. This value is an 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::PlayAtTimeInTitle at http://msdn.microsoft.com/archive/default.asp?url=/library/en-us/directshow/htm/idvdcontrol2playattimeintitle.asp.

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.

See Also

Elements:

IltmmDVDControl interface, IltmmDVDControl::Pause, IltmmDVDControl::Stop, IltmmDVDControl::Resume, IltmmDVDControl::PlayAtTime, IltmmDVDControl::PlayBackwards, IltmmDVDControl::PlayChapter, IltmmDVDControl::PlayChapterInTitle, IltmmDVDControl::PlayChaptersAutoStop, IltmmDVDControl::PlayForwards, IltmmDVDControl::PlayNextChapter, IltmmDVDControl::PlayPeriodInTitleAutoStop, IltmmDVDControl::PlayPrevChapter, IltmmDVDControl::PlayTitle, IltmmDVDControl::ReplayChapter, IltmmDVDControl::StillOff

Topics:

Multimedia Function Group

Example

For a C example, refer to IltmmDVDControl::GetButtonAtPosition Example for C.

For a C++ example, refer to IltmmDVDControl::GetButtonAtPosition Example for C++.