Skip to content

Embed export settings as container metadata - #428

Open
RufanMelfor wants to merge 1 commit into
reco-project:mainfrom
RufanMelfor:feat/export-metadata-comment
Open

Embed export settings as container metadata#428
RufanMelfor wants to merge 1 commit into
reco-project:mainfrom
RufanMelfor:feat/export-metadata-comment

Conversation

@RufanMelfor

Copy link
Copy Markdown
Contributor

Every export now writes a JSON snapshot of the settings actually used
(codec, quality, resolution, blend width, and AI/autocam parameters) into
the output video's "comment" container tag — readable via ffprobe -show_entries format_tags or most media tools. Useful for telling apart a
batch of test exports with varying AI/blend settings without needing a
separate sidecar file.

Adds EncoderConfig::metadata_comment (set on the output context before
write_header, since muxers bake container metadata into the header at
that point — MP4's moov udta atom, Matroska's Tags element, etc.) and
a StitchJob::metadata_comment(String) builder. Both reco-cli and
reco-gui build the JSON automatically for every export — no new flag or
checkbox needed.

Verified: fmt --check/build/cargo test -p reco-io -p reco-cli -p reco-gui clean (only the pre-existing, unrelated
matroska_reader_sees_partial_writes timing gap fails, confirmed
identical with or without this change).

@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown

All contributors have signed the CLA. Thank you!
Posted by the CLA Assistant Lite bot.

…etadata

Every export now writes a JSON snapshot of the settings actually used
(codec, quality, resolution, blend width, and AI/autocam parameters)
into the output video's "comment" container tag - readable via
`ffprobe -show_entries format_tags` or most media tools. Useful for
telling apart a batch of test exports with varying AI/blend settings
without a separate sidecar file.

Adds EncoderConfig::metadata_comment (set on the output context before
write_header, since muxers bake container metadata into the header) and
StitchJob::metadata_comment(String) builder; both reco-cli and reco-gui
build the JSON automatically for every export, no new flag needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@RufanMelfor

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants