Platforms to show: All Mac Windows Linux Cross-Platform
Back to DVDPlaybackMBS class.
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 |
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 |
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 |
Requires Mac OS X 10.3 or newer.
Lasterror is set.
Constants:
| kDVDTimeCodeUninitialized | 0 | |
| kDVDTimeCodeElapsedSeconds | 1 | |
| kDVDTimeCodeRemainingSeconds | 2 | |
| kDVDTimeCodeTitleDurationSeconds | 3 | only useable for GetTime |
| kDVDTimeCodeChapterElapsedSeconds | 4 | only useable for GetTime |
| kDVDTimeCodeChapterRemainingSeconds | 5 | only useable for GetTime |
| kDVDTimeCodeChapterDurationSeconds | 6 | only 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 |
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 |
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 |
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 |
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 |
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 |
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.
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | DVD Playback | MBS MacOSX Plugin | 9.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
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 |
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 |
Requires Mac OS X 10.3 or newer.
Lasterror is set.
The items on this page are in the following plugins: MBS MacOSX Plugin.