Implement auto-retry with software encoding if GPU encoding fails#702
Open
bharatvansh wants to merge 1 commit into
Open
Implement auto-retry with software encoding if GPU encoding fails#702bharatvansh wants to merge 1 commit into
bharatvansh wants to merge 1 commit into
Conversation
Contributor
Author
UCHIHAHA103
pushed a commit
to UCHIHAHA103/FileConverter
that referenced
this pull request
Apr 26, 2026
…ogging, settings backup, animated webp fix 1. Version bump to 2.2.1 (Application, Installer, version.xml) 2. FFmpeg graceful termination (T-P2): - Redirect stdin and send 'q' before killing - 3-second timeout before Process.Kill() - Prevents zombie ffmpeg processes on cancel 3. GPU encoding auto-fallback (PR Tichau#702 equivalent): - When CUDA/AMF encoding fails, automatically retry with libx264 - Resets state, deletes failed output, rebuilds args for software path - Fixes Tichau#713 Tichau#691 Tichau#572 4. FFmpeg stderr logging (T-F1): - All ffmpeg stderr output saved to %LocalAppData%/FileConverter/Logs/ - One log file per conversion job with timestamp - Critical for diagnosing conversion failures 5. Settings corruption backup (T-S2): - When Settings.user.xml fails to parse, auto-backup as .corrupted.bak - User can still choose to reset to defaults - Backed-up file available for manual recovery 6. Animated WebP → GIF fix (T-F2): - WebP input now goes directly to ffmpeg (skips PNG intermediate) - FFmpeg handles animated WebP natively, preserving all frames - Fixes Tichau#746 Tichau#513 (animated images losing animation)
UCHIHAHA103
added a commit
to UCHIHAHA103/FileConverter
that referenced
this pull request
May 21, 2026
…deadlock, UpgradeService null, GPU auto-retry, zh-CN translation
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.




This PR adds a new feature that automatically retries file conversion using software encoding (libx264) if the initial GPU-accelerated encoding fails. This improves reliability for users with problematic GPU drivers or unsupported hardware configurations.
Key changes:
AutoRetrySoftwareEncodingOnGpuFailuresetting (enabled by default).ConversionJob_FFMPEGto catch GPU errors and fallback to software.Testing: