-
Notifications
You must be signed in to change notification settings - Fork 486
[FIX] add mac-ocr-hardsubx workflow & ffmpeg variants support #1745
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
4c14b91 to
9a8e379
Compare
- Fix iterator initialization in check_color_alternate_pixels - Add proper null checks before dereferencing OCR results - Fix confidence threshold comparison (use abs for negative confidences) - Fix c_char array initialization in avc/nal.rs for cross-platform compatibility - Prevent segmentation faults in OCR processing
- Fix CLI argument parsing to use hyphens (--conf-thresh not --conf_thresh) - Add Homebrew tessdata path (/opt/homebrew/share/) for macOS - Ensure consistent parameter naming across C and Rust implementations
- Use rsmpeg 0.18.0 with platform-specific FFmpeg features - Linux: FFmpeg 6, Windows: FFmpeg 7, macOS: FFmpeg 8 - Single rsmpeg version prevents multiple FFmpeg compilations - Clean configuration without unnecessary abstraction layers
- Add FFMPEG_VERSION environment variable support in build scripts - Linux/macOS: Support override via FFMPEG_VERSION env var - Windows: Support override in rust.bat - Fix FFmpeg include path detection for Homebrew on macOS
- Update macOS workflow to properly detect FFmpeg from Homebrew - Update Windows vcpkg baseline for FFmpeg 7.1.1 compatibility - Remove unnecessary CI-specific rsmpeg configuration - Workflows now use platform defaults automatically
- Document platform-specific FFmpeg defaults - Add instructions for overriding FFmpeg versions - Include hardsubx build examples for all platforms - Add FFmpeg dependency information for macOS
5aa0e83 to
7d94a15
Compare
CCExtractor CI platform finished running the test files on windows. Below is a summary of the test results, when compared to test for commit c2a1f0d...:
Your PR breaks these cases:
NOTE: The following tests have been failing on the master branch as well as the PR:
Congratulations: Merging this PR would fix the following tests:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
201f45a to
6b5f8b0
Compare
CCExtractor CI platform finished running the test files on linux. Below is a summary of the test results, when compared to test for commit 5338c15...:
Your PR breaks these cases:
It seems that not all tests were passed completely. This is an indication that the output of some files is not as expected (but might be according to you). Check the result page for more info. |
| "/usr/share/tesseract-ocr/4.00/", | ||
| "/usr/share/tesseract-ocr/5/", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we still support these? If not, we can probably remove them to keep the code base clean
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing changed on that part from past, so I do think we support it.
In raising this pull request, I confirm the following (please check boxes):
My familiarity with the project is as follows (check one):
Fix
Mac OS:
FFMpeg used in workflow:
8.*6.*(pinned VCPKG supports this)6.*(Latest ubuntu runner supports this)