Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an --inject/--no-inject CLI flag to control whether animation outputs are post-processed to embed the final animation hash in metadata, and optimizes MP4 metadata rewriting by switching to a lossless ffmpeg re-mux approach.
Changes:
- Introduce
--inject/--no-injectfortranz zoom auto, thread it through CLI → render pipeline, and update docs/examples accordingly. - Rewrite MP4 metadata “rewrite” path to use ffmpeg stream-copy re-muxing instead of re-encoding.
- Update integration tests/scripts and bump version/dependencies/changelog for the 2.1.0 release.
Reviewed changes
Copilot reviewed 13 out of 16 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| tranz.md | Updates generated CLI help to include --inject/--no-inject. |
| tests_integration/test_installed_cli.py | Uses --inject in animated seahorse integration test. |
| tests_integration/test_cython_equivalence.py | Uses --inject in multiple equivalence integration tests. |
| src/tranzoom/core/zoom.py | Rewrites MP4 metadata rewrite to use ffmpeg re-mux (stream copy). |
| src/tranzoom/core/pixels.py | Tightens MP4/GIF metadata hash handling (strip/empty handling + logging). |
| src/tranzoom/cli/zoomcommand.py | Plumbs --inject option into ProduceFractalAnimation(...). |
| src/tranzoom/cli/base.py | Adds new option definition + implements inject/no-inject behavior in animation pipeline. |
| src/tranzoom/init.py | Bumps package version to 2.1.0. |
| scripts/make_test_images.sh | Adds --inject to regenerated test animation commands. |
| requirements.txt | Bumps llama-cpp-python pin to 0.3.31. |
| README.md | Documents --inject and updates example output text. |
| pyproject.toml | Bumps project version to 2.1.0. |
| poetry.lock | Updates lockfile for llama-cpp-python 0.3.31. |
| CHANGELOG.md | Adds 2.1.0 release notes. |
| .vscode/settings.json | Adds spellchecker dictionary words (“muxed”, “muxing”). |
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.
No description provided.