No matter the setting Plex wont detect credits

Server Version#: 1.41.7.9823
Player Version#: N/A
I’ve looked through other topics about this, and none of the suggestions in them have worked. I’ve done a Plex dance for multiple different videos, and while Plex matches it fine and finds intros fine for TV shows, no matter if it’s a new movie/episode or an old one, it will never actually find the credits.
This is not related to players, as I am looking at the item XML to find the markers. I have set the credit detection setting to all 3 of the options and left it like that for a few days with no luck.

This is the first error that pops up after clicking analyze.


Then these two at the end of the log after it “finishes”

If posting the full logs will help let me know.

ChatGPT to the rescue!!! (Maybe)

The “incomplete marker attributes” error in Plex Media Server usually appears when analyzing a media file—typically video—and indicates that the metadata or stream markers (e.g., chapter, subtitle, or audio track information) are malformed or missing. The “credit detection not working” issue often follows because Plex can’t properly parse the video stream.

Here’s how to troubleshoot both issues on your Linux server:
:white_check_mark: 1. Check the File Format

This error often stems from problematic MKV or MP4 files.

Run this to inspect the file:

ffprobe yourfile.mkv

Look for missing or invalid markers (e.g., timecodes, chapters, metadata).

Fix:
If ffprobe throws errors or missing streams, remux using ffmpeg:

ffmpeg -i yourfile.mkv -map 0 -c copy fixed.mkv

Then replace the original file with fixed.mkv.

:white_check_mark: 2. Force Plex to Re-Analyze the Media

Sometimes Plex caches bad analysis results.

Delete the item in Plex.

Remove the associated metadata cache:

sudo systemctl stop plexmediaserver
rm -rf "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Metadata/Movies/<ID>"
sudo systemctl start plexmediaserver

(Adjust path if you installed Plex differently.)

Re-add the media to the library.

:white_check_mark: 3. Credit Detection Fix (Intro/Outro Skipping)

Credit detection relies on scene changes and audio cues. It can fail if:

Video has poor encoding (e.g., highly compressed, poor keyframes).

There are no clear intro/outro scenes.

You’re using a codec like AV1, which has less support.

Fix:

Try re-encoding just the first 1–2 minutes and last few minutes with better quality or clearer cuts:

ffmpeg -i yourfile.mkv -ss 00:00:00 -t 00:02:00 -c:v libx264 -c:a copy partial.mkv

Test this on a short segment to see if Plex can detect intros better.

:white_check_mark: 4. Check Plex Logs

Log file:

~/Library/Application Support/Plex Media Server/Logs/Plex Media Scanner.log

or on Linux:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Logs/

Search for:

incomplete marker attributes

or

Credit detection failed

It often shows which part of the media is causing the problem.
:white_check_mark: 5. Ensure Plex is Updated

Run:

apt update && apt upgrade plexmediaserver

Some bugs with media analysis (especially credit detection) have been fixed in newer builds.

If you’d like, feel free to share the exact error log snippet, ffprobe output, or codec details from the file and I can give you a more targeted fix.

1 Like

I did ffprobe on a new movie that failed at credit detection, and I can’t see anything wrong necessarily. It at least didn’t give me any errors. It’s encoded with h264, I encode with HandBrake, but I think my settings are pretty good since I can’t tell any difference from the source material. Either way, even the remuxes I uploaded are having the same issue.

Do you have debug logging enabled? That might tell you a bit more. In the past files I’ve had issues with I’d just run through handbrake or tmux again without any modifications and it’ll effectively just reassembly the file again but you’ll at least know it’s “clean”.

The credit detection tries to find text in the last part of the video, that looks like a typical credits roll.
If there are no credits at all or only in poor contrast, or have very long pauses between lines of text it may simply not get detected as credits. The alphabet used may also play a role.
I think the algorithm is currently better tuned to the Latin characters. If it encounters Japanese, Korean, or maybe Hebrew, it may miss the credits more often.

I myself have quite a few Anime episodes where credits are not detected.

Almost all my movies/shows are in English, and they are just normal movies/shows like Smallville.
I uploaded a straight rip of a Smallville episode, and it still failed at detecting credits


This is what the credits look like

Can you give me a few examples of common pieces of media that have credits detected, so I can see if my version has them? At this point, I’m not sure what to do. I do not yet have a movie or TV show that has successfully detected credits, and I highly doubt it’s because I only have niche content.

For example, I just reanalyzed a couple of Marvel movies (the one at the bottom being the Avengers), and it failed in the same exact way. It’s in English and has a standard credit scroll.

This is the full error that always happens.
[CreditsDetectionManager] Job failed: OpenCV(4.5.5-pre) /home/runner/_work/plex-conan/plex-conan/.conan/data/opencv/4.5.5-9699e2b-31/plex/main/build/66dee93a0b15e6bb4263d09f6ada705e436786ae/opencv/modules/dnn/src/tensorflow/tf_importer.cpp:2984: error: (-215:Assertion failed) netBinSize || netTxtSize in function ‘populateNet’

This is after disabling checking online for credit markers and only doing local scans.

Is there somewhere else I need to post this to start a bug report at the very least?

Well, I decided to try and install a test Plex server on a different VM, and credit detection works on that, while not working on the original VM with the same exact media file. I’m assuming this means I just have a broken Plex install on the original VM. I’m going to try moving the library to the new VM and will report back.

After making a new VM and migrating my library and database, credit detection is now working. I am having to do the Plex dance on basically my entire TV show library because it keeps thinking its credit markers are “up to date,” even though it didn’t have any.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.