Tesseract fail cause spngpng to fail #164

Closed
opened 2026-01-29 16:36:46 +00:00 by claunia · 1 comment
Owner

Originally created by @cfsmp3 on GitHub (Jun 20, 2016).

Originally assigned to: @cfsmp3, @anshul1912 on GitHub.

This command:

ccextractor -out=spupng -parsePMT -parsePAT -codec dvbsub "C:\DeletableTempStuff\UK Samples\chan52_GOOD.ts"

fails with the error "tessaract cannot find any language!" for me. I understand the issue is that I'm missing some tesseract files, but the output is spupng so I should get output anyway.

In fact, if I compile without OCR support, it works fine (as expected).

Originally created by @cfsmp3 on GitHub (Jun 20, 2016). Originally assigned to: @cfsmp3, @anshul1912 on GitHub. This command: ccextractor -out=spupng -parsePMT -parsePAT -codec dvbsub "C:\DeletableTempStuff\UK Samples\chan52_GOOD.ts" fails with the error "tessaract cannot find any language!" for me. I understand the issue is that I'm missing some tesseract files, but the output is spupng so I should get output anyway. In fact, if I compile without OCR support, it works fine (as expected).
Author
Owner

@anshul1912 commented on GitHub (Jul 3, 2016):

need complete logs, MSG ""tessaract cannot find any language!" comes from inside tesseract, full logs would help me to get traces.

[later]
will get following log

Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory.
Failed loading language 'eng'
Tesseract couldn't load any languages!
@anshul1912 commented on GitHub (Jul 3, 2016): need complete logs, MSG ""tessaract cannot find any language!" comes from inside tesseract, full logs would help me to get traces. [later] will get following log ``` Please make sure the TESSDATA_PREFIX environment variable is set to the parent directory of your "tessdata" directory. Failed loading language 'eng' Tesseract couldn't load any languages! ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ccextractor#164