ConfusedPolarBear / intro-skipper

Fingerprint audio to automatically detect and skip intro sequences in Jellyfin
GNU General Public License v3.0
987 stars 398 forks source link

Skipping outros/credits #19

Open Yankees4life opened 2 years ago

Yankees4life commented 2 years ago

It would be a good feature if this plugin was able to skip outros/credits as well. Makes binge-watching a bit easier

mueslimak3r commented 2 years ago

Video fingerprinting would probably be a good fit for outros since the music is often different for each episodes outro/credits but the graphics of scrolling text doesn't change. So with the frames scaled down to like 200p it should work

Here's the ffmpeg command I've used to get video frames from ffmpeg sent to a pipe, and it's quite fast considering the overhead inherent to video frame extraction: https://github.com/mueslimak3r/tv-intro-detection/blob/master/ffmpeg_fingerprint.py#L52

Protektor-Desura commented 2 years ago

I find the credits music is always the same except on a few shows. That my experience. The credit videos isn't always the same because of different directors, writers and guest stars in different episodes.

Yankees4life commented 2 years ago

I find the credits music is always the same except on a few shows. That my experience. The credit videos isn't always the same because of different directors, writers and guest stars in different episodes.

This is especially true for some anime. You only really see a different ending every half season

Yankees4life commented 2 years ago

Hello

I know you've been busy with some of the features but I'm wondering if there's any updates on this.

Cheers

Mavyre commented 1 year ago

As a suggestion, that would be cool to use the "next up" episode sooner, instead of just skipping the credits, and do not skip if it's the last episode (that's the netflix/primevideo behaviour).

Dnkhatri commented 1 year ago

This plex plugin seems to do outro credits detecting I hope something like this can be implemented for intro skipper as well.

https://github.com/cjmanca/plex-credits-detect

pixelblob commented 1 year ago

This would be awesome to have, the normal percentage based outro skipping has no way to detect after credit scenes in animes.

sunnyd24 commented 1 year ago

+1. Some shows have some additional content after the credits.

ghost commented 1 year ago

The most reliable, but probably the most difficult, way is to scan frames for text and compare the text between episodes to make sure they match.

Protektor-Desura commented 1 year ago

I don't see scanning text for credits working because the credits are completely different from episode to episode depending on who guest stared or background actors or extras. Not to mention if like in anime there is a different little anime ending of 5-10 seconds. Music matching for credits seems the most reliable option to me.

sannidhyaroy commented 1 year ago

+1