Jump to content

Plugin: EmbyCredits, detect end credits and add auto skip.


Go to solution Solved by yocker,

Recommended Posts

yocker
Posted

@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.

  • Like 1
yocker
Posted

@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.

  • Like 1
Posted
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
Posted
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.

  • Like 1
yocker
Posted

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.

  • Like 2
yocker
Posted

@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.

  • Thanks 1
Posted

Thanks, I’ll do that!

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...