InterDVDChapter

Inherits: Node < Object

One title chapter that compiles to InterDVDCell.

Description

Child of InterDVDTitle. SOURCE_VIDEO uses source_path; SOURCE_SCENE bakes packed_scene for duration_sec. PiP and extra audio stay on this node.

Properties

String

audio_path

""

NodePath

bake_camera_path

NodePath("")

float

bake_hold_sec

0.0

float

duration_sec

4.0

bool

include_audio

true

float

loop_pad_sec

0.0

PackedScene

packed_scene

float

pip_lead_sec

0.4

Rect2

pip_rect

Rect2(0, 0, 0, 0)

NodePath

pip_slot_path

NodePath("")

String

pip_source_path

""

Source

source

0

String

source_path

""

int

angle

1

Array[InterDVDStream]

streams

[]

Methods

InterDVDCell

compile_cell() const

void

fill_cell(cell: InterDVDCell) const


Enumerations

enum Source: 🔗

Source SOURCE_VIDEO = 0

Transcode or copy source_path.

Source SOURCE_SCENE = 1

Bake packed_scene.


Property Descriptions

String audio_path = "" 🔗

  • void set_audio_path(value: String)

  • String get_audio_path()

Optional menu or title audio file.


NodePath bake_camera_path = NodePath("") 🔗

Camera used when baking packed_scene.


float bake_hold_sec = 0.0 🔗

  • void set_bake_hold_sec(value: float)

  • float get_bake_hold_sec()

Hold each unique bake frame.


float duration_sec = 4.0 🔗

  • void set_duration_sec(value: float)

  • float get_duration_sec()

Bake length when source is SOURCE_SCENE.


bool include_audio = true 🔗

  • void set_include_audio(value: bool)

  • bool get_include_audio()

Mux AC3 from PiP, audio_path, or scene players.


float loop_pad_sec = 0.0 🔗

  • void set_loop_pad_sec(value: float)

  • float get_loop_pad_sec()

Extra seconds after a PiP clip.


PackedScene packed_scene 🔗

Scene baked when source is SOURCE_SCENE.


float pip_lead_sec = 0.4 🔗

  • void set_pip_lead_sec(value: float)

  • float get_pip_lead_sec()

Trim after black-detect on the PiP clip.


Rect2 pip_rect = Rect2(0, 0, 0, 0) 🔗

  • void set_pip_rect(value: Rect2)

  • Rect2 get_pip_rect()

Fallback PiP rectangle.


NodePath pip_slot_path = NodePath("") 🔗

Control or Node2D used as the PiP slot.


String pip_source_path = "" 🔗

  • void set_pip_source_path(value: String)

  • String get_pip_source_path()

Optional PiP overlay video.


Source source = 0 🔗

Video file or PackedScene.


String source_path = "" 🔗

  • void set_source_path(value: String)

  • String get_source_path()

Host video path when source is SOURCE_VIDEO.


int angle = 1 🔗

  • void set_angle(value: int)

  • int get_angle()

Angle number 1–9. Same-title siblings with different angles become one sequential angle-block.


Array[InterDVDStream] streams = [] 🔗

Extra audio and subtitle streams copied onto the compiled cell.


Method Descriptions

InterDVDCell compile_cell() const 🔗

Builds the mux cell for this chapter.


void fill_cell(cell: InterDVDCell) const 🔗

Copies source, PiP, streams, and angle onto cell.