共用方式為


DVD_TitleAttributes結構 (strmif.h)

[與此頁面 相關的功能 DirectShow是舊版功能。 它已被 MediaPlayerIMFMediaEngineMedia Foundation 中的音訊/視訊擷取取代。 這些功能已針對Windows 10和Windows 11進行優化。 Microsoft 強烈建議新程式碼盡可能使用 MediaPlayerIMFMediaEngine音訊/視訊擷取 ,而不是 DirectShow。 Microsoft 建議盡可能重寫使用舊版 API 的現有程式碼,以使用新的 API。]

DVD_TitleAttributes結構包含 DVD 標題的相關資訊。

語法

typedef struct tagDVD_TitleMainAttributes {
  union {
    DVD_TITLE_APPMODE AppMode;
    DVD_HMSF_TIMECODE TitleLength;
  };
  DVD_VideoAttributes             VideoAttributes;
  ULONG                           ulNumberOfAudioStreams;
  DVD_AudioAttributes             AudioAttributes[8];
  DVD_MultichannelAudioAttributes MultichannelAudioAttributes[8];
  ULONG                           ulNumberOfSubpictureStreams;
  DVD_SubpictureAttributes        SubpictureAttributes[32];
} DVD_TitleAttributes;

成員

AppMode

別為 DVD_TITLE_APPMODE 變數, 指出導覽器是否處於新模式。

TitleLength

DVD_HMSF_TIMECODE結構。

VideoAttributes

包含目前功能表或標題之「主要」影片相關資訊的 DVD_VideoAttributes 結構。

ulNumberOfAudioStreams

標題中可用的音訊資料流程數目。

AudioAttributes[8]

DVD_AudioAttributes結構的陣列,其中包含目前標題中每個可用音訊資料流程的相關資訊。

MultichannelAudioAttributes[8]

DVD_AudioAttributes結構的陣列。

ulNumberOfSubpictureStreams

標題中可用的子圖形資料流程數目。

SubpictureAttributes[32]

DVD_SubpictureAttributes結構的陣列,其中包含標題中每個可用子圖片資料流程的相關資訊。

備註

根據預設, DVD 導覽器 會使用匿名聯集的 AppMode 成員來報告標題模式。

如果應用程式將 [DVD_EnableTitleLength ] 選項設定為 TRUEDVD 導覽器 會使用聯集的 TitleLength 成員來報告標題長度。 若要設定此選項,請呼叫 IControl2::SetOption 方法。

規格需求

   
標頭 strmif.h (包含 Dshow.h)

另請參閱

DirectShow 結構

IHttpInfo2::GetTitleAttributes