Repository navigation
Make batch transcoding resumable and reject decode failures - #1
Draft
xmutantson wants to merge 2 commits into
Draft
xmutantson wants to merge 2 commits into
xmutantson wants to merge 2 commits into
Conversation
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.
Replace fragile batch handling with deterministic discovery, bounded workers/retries, accurate exit status, retained manifests/logs and verified resume receipts. Publish successful outputs atomically without overwriting conflicts. FFmpeg -xerror rejects reported decode/demux failures before output or receipt publication; old permissive receipts cannot validate earlier outputs.
Recorded independent review at 2c263e2: 21 repository tests passed, 1 Windows filename case skipped, and bash -n passed. The unchanged truncated-input regression and an additional real synthetic-media control passed: valid media with spaces/apostrophes succeeds, reruns skip verified output, and changed/corrupt input preserves completed output. These are recorded offline results, not a new publication-time test run.
Compatibility: retains the original crop/encode preset by default; explicit --filter supports other sources. Outputs append .mp4 to the complete source filename. Bash 4.4+, GNU utilities and hard-link-capable output storage are required. Pre-fix receipts and unverified outputs are preserved as conflicts requiring inspection or a new output root.
Limits: Windows/Git Bash with FFmpeg 8.1 was exercised; actual Linux SSH/shared-storage deployment and remote cancellation were not validated. Strict decoding cannot detect missing content that FFmpeg considers valid; hashing adds I/O and crash leftovers can require manual recovery. Scoped review is not production/security certification.
Draft into xmutantson/ffmpegbatchscripts:main with the existing history. No workflows were found; no paid or manually triggered CI. Local evidence archives are not included.