Record LED panel animations → video - #84
Open
electronicbites wants to merge 5 commits into
Open
Conversation
electronicbites
force-pushed
the
task/recorder
branch
from
July 14, 2026 19:11
c0bbf46 to
291ceb4
Compare
An offline encoder that turns a `.octorec` recording into playable video:
electronicbites
force-pushed
the
task/recorder
branch
from
July 15, 2026 16:13
291ceb4 to
1bf578f
Compare
electronicbites
marked this pull request as ready for review
July 15, 2026 16:13
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.
Adds an optional subsystem to record the frames sent to the LED panels and convert them to video. Recording is off by default and designed to never affect the running installation.
What's included
Octopus.Recording+PanelRecorder): passively subscribes to the mixer's frame feed and writes an append-only.octorecfile. Safe by design — passive PubSub subscriber, subscribe-only-while-active, per-frametry/rescue, and drop-on-overload so it can never block or crash the app.Sinkbehaviour):Sink.File— local fileSink.Remote— stream to a TCP server (bounded connect/send timeouts)Sink.Gzip— optional gzip compression via built-in:zlib(no native deps; runs on the Raspberry Pi). Typically 1.3× smaller for busy content, 10–1000× for sparse/dark.mix octopus.recording.encode): offlineffmpegstep producing one video per panel plus a mixed video; reads.gztransparently.docs/recording.md(usage, storage sizing, compression) anddocs/recording_architecture.md(design & rationale).Usage
Enable via
config :octopus, Octopus.Recording, enabled: true, compress: true.Notes
Mixer.unsubscribe/0and wiring the supervisor into the app tree.:ffmpeg).