InterDVDIfoWriter๏ƒ

Inherits: Object

Writes a VIDEO_TS / AUDIO_TS DVD-Video volume from an InterDVDProject.

Description๏ƒ

Creates unencrypted IFO/BUP/VOB files for burning. There is no in-engine disc player. Dummy title VOBs are for tests only when no MPEG-2 cell is available.

Methods๏ƒ

Error

copy_extras(work_dir: String, project: InterDVDProject) static

PackedStringArray

toolchain_iso_args(work_dir: String, iso_path: String, meta_path: String) static

Error

write_disc_meta(path: String, project: InterDVDProject) static

Error

write_video_ts(root: String, project: InterDVDProject, allow_dummy_vob: bool = false, ffmpeg: String = "", auto_find_ffmpeg: bool = true, progress: InterDVDExportProgress = null) static


Method Descriptions๏ƒ

Error copy_extras(work_dir: String, project: InterDVDProject) static ๐Ÿ”—

Copies InterDVDProject.extras and InterDVDProject.extras_dir onto the disc root next to VIDEO_TS.


PackedStringArray toolchain_iso_args(work_dir: String, iso_path: String, meta_path: String) static ๐Ÿ”—

Argument list for blazium-toolchain interdvd iso (--dir, --out, --meta, --write-meta, --json). Does not invoke mkisofs or oscdimg.


Error write_disc_meta(path: String, project: InterDVDProject) static ๐Ÿ”—

Writes disc.interdvd.json with schema blazium.interdvd.meta/v1 from project extras and identity fields.


Error write_video_ts(root: String, project: InterDVDProject, allow_dummy_vob: bool = false, ffmpeg: String = "", auto_find_ffmpeg: bool = true, progress: InterDVDExportProgress = null) static ๐Ÿ”—

Writes VIDEO_TS, AUDIO_TS, extras, and disc.interdvd.json under root. Returns @GlobalScope.OK on success. Every InterDVDCell on a title is muxed into VTS_01_1.VOB (append + reindex). Cell N is chapter N (PGN N / PTT N). A cell can use InterDVDCell.encoded_path, bake InterDVDCell.packed_scene for InterDVDCell.duration_sec, copy an already-encoded MPEG-2/VOB InterDVDCell.source_path, or transcode other sources through blazium-toolchain interdvd ffmpeg. ffmpeg and auto_find_ffmpeg are unused; encoding always goes through the toolchain. When allow_dummy_vob is true, a dummy title VOB is written if no cell or toolchain is available. progress receives step/total/label updates and prints elapsed plus ETA.