[QUESTION] Need help with dependencies for Windows 11 to extract hard subtitles #788

Closed
opened 2026-01-29 16:53:29 +00:00 by claunia · 2 comments
Owner

Originally created by @sparksh on GitHub (Nov 20, 2023).

CCExtractor version: 0.96
Windows 11 version 22H2

I installed version 0.96 using the .msi installer.
I want to extract hard-coded subtitles.
I enabled HardSubx from the HardSubx Settings.

On the first try, there appeared to be missing dependencies:

    "eng.traneddata not found! No Switching possible"

I tried creating a "tessdata" subfolder and copying eng.traneddata from the September 15, 2017 version.

Trying an extraction again, I got only this message:

   [Boilerplate]
    ----------------------------------------------------
   HardsubX (Hard Subtitle Extractor) - Burned-in subtitle extraction process

There are countless ways to install things like tesseract, ffmpeg, etc. on Windows. Have I overlooked a write-up on how to make ccextract work on Windows?

Thanks!

Originally created by @sparksh on GitHub (Nov 20, 2023). CCExtractor version: 0.96 Windows 11 version 22H2 I installed version 0.96 using the .msi installer. I want to extract hard-coded subtitles. I enabled HardSubx from the HardSubx Settings. On the first try, there appeared to be missing dependencies: "eng.traneddata not found! No Switching possible" I tried creating a "tessdata" subfolder and copying eng.traneddata from the September 15, 2017 version. Trying an extraction again, I got only this message: [Boilerplate] ---------------------------------------------------- HardsubX (Hard Subtitle Extractor) - Burned-in subtitle extraction process There are countless ways to install things like tesseract, ffmpeg, etc. on Windows. Have I overlooked a write-up on how to make ccextract work on Windows? Thanks!
claunia added the bug label 2026-01-29 16:53:29 +00:00
Author
Owner

@cfsmp3 commented on GitHub (Dec 26, 2025):

Thank you for reporting this. You've identified a real issue with our Windows release packaging.

What we found:

The Windows build IS compiled with HARDSUBX support (ENABLE_HARDSUBX and ENABLE_OCR are defined), and our build system uses vcpkg to install Tesseract, Leptonica, and FFmpeg during compilation. However, the release package (CCExtractor_win_portable.zip) is missing the Tesseract runtime files:

  • No Tesseract DLLs
  • No Leptonica DLLs
  • No tessdata/ folder with eng.traineddata

This means HARDSUBX is compiled in but can't actually run because the OCR engine files aren't bundled.

Workaround until we fix this:

  1. Install Tesseract OCR for Windows from: https://github.com/UB-Mannheim/tesseract/wiki
  2. Set the TESSDATA_PREFIX environment variable to point to Tesseract's tessdata folder (e.g., C:\Program Files\Tesseract-OCR\tessdata)
  3. Make sure the Tesseract DLLs are in your PATH or in the same folder as ccextractor

What we're doing:

We're tracking this as a high-priority bug to fix the Windows release packaging so that HARDSUBX works out of the box. We'll update this issue when the fix is ready.

Thanks for your patience!

@cfsmp3 commented on GitHub (Dec 26, 2025): Thank you for reporting this. You've identified a real issue with our Windows release packaging. **What we found:** The Windows build IS compiled with HARDSUBX support (`ENABLE_HARDSUBX` and `ENABLE_OCR` are defined), and our build system uses vcpkg to install Tesseract, Leptonica, and FFmpeg during compilation. However, the release package (`CCExtractor_win_portable.zip`) is **missing the Tesseract runtime files**: - No Tesseract DLLs - No Leptonica DLLs - No `tessdata/` folder with `eng.traineddata` This means HARDSUBX is compiled in but can't actually run because the OCR engine files aren't bundled. **Workaround until we fix this:** 1. **Install Tesseract OCR for Windows** from: https://github.com/UB-Mannheim/tesseract/wiki 2. **Set the `TESSDATA_PREFIX` environment variable** to point to Tesseract's tessdata folder (e.g., `C:\Program Files\Tesseract-OCR\tessdata`) 3. Make sure the Tesseract DLLs are in your PATH or in the same folder as ccextractor **What we're doing:** We're tracking this as a high-priority bug to fix the Windows release packaging so that HARDSUBX works out of the box. We'll update this issue when the fix is ready. Thanks for your patience!
Author
Owner

@cfsmp3 commented on GitHub (Dec 26, 2025):

Fixed - 0.96.2 comes with everything!

@cfsmp3 commented on GitHub (Dec 26, 2025): Fixed - 0.96.2 comes with everything!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#788