Repository navigation
Full Run Contract
André Borchert edited this page Sep 14, 2026
·
7 revisions
The full production pipeline (-full / -run) produces a complete YouTube delivery set from one audio source and one image source.
Place these in Output/ (or the configured SRC_DIR):
- Exactly 1 source audio file:
.flac,.wav, or.mp3(archival*_RF64/*_BW64companions are excluded from source selection). The run renames it to1_source.<ext>, moving its companion family with it, and names every deliverable1.*. - Source images are identified by orientation, not by filename:
- one landscape image — required, any size, upscaled to the 8K master
- one portrait image — optional, any size, used for the fitted shorts A second landscape or a second portrait is an error rather than a guess.
- Image inputs, one of:
- exactly 1 source image:
.pngpreferred,.jpg/.jpegaccepted, or - direct 8K PNG inputs:
Horizontal_8K.pngfor the main MP4, plus optionalVertical_8K.pngfor the short MP4
- exactly 1 source image:
- When both
Horizontal_8K.pngandVertical_8K.pngare present: the main MP4 renders fromHorizontal_8K.pngfirst, then the short MP4 renders directly fromVertical_8K.png. DirectHorizontal_8K.pnginputs are used as-is for the main video but still derive companion image deliverables (4K PNG, NFT PNGs, 2K/3K PNGs, JPG exports). - When
Vertical_8K.pngis absent: the short MP4 uses or creates*_NFT8K.png, centers it in the portrait frame, and pads top and bottom with black. - Image and audio preparation run concurrently with bounded scheduling.
- Image: 8K/4K PNG, NFT PNGs (8K/3K/2K), 3K/2K PNG, JPG exports (1MB/2MB/5MB/20MB targets)
- Portrait stills: both short framings as artwork —
*_Short_8K.pngand*_Short_CenterCut_8K.pngat full portrait resolution, each with a_1MB.jpgand_2MB.jpgexport - Audio: internal-standard WAV (24-bit, 96 kHz, stereo RF64), ALAC M4A, 320 kbps MP3
- Archival:
*_RF64.flac,*_RF64.wav,*_BW64.wav(delivery-only; never reused as full-run source inputs). There is no*_BW64.flac— BW64 is a WAV-only container standard, so a FLAC counterpart could only ever duplicate the RF64 FLAC - Video: main MP4 (HEVC ladder, 7680x4320) and four portrait shorts (H264 ladder, 4320x7680, ALAC audio):
-
_8K_Short.mp4— image fitted inside the frame with black padding, capped atmin(SHORT_MP4_CLIP_SECONDS, 58)s -
_8K_Short_CenterCut.mp4— centre of the landscape 8K master scaled to cover and cropped, filling the frame with no padding -
_FullSongcompanions of both, rendered when the source audio is longer than the cap (a source within 0.01 s of the cap counts as being at it)
-
- Input: two or more
.mp3,.wav, or.flactracks inSRC_DIR, sorted in natural numeric filename order, plus the same full-run image inputs - Each track is loudness-normalized to -12 LUFS, then joined with 2 s gaps into one RF64
album.wav - The album WAV then runs through the same full-run image/audio/video pipeline
- Internal working WAV: 24-bit, 96 kHz, stereo (
pcm_s24le, RF64) - MP4/M4A delivery audio: ALAC, 24-bit, 48 kHz, stereo (no AAC bitrate settings)
- MP3 delivery audio: 320 kbps, 48 kHz, stereo
- Loudness targets: -12 LUFS for delivery, short-form, and mastering defaults
- Conversions preserve source loudness by default; no hidden remastering