Platforms to show: All Mac Windows Linux Cross-Platform

Back to DVDPlaybackMBS class.

Previous items

DVDPlaybackMBS.GetSubPictureLanguageCodeByStream(StreamIndex as Integer, byref DVDLanguageCode as string, byref DVDSubpictureExtensionCode as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the subpicture language code and extension for a specified subpicture stream.

StreamIndex: A subpicture stream number in the current title. Subpicture stream numbers range from 1 to 32.

DVDLanguageCode: On return, the variable contains the language code for the subpicture stream. For a list of possible values, see Language Codes.

DVDSubpictureExtensionCode: On return, the variable contains the extension code for the subpicture stream. For a list of possible values, see Subpicture Extension Codes.

Lasterror is set.

If subpictures are not available, this function does nothing and lasterror is not 0.

Available in Mac OS X v10.3 and later.

DVDPlaybackMBS.GetSubPictureStream as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the current subpicture stream.

Returns the identifier of the current subpicture stream, or 0 if the current title has no subpictures. DVD-Video media supports up to 32 subpicture streams per title.

Lasterror is set.

Before calling this function, DVD-Video media needs to be open and video playback started.

Available in Mac OS X v10.3 and later.

DVDPlaybackMBS.GetTime(timecode as Integer, byref time as Integer, byref frames as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the current playback position in the current title in seconds relative to the requested time code (elapsed,remaining).

Requires Mac OS X 10.3 or newer.
Lasterror is set.

Constants:
kDVDTimeCodeUninitialized0
kDVDTimeCodeElapsedSeconds1
kDVDTimeCodeRemainingSeconds2
kDVDTimeCodeTitleDurationSeconds3only useable for GetTime
kDVDTimeCodeChapterElapsedSeconds4only useable for GetTime
kDVDTimeCodeChapterRemainingSeconds5only useable for GetTime
kDVDTimeCodeChapterDurationSeconds6only useable for GetTime

DVDPlaybackMBS.GetTimeEventRate as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the rate of the time event.

Returns the current interval between time events in milliseconds.

Lasterror is set.
Available in Mac OS X v10.3 and later.

DVDPlaybackMBS.GetTitle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the number of the current title.

Returns the current title number, or 0 if a menu is active. DVD-Video media can contain up to 99 titles.

Lasterror is set.
Available in Mac OS X v10.3 and later.

Some examples using this method:

DVDPlaybackMBS.GetVideoBounds(byref x as Integer, byref y as Integer, byref w as Integer, byref h as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Returns (in port coordinates) the rect used to play video.

Lasterror is set.
Requires Mac OS X 10.3.

DVDPlaybackMBS.GetVideoDisplay as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the graphics display for the current DVD-Video playback session.

Returns the display ID is set to the current video playback display.

Lasterror is set.

Before calling this function, you need to set the video playback display using SetVideoDisplay or SwitchToDisplay.

Available in Mac OS X v10.3 and later.

DVDPlaybackMBS.GetVideoKeyColor as color

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the key color used by the video driver.

Available in Mac OS X v10.3 and later.
Deprecated in Mac OS X v10.5.
Not available to 64-bit applications.

This function does nothing and returns the color black.

DVDPlaybackMBS.GetVideoWindowID as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Gets the window ID of the Cocoa window in use for DVD-Video playback.

Returns the window ID of the Cocoa window currently in use for DVD-Video playback, or zero if there is no Cocoa window.

Lasterror is set.
Available in Mac OS X v10.3 and later.

DVDPlaybackMBS.GoBackOneLevel

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
If a submenu is active, moves up one level in the same domain.

Lasterror is set.

This function is used to navigate one level up in a hierarchical structure in the same domain—for example, from a scene selection menu back to the main menu. This action is comparable to navigating upwards in the directory or folder hierarchy of a file system.

Available in Mac OS X v10.3 and later.

DVDPlaybackMBS.GotoBookmark(Bookmark as string)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Sets the video playback position using a bookmark, and resumes play.

This function is used when playing media on a DVD-Video disc. Before calling this function, the media needs to be open. This function uses the specified bookmark to set the video playback position, and begins playing the media.

Bookmark ist a binary string. Make sure you did not destroy it by an encoding conversion!

Requires Mac OS X 10.4 or newer.
Lasterror is set.

DVDPlaybackMBS.GoToMenu(menu as Integer)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method DVD Playback MBS MacOSX Plugin 9.2 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Jump to a particular menu (Root Menu,Sub Picture Menu, etc.).

Requires Mac OS X 10.3 or newer.
Lasterror is set.

Previous items

The items on this page are in the following plugins: MBS MacOSX Plugin.


The biggest plugin in space...