Repository navigation
feat: adopt the media-layer spec: Steam trailer and vertical reel presets, window:exe/hwnd targets (#107) - #164
Merged
Conversation
…sets, window:exe/hwnd targets (#107) steam_trailer (1080p High, padded 5.5M CBR, 48 kHz at -14 LUFS) and vertical_reel (footage over a blurred fill, -14 LUFS) export presets, also as pipeline steps. window:exe= and window:hwnd= pick a window without relying on its title. UNC escape fixture. Closes #107 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #107: the Game-Systems media-layer checklist.
Adopted already (confirmed against the spec): the edit operation set, quality presets, input validation, two-level filter-path escaping with tests, the ffmpeg integration suite, the preset table with pad/crop reframe, the target grammar, the session registry, graceful stop, DPI-aware monitors, and even regions. The spec's escaping fixture table was missing a UNC path; added.
Gap closed: two export presets (also usable as
pipelineexport steps)steam_trailer: 1920×1080, H.264 High, padded 5.5 Mbps CBR (nal-hrd=cbr, stays above Steam's 5 Mbps floor), AAC 48 kHz stereo at −14 LUFS, faststart.vertical_reel: 1080×1920 with the footage fitted in a centred square over a blurred, filled copy of itself; audio at −14 LUFS.exportPresetPartsgained an optional audio filter, whichpipelineappends to its audio chain. Layout labels are namespaced per step. The older presets are unchanged (a test pins that).Dropped: title-based window grab. New targets work everywhere a target is accepted:
window:exe=Code.exepicks that app's topmost window, andwindow:hwnd=0x1A2B(or decimal) one exact window. Enumeration now reports each window's executable, with process names cached per pid. Results still report the matched title, andexe=warns when several windows matched. #113 asked for the same forms.Tests
.exe, several matches, clear errors), the UNC escape, and pipeline carrying the preset audio filter and namespaced labels.steam_trailerprobes as 1920×1080 High yuv420p 30 fps, bit rate above 5 Mb/s, AAC 48 kHz stereo, loudness between −16 and −12 LUFS.vertical_reelis 1080×1920 with a blurred fill, not black bars.Bumps to 0.31.0.
🤖 Generated with Claude Code