Repository navigation
Wire CLI encode to ConversionHandler / EncodeForgeCore - #15
Merged
Merged
Conversation
cursor
Bot
force-pushed
the
cursor/cli-encode-wire-bc41
branch
3 times, most recently
from
November 22, 2026 19:43
4848d48 to
a5a74a7
Compare
Replace the encode stub (exit 2) with a real command that maps codec/CRF/ preset/HW flags into ConversionSettings and calls convert_file. Honour ConversionSettings.dry_run after the FFmpeg command is built. Add unit and integration coverage; update README/CLAUDE/CHANGELOG. Co-authored-by: Joshua Kac <joshua@ironcoffee.com>
cursor
Bot
force-pushed
the
cursor/cli-encode-wire-bc41
branch
from
November 22, 2026 19:44
a5a74a7 to
13fd40d
Compare
This was referenced Nov 22, 2026
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
Implements P4-A / EF-18: replace the CLI
encodestub (SystemExit(2)) with a real path throughEncodeForgeCore.convert_file→ConversionHandler.--codec/--crf/--preset/--use-nvenc|--use-qsv|--use-amf/--format/--overwriteintoConversionSettings--dry-runsetsConversionSettings.dry_run; handler returns planned output/encoder without running FFmpeg-ofile or directory, confirmation unless-y/ dry-runtests/test_cli_encode.py) + integration dry-run + one-file encodeTest plan
pytest tests/test_cli_encode.pypytest tests/integration/test_cli_encode_integration.py(local FFmpeg)pytest -m "not integration and not requires_network and not requires_ffmpeg"