yocker 1957 Posted 22 hours ago Author Posted 22 hours ago @fbourgAre the videos french? I don't mean just the audio but french speaking with french end credits and so on? I noticed this in your settings file: <OcrDetectionKeywords>associate producer,based on,cast,casting,cinematography,co-producer,composer,costume design,created by,credits,developed by,directed by,director of photography,editing,editor,end credits,ende,executive producer,fim,fin,fine,guest starring,music by,produced by,producer,production company,production design,screenplay,series producer,sound,special thanks,starring,story by,the end,visual effects,written by</OcrDetectionKeywords> OCR needs keywords to look for and if it doesn't find them it will fail. So you might need to add keywords like for example "histoire" and "acteurs" for it to look for. The more you add the more precise it will be. The Chroma/hash detection seems to work as it should. If audio is too different between episodes it will fail because it can't find a common sound to compare with. 1
yocker 1957 Posted 22 hours ago Author Posted 22 hours ago @fbourgPlease quickly edit your message with the file as it's not allowed here. I should have clarified that it should have been in PM.. Sorry about that. 1
fbourg 5 Posted 22 hours ago Posted 22 hours ago 2 minutes ago, yocker said: @fbourgAre the videos french? I don't mean just the audio but french speaking with french end credits and so on? I noticed this in your settings file: <OcrDetectionKeywords>associate producer,based on,cast,casting,cinematography,co-producer,composer,costume design,created by,credits,developed by,directed by,director of photography,editing,editor,end credits,ende,executive producer,fim,fin,fine,guest starring,music by,produced by,producer,production company,production design,screenplay,series producer,sound,special thanks,starring,story by,the end,visual effects,written by</OcrDetectionKeywords> OCR needs keywords to look for and if it doesn't find them it will fail. So you might need to add keywords like for example "histoire" and "acteurs" for it to look for. The more you add the more precise it will be. The Chroma/hash detection seems to work as it should. If audio is too different between episodes it will fail because it can't find a common sound to compare with. Should I also set it to eng+fra in the OCR settings?
yocker 1957 Posted 22 hours ago Author Posted 22 hours ago Just now, fbourg said: Should I also set it to eng+fra in the OCR settings? That settings is only for if extra training files have been given to the OCR engines. It doesn't really matter for what is being done here as long as you add the right keywords. 1
yocker 1957 Posted 16 hours ago Author Posted 16 hours ago EmbyCredits 2.9.0.0 has been released in the catalog. Changed: 1) Much better and precise chroma/hash detection and precision! It is now where i could call it almost on par with OCR detection and much faster. 2) When it encounters a series that uses different music between episodes it will instead fallback to using blackframe detection. This fallback has also had it's precision improved greatly. 3) OCR detection has had the way it communicates with the OCR engines changed slightly. It no longer just keeps sending frames for the engine to run detections on but patiently waits for it to be done with each frame. This makes sure that no frame is ever missed for detection. This also improves precision. Note: This can make OCR feel slightly slower on rare occasions but only because no frames were lost, talking about 100 frames per multible 1000's on a normal machine. 4) Changed a few things about the chroma/hash and blackframe detection that should improve performance slightly. Fixed: 1) Removed the plugins own episode comparison from chroma/hash detection as it messed with the detections. 2) Fix a bug that could in very rare occasions cause the settings page to stall and make it look like the plugin had crashed. 3) Fixed blackframe detection fallback not engaging when it should. 4) Other fixes and optimizations. Special thanks to @Neminemfor help with testing. 2
yocker 1957 Posted 15 hours ago Author Posted 15 hours ago @RedNo7Â I almost forgot to mention. I suggest you try the chroma/hash detection now instead of OCR, it's much more CPU friendly and with the improved precision it's almost as good. 1
yocker 1957 Posted 14 hours ago Author Posted 14 hours ago 3 minutes ago, RedNo7 said: Is this the setting? Enable Hash Detection, the one you have chosen there uses OCR as fallback in case Chroma/Hash fails. 1
RedNo7 35 Posted 14 hours ago Posted 14 hours ago (edited) thanks! edit: wow it's bombing along! Edited 14 hours ago by RedNo7 1
fbourg 5 Posted 5 hours ago Posted 5 hours ago The plugin stopped again overnight. Here are the files. Version 2.9 Â embyserver-63925725666.txt embyserver.txt
yocker 1957 Posted 1 hour ago Author Posted 1 hour ago (edited) @fbourgDoes the plugin act like it was done or has it stalled mid detections? Looks like a lot of episodes was added to the queue that already had time stamps or failed and the plugin skipped them. If you look purely on the ETA then the time left can be very deceptive and can fluctuate A LOT. You add items to queue. It start detections on episodes and the ETA goes up to lets say 2 hours. Then 80% of the files suddenly doesn't have to have detections run anyway and the ETA can seem to be wrong because most of the work suddenly disappeared. That said, looking in the logs i might have found a problem. I will have a version ready for you to try soon. Edited 1 hour ago by yocker
fbourg 5 Posted 1 hour ago Posted 1 hour ago Hi @yocker, To answer your question: it definitely stalled mid-detection rather than finishing early or skipping files. Out of roughly 62,000 episodes in my library, only around 3,000 have been processed so far. The remaining ~59,000 are untouched and do not have any credit markers or previous timestamps. Looking closely at the log, the batch processing kicked off for Les Griffin Season 5 at 00:15:20.395, and then the plugin stopped logging completely while server-side TMDB queries were running. The scheduled task just hung right there. I'm ready to test your upcoming build as soon as it's available. Thanks for looking into it!
yocker 1957 Posted 40 minutes ago Author Posted 40 minutes ago 19 minutes ago, fbourg said: Hi @yocker, To answer your question: it definitely stalled mid-detection rather than finishing early or skipping files. Out of roughly 62,000 episodes in my library, only around 3,000 have been processed so far. The remaining ~59,000 are untouched and do not have any credit markers or previous timestamps. Looking closely at the log, the batch processing kicked off for Les Griffin Season 5 at 00:15:20.395, and then the plugin stopped logging completely while server-side TMDB queries were running. The scheduled task just hung right there. I'm ready to test your upcoming build as soon as it's available. Thanks for looking into it! Doesn't look to be stalled, there's just a lot of noise in the log from another plugin (TMDB api lookups). FFmpeg did cause an error at one point, i'm working on adding a guard againts that but other than that i don't really see a problem in the log. When that version is done can i get you to make the plugin save individual logs? That will remove all the noise.
fbourg 5 Posted 37 minutes ago Posted 37 minutes ago 3 minutes ago, yocker said: Doesn't look to be stalled, there's just a lot of noise in the log from another plugin (TMDB api lookups). FFmpeg did cause an error at one point, i'm working on adding a guard againts that but other than that i don't really see a problem in the log. When that version is done can i get you to make the plugin save individual logs? That will remove all the noise. Already done! "Save Debug Logs to File" is enabled and ready to go. Just let me know whenever the new build is up, and I'll run it right away to grab the isolated logs!
yocker 1957 Posted 27 minutes ago Author Posted 27 minutes ago 8 minutes ago, fbourg said: Already done! "Save Debug Logs to File" is enabled and ready to go. Just let me know whenever the new build is up, and I'll run it right away to grab the isolated logs! An hour or so and it should be ready if everything goes to plan. 1
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