Repository navigation
feat(format): drop .rgb in favor of .fled everywhere - #134
Merged
Merged
Conversation
PR 1 of 6 for the layered single-page consolidation (#133). - Demo's three sample videos (color_line_bubbles, video, video1) are converted from raw .rgb to self-describing .fled (one-shot scripts/convert-rgb-to-fled.mjs prepends the 12-byte FLED header + embedded 32x32 quad serpentine screenmap). - demo.ts loads /demo/video.fled in one fetch + parseRgbFrames pass instead of chunk-streaming raw .rgb. The ~100 lines of ReadableStream bookkeeping (videoReader, videoBuffer, streamVideoData, processNewFrames, stopVideoStream) all drop out — parseRgbFrames already handles the FLED header. - demo's upload + download flows operate on .fled. Download wraps the in-memory frames with the screenmap-embedding FLED header via prependFledHeader. - src/demo/template.html: file input accepts="*.fled". - src/hub/template.html: Movie Player tile copy updated. - CLAUDE.md: Data Formats + tools table reflect .fled. - src/types/domain.ts + src/video-store.ts: comments updated. No behavioral change for the Movie Player (it already required .fled after #126). The remaining .rgb references in moviemaker.ts shaders / pixel-format names refer to the rgb8 pixel format *inside* the FLED container, not the deprecated container. Verified locally: tsc, lint, build, 433 unit tests, 6/6 smoke tests all pass. Co-Authored-By: Claude Opus 4.7 (1M context) <[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.
PR 1/6 for #133. Demo loads sample .fled (one-shot conversion via scripts/convert-rgb-to-fled.mjs); ~100 lines of chunked .rgb streaming gone; downloads emit .fled via prependFledHeader. Smoke + tsc + lint + 433 unit tests all green. Refs #133.