Skip to content

Make batch transcoding resumable and reject decode failures - #1

Draft
xmutantson wants to merge 2 commits into
mainfrom
fix/reliable-batch-processing
Draft

xmutantson wants to merge 2 commits into
mainfrom
fix/reliable-batch-processing

Conversation

@xmutantson

Copy link
Copy Markdown
Owner

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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant