Repository navigation
feat: export scenes, prefer video upscales, and frame voice wav files - #36
Closed
google-labs-stitch[bot] wants to merge 1 commit into
Conversation
- Resolve 1-clip untrimmed scenes directly and export other scenes - Prefer ready 4K and 1080p video variants and match all variant IDs - Index custom project voices and frame 24 kHz PCM bytes into WAV files - Skip expired signed URLs and retry media lookups without the cache - Update MCP tool descriptions and English, Chinese, and Japanese docs
Contributor
|
|
byteland-app
deleted the
stitch/scene-export-upscales-wav-framing-jm1-3cb9044f-f36e-4a7c-a4e5-e7b75b1a3d42
branch
November 25, 2026 07:47
Contributor
Author
|
Addressed in
|
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.
Summary
batchexecutescene export (GjQLTd+IxdSwd):sceneContents(ts/scene_tiles.ts) so build20261120.00_p0Ucclip lists (Ji/Ci/nc) populateprimary_media_iddirectly for 1-clip untrimmed scenes and resolve URLs viaas29s.ts/scene_export.ts(window.__flowMcp.exportScene) andDownloadSource::ExportScene(src/download.rs) to startGjQLTdwith Closure JSPBDurationclip specs, pollIxdSwduntil state3, stage MP4 bytes in aBlobURL, and index scene downloads asvideo/mp4.4K/1080p) selection & variant ID matching:ts/media_variants.tssoreadStoreTilesandpickTileUrlselect the highest-resolution ready variant (4K>1080p>720p) fromtile.ynand report matching dimensions (such as3840x2160for 16:94K).tile.yn,history, and look variant IDs onFlowAssetsomatch_assetandresolve_assetmatch any variant ID and pintarget.primary_media_idwhen a specific variant ID is requested.cj/lr) & host-side 24 kHz WAV framing:PROJECT_TILEScjand workflow titles fromlrinreadProjectStore, maps workflow voice references on look-less characters to their audiomediaId, and downloads look-less character voices asaudio.11PCM audio ints/resolve_video_url.tsand addssrc/pcm_wav.rsto prepend a 44-byte RIFF WAVE header (24000Hz, 16-bit signed little-endian mono PCM) to raw audio bytes beforevalidate_downloaded_file.bypass_cacheretry, & media extension allowlist:X-Goog-Date+X-Goog-Expiresand V2Expiresdeadlines plus a 10-minutemediaInfoCacheTTL, skips wasted Chrome retries on expired/403 signed URLs, and retriesResolveMediaIdonce withbypass_cache = true.natural_asset_filenameso opaque FIFE paths such as/rd-gg/AF1QipM.2asave as<asset_id>.wav.flow_assetsandflow_downloadtool descriptions insrc/mcp.rsand localized reference guides (docs/en/tools-reference.md,docs/zh-CN/tools-reference.md,docs/ja/tools-reference.md).Verification
cargo xtask ci— passed (tsc --noEmit,cargo fmt --check,cargo clippy --all-targets -- -D warnings,cargo doc --no-deps,cargo deny check, header/line-limit/doc-fence gates).RUSTFLAGS="-D warnings" cargo build --release --locked --bin flow-mcp— passed with zero warnings.cargo xtask collect-licenses— clean.MCP JSON-RPC stdio+ headless Chrome CDP + mockbatchexecute+ SQLiteflow-mcp.db): 12/12 checks passed.Automated PR initiated by user @byteland-app via Stitch Loop.