yocker 1247 Posted January 21 Author Posted January 21 2 minutes ago, rechigo said: I have a few shows with zero credits detected but I suspect those shows don't have a distinct credits scene... perhaps just a few actor/producer names rotating on the bottom of the screen while the episode finishes up. I'm going to try and tweak the settings and play around once hardware image acceleration is available. Does the detection scheduled task process every episode with missing credits every time, or does it mark the episodes it can't detect credits for so they don't get processed every time the task runs? Atm it will only skip those with time stamps and just retry all others. I played around with a "memory" of files but decided it didn't work as i wanted it as it would end up in a huge file that i had to make a clean up function for in case of files changing, being deleted and so on. Marking them in the chapters could work but many people are very strict about their collection and don't like markers defiling their collection so i'm not really sure what to do. TLDR: Yes it will just retry then, it is on my todo list to do something about it, i just have no idea how to yet. 1
Ferwin29 7 Posted January 21 Posted January 21 Hi @yocker First, Thank you for your job, this plugin is wonderfull. I've got a problem on the backup task. When I launch it, the json's file has no credit, only : { "Version": "1.0", "BackupDate": "2026-01-21T06:30:16.48906Z", "TotalEpisodes": 0, "EpisodesWithCredits": 0, "Entries": [] } If I export in the plugin, all is good.
yocker 1247 Posted January 21 Author Posted January 21 1 minute ago, Ferwin29 said: Hi @yocker First, Thank you for your job, this plugin is wonderfull. I've got a problem on the backup task. When I launch it, the json's file has no credit, only : { "Version": "1.0", "BackupDate": "2026-01-21T06:30:16.48906Z", "TotalEpisodes": 0, "EpisodesWithCredits": 0, "Entries": [] } If I export in the plugin, all is good. @Neminemsame problem?
yocker 1247 Posted January 21 Author Posted January 21 21 minutes ago, Ferwin29 said: Hi @yocker First, Thank you for your job, this plugin is wonderfull. I've got a problem on the backup task. When I launch it, the json's file has no credit, only : { "Version": "1.0", "BackupDate": "2026-01-21T06:30:16.48906Z", "TotalEpisodes": 0, "EpisodesWithCredits": 0, "Entries": [] } If I export in the plugin, all is good. Found the problem, will be fixed in the next version which is nearly ready. 1
Neminem 1518 Posted January 21 Posted January 21 (edited) 6 hours ago, yocker said: same problem? No It's working for me v.1.5.1.0 Edited January 21 by Neminem
yocker 1247 Posted January 21 Author Posted January 21 So.. GPU accel tesseract was a bust, turns out the tesseract it self didn't support GPU. So you can all go back to the old docker one (Not necessary though since the GPU one will still work without problems.) Instead i will add some instructions on how to optimize the tesseract to fit your CPUs better in the next version. 1
yocker 1247 Posted January 21 Author Posted January 21 - `OMP_THREAD_LIMIT=4` - Limits OpenMP threads per process for optimal CPU utilization - `OMP_NUM_THREADS=4` - Sets thread count for parallel operations You can set these env's in docker. They control how many threads the tesseract can use from a CPU.. Higher = more CPU. It can give a very big speed increase if you have the CPU for it.
yocker 1247 Posted January 21 Author Posted January 21 Also the new version is up on Release EmbyCredits v1.6.3 · yocksers/EmbyCredits 1
Ferwin29 7 Posted January 21 Posted January 21 The backup task's problem is resolved for me . Thanks @yocker 1
sydlexius 297 Posted January 21 Posted January 21 @yockerAny possibility to add the ability to set a flag to skip episodes/seasons/series? I just checked some of my content that's re-running, and they truly lack end-credits. 1
Neminem 1518 Posted January 21 Posted January 21 @sydlexiuswhen I identify those, I do this. That will put a marker at duration -1 sec on all episodes in that season. 1 1
rechigo 364 Posted January 21 Posted January 21 4 hours ago, yocker said: - `OMP_THREAD_LIMIT=4` - Limits OpenMP threads per process for optimal CPU utilization - `OMP_NUM_THREADS=4` - Sets thread count for parallel operations You can set these env's in docker. They control how many threads the tesseract can use from a CPU.. Higher = more CPU. It can give a very big speed increase if you have the CPU for it. What is the default value of those env? 1? # of logical cores?
yocker 1247 Posted January 22 Author Posted January 22 2 hours ago, rechigo said: What is the default value of those env? 1? # of logical cores? I don't know what it default to but i tried putting it to: OMP_THREAD_LIMIT=6 OMP_NUM_THREADS=24 On my 7950x3d system and detection was pretty much instant. Used a truck load of CPU though.
yocker 1247 Posted January 22 Author Posted January 22 So here's something for people to play with. Been toying with some tesseract and others with GPU support for people who want that. I have sadly not found anything that i would deem fitting for the plugin but i kinda don't want to throw out the work done. So here is a version of EmbyCredits that support PaddleOCR with Nvidia GPU support. At yock1/paddleocr-api | Docker Hub you can find the PaddleOCR. It is very fast when set up correctly but just way to big for my liking. That shouldn't stop people from having a little fun trying it if they want. DO NOTE THAT: The docker image is big.. I mean really big! 20-40GB depending.. Also you need to add "--gpu all" to make it work. I do NOT support this version as it was just to test with!! This is NOT an official version of EmbyCredits!!! You all got that? Good.. Then have fun. EmbyCredits.dll 1
sydlexius 297 Posted January 22 Posted January 22 34 minutes ago, yocker said: So here's something for people to play with. Been toying with some tesseract and others with GPU support for people who want that. I have sadly not found anything that i would deem fitting for the plugin but i kinda don't want to throw out the work done. So here is a version of EmbyCredits that support PaddleOCR with Nvidia GPU support. At yock1/paddleocr-api | Docker Hub you can find the PaddleOCR. It is very fast when set up correctly but just way to big for my liking. That shouldn't stop people from having a little fun trying it if they want. DO NOTE THAT: The docker image is big.. I mean really big! 20-40GB depending.. Also you need to add "--gpu all" to make it work. I do NOT support this version as it was just to test with!! This is NOT an official version of EmbyCredits!!! You all got that? Good.. Then have fun. EmbyCredits.dll 600 kB · 0 downloads Yikes! What sort of GPU/VRAM is needed to run the models it uses?
Neminem 1518 Posted January 22 Posted January 22 I run it on this. But I have seen it max out VRAM and stall, but 30sec later it continues. I'm guessing it retries for those 30sec, and then discards the image, and moves on. 1 1
yocker 1247 Posted January 22 Author Posted January 22 (edited) 6 hours ago, sydlexius said: Yikes! What sort of GPU/VRAM is needed to run the models it uses? All GPU enabled tesseract I can find are that big. I think it's a mix of things, the cuda drivers alone are huge. It made a 4090 almost choke, but as said instant detections Edit: I could maybe try and transfer the models from the normal tesseract. Edited January 22 by yocker
yocker 1247 Posted January 22 Author Posted January 22 1 minute ago, Neminem said: This is detection with GPU Would need something to compare with.
Neminem 1518 Posted January 22 Posted January 22 (edited) Will rerun it with CPU Stay tuned for email screenshot Edited January 22 by Neminem 1
yocker 1247 Posted January 22 Author Posted January 22 Credits Detector — Mozilla Firefox 2026-01-22 12-33-44.mp4 You can set the worker, thread and core count to match your CPUs for the tesseract and you can get very fast speeds out of it. What you see in the video is where it's set to use maximum. Could probably improve EmbyCredit settings a bit as well but just put it at 10 frames at a time. So it's not because the CPU version is slow, it uses a very small and efficient model. By default it's set relatively low so as to not absolutely nuke some systems from orbit. 1
Neminem 1518 Posted January 22 Posted January 22 (edited) For some reason I did not get a email notification, about the CPU test. Guess notifications are not send when doing a dry run Start time 12:48 Finish time 14:17 Total time 1 hour 29 min. 2026-01-22 12:48:55.892 Info CreditsDetectionApiService: Series found: Millennium, InternalId: 128621 2026-01-22 12:48:55.921 Info CreditsDetectionApiService: Found 67 episodes for series InternalId: 128621 (excluded 1 specials) 2026-01-22 12:48:55.923 Info Plugin: Cleared in-memory batch detection cache and processing queue for fresh detection 2026-01-22 12:48:55.924 Info Plugin: Queued 67 episodes for processing (forced reprocess). Queue size: 67 2026-01-22 14:17:05.896 Info Plugin: Processing complete: 67 succeeded, 0 failed Edited January 22 by Neminem
yocker 1247 Posted January 22 Author Posted January 22 11 minutes ago, Neminem said: For some reason I did not get a email notification, about the CPU test. Guess notifications are not send when doing a dry run Start time 12:48 Finish time 14:17 Total time 1 hour 29 min. 2026-01-22 12:48:55.892 Info CreditsDetectionApiService: Series found: Millennium, InternalId: 128621 2026-01-22 12:48:55.921 Info CreditsDetectionApiService: Found 67 episodes for series InternalId: 128621 (excluded 1 specials) 2026-01-22 12:48:55.923 Info Plugin: Cleared in-memory batch detection cache and processing queue for fresh detection 2026-01-22 12:48:55.924 Info Plugin: Queued 67 episodes for processing (forced reprocess). Queue size: 67 2026-01-22 14:17:05.896 Info Plugin: Processing complete: 67 succeeded, 0 failed No, dry runs shouldn't get a notification. I can add it if you want. Heh wow.. From 5 minutes to 90 minutes, quite the change. Maybe i should move to that build instead then if it can help people that much. I does seem somewhat slow though, what CPU are you running?
Neminem 1518 Posted January 22 Posted January 22 (edited) Jep its really slow compared to my using GPU. Even though paddelocr is hosted on my main server with the GPU. Here is my system info. I would guess its an average server, small foot print. Edited January 22 by Neminem
yocker 1247 Posted January 22 Author Posted January 22 (edited) That CPU shouldn't be that slow.. POOL_DEFAULT_MIN=2 POOL_DEFAULT_MAX=6 POOL_DEFAULT_IDLETIMEOUTMILLIS=10000 POOL_DEFAULT_EVICTIONRUNINTERVALMILLIS=5000 Try with that in the env for the container. The defaults threads and cores should fit the CPU every well. But yeah, with your setup the GPU will always beat the CPU. Would you want me to make this EmbyCredit with support for PaddleOCR the default? Any other people have anything to say on this matter? Edited January 22 by yocker
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now