InterDVDDisc๏
Scene-tree root for an Interactive DVD. Compiles to InterDVDProject at export.
Description๏
Author titles, menus, and encode settings on this node instead of ProjectSettings. Child InterDVDTitle and InterDVDTitleSet nodes become VTS titles. Child InterDVDMenuPage nodes become VMGM/VTSM menus. build_project() is the export IR. Project โ Tools โ Create Interactive DVD Scene inserts a VLC-safe skeleton (title menu, main title, menu title).
Properties๏
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Methods๏
add_chapter_to_last(name: String = "Chapter") |
|
add_menu_title(name: String = "Menu") |
|
add_title_menu(name: String = "TitleMenu") |
|
add_root_menu(name: String = "RootMenu") |
|
add_title_set(name: String = "TitleSet") |
|
void |
apply_settings_to(project: InterDVDProject) |
void |
apply_scene_owner(owner: Node) |
build_project() const |
|
create_starter() static |
|
find_in_tree(root: Node) static |
Enumerations๏
enum FirstPlay: ๐
Boot the VMGM title menu when it has buttons; otherwise JumpTT to the main title.
FirstPlay FIRST_PLAY_MAIN_TITLE = 1
First Play JumpTT to the first title that is not a menu title.
FirstPlay FIRST_PLAY_PATH = 2
First Play JumpTT to first_play_path.
Property Descriptions๏
AC3 encode bitrate in kbps.
AC3 channel count (1โ6).
String audio_language = "en" ๐
Default title audio language.
Disc metadata author.
Optional AUTORUN.INF icon path.
String autorun_label = "" ๐
Optional AUTORUN.INF label.
Optional AUTORUN.INF open target.
int bake_warmup_frames = 2 ๐
Viewport frames skipped before the first captured bake frame.
Copyright text packed by the toolchain.
String copyright_file = "" ๐
Copyright file copied onto the disc root.
Credits text packed by the toolchain.
Credits file copied onto the disc root.
Human title written into TXTDT_MGI.
PackedStringArray extras = PackedStringArray() ๐
void set_extras(value: PackedStringArray)
PackedStringArray get_extras()
Host paths to pack beside VIDEO_TS.
Note: The returned array is copied and any changes to it will not update the original property value. See PackedStringArray for more details.
Host folder merged onto the disc root.
Boot command: title menu, main title, or first_play_path.
NodePath first_play_path = NodePath("") ๐
Title to JumpTT when first_play is FIRST_PLAY_PATH.
MPEG GOP size passed to ffmpeg -g.
License text packed by the toolchain.
License file copied onto the disc root.
ISO 639-1 code on VMGM/VTSM language units.
Parental level stored in disc metadata.
float pip_blackdetect_sec = 2.5 ๐
Seconds scanned for PiP lead-in black.
float pip_blackdetect_pix_th = 0.12 ๐
PiP black-detect pixel threshold.
String provider_id = "BLAZIUM INTER-DVD" ๐
32-byte VMGI provider identifier.
ISO9660 publisher identifier.
Readme text packed by the toolchain.
Readme file copied onto the disc root.
Region mask written into the VMG.
Optional disc serial (max 15 characters).
Studio name in disc metadata.
String subtitle_language = "en" ๐
Default subtitle language.
int title_safe_bottom = 432 ๐
NTSC title-safe bottom scanline for HLI clamp.
Disc version string.
String volume_id = "BLAZIUM_DVD" ๐
ISO9660 volume label.
Studio or product website.
Method Descriptions๏
InterDVDChapter add_chapter_to_last(name: String = "Chapter") ๐
Appends a chapter to the last title, creating a title if needed.
Appends a VLC-safe menu title PGC (InterDVDTitle.menu_title, still 255).
InterDVDTitle add_title(name: String = "Title") ๐
Appends a title child and returns it.
Appends a VMGM title menu with still time 0.
Appends a VTSM root menu on the last title set, or as a disc child.
InterDVDTitleSet add_title_set(name: String = "TitleSet") ๐
Appends an InterDVDTitleSet (one VTS_NN).
void apply_settings_to(project: InterDVDProject) ๐
Copies disc identity, encode, extras, and languages onto project. Used by build_project().
void apply_scene_owner(owner: Node) ๐
Sets owner on this node (if it is not the owner) and every descendant so the scene tree saves children.
InterDVDProject build_project() const ๐
Walks children and returns the authored disc graph. Resolves hotspot InterDVDHotspot.destination paths to title numbers. FIRST_PLAY_TITLE_MENU leaves First Play empty when a title menu has buttons (export JumpSS). FIRST_PLAY_MAIN_TITLE writes JumpTT to the first non-menu title.
InterDVDDisc create_starter() static ๐
Builds Disc / TitleMenu+Play / Main+Chapter1 / Menu+Play with Play jumping to Main.
InterDVDDisc find_in_tree(root: Node) static ๐
Returns root if it is an InterDVDDisc, otherwise the first descendant disc, or null.