Plex keeps trying to detect Voice Activity / Intros / Thumbnails for the same files

Server Version#: 1.41.2.9200
Player Version#: N/A

For a couple of days now my server keeps trying to detect Voice Activity, Intros and Thumbnails for 3 or 4 shows (for one even only for a single season I believe)

In the logs I see:

MDE: unable to find a working transcode profile for video stream

There are not many solutions to be found via googling, here’s what I already found and tried:

  1. This Reddit Thread, which suggests two things:
    • that a possible problem could be the permissions on the files
    • deleting the Codecs in the Codecs directory (but not the .device-id file) (also suggested here in the forums
  2. Another Reddit Thread, which sadly does not offer any suggestions for solutions
  3. Another thing I read (but can’t find the link to anymore) was to check that the files are not corrupted / playable in a different player (e.g. VLC)

For the permissions I’ve made sure that everything has the correct ones. For all my docker services I set the user to the default nobody:users from Unraid, for Plex this is done via Env:

      - PLEX_UID=${PUID}
      - PLEX_GID=${PGID}

I’ve used $ chown -R nobody:users /mnt/user/data/media on my root media folder (which contains “Movies”, “TV Shows” and “Anime” folders for the respective libraries)
I even doublechecked with the linked gist

Sadly this did not fix my problem


Next I reset the codes

$ docker compose plex down
$ cd plex/Library/Application\ Support/Plex\ Media\ Server/Codecs/
$ rm -rf EasyAudioEncoder-8f4ca5ead7783c54a4930420-linux-x86_64/  db205f4-631e8759786d054613dad5b2-linux-x86_64/
$ cd -
$ docker compose up -d plex

As expected codecs got downloaded again, but sadly this didn’t fix my problem either


I’ve also tested all the files in IINA (a MacOS player like VLC), with no problems.
Additionally I checked their hashes against the originals, which also match.

So this isn’t the cause of the problem either.


Logs
Plex Media Server Logs_2024-12-08_09-26-40.zip (214.8 KB)

Let me know if you need any other information

Same issue here.

Problem still exists, my server scans the same couple files every few hours.

Deleted the logs shortly before it happened again, so here are some new logs that capture the start of the problem. Personally I can’t make anything from them in terms of how to solve it, hopefully support can.

Logs.zip (116.8 KB)

Is there maybe an option to disable this detection of Voice Activity / Intros / Thumbnails for a specific file?

I really hate how my server is wasting so much energy doing nothing productive.

One of the reasons for switching to Plex was that I hoped for a more refined product (or at least better support for problems…)

Switched to new hardware (not specifically for plex, that was planned already), problem still exists, still looking for help

im having the same issue

ALL:

I was working with a friend to track this down with a piece of his media.

We observed:

  1. PMS would always get stuck at the last chapter of the file (visible in the logs)
  2. It would repeat over and over until Scheduled Tasks ended.

We looked at:

  1. Chapters in the file
  2. Actual run length of the movie
  3. Compared the run length of the 1080p and 4k versions of the movie

We found:

  1. The movie had chapter markers in the file which ran off the end
  2. The two movies differed in runtime by several seconds.
  3. The final chapter marker was valid for the 1080p version but not the 4K version (ran past the end-of-file)

Resolution:

  1. Replaced the 4K version
  2. Checked chapter markers and found them to be correct
  3. Let PMS perform it’s analysis
  4. Issue resolved.

Summary:

Consider a closer inspection of the media file.
Compare the chapter markers, etc to published information.
Repair / Replace as appropriate

Not sure if that’s the case for me yet, but how would I check the files?

I know that I’d have to use mediainfo in the terminal probably, but not what exactly to do with it

I’ve attached my logs again, these are files from a run that happened just now and only those containing the problematic files.

If you can please take a look, I’d appreciate it immensely

Plex Logs.zip (21.6 KB)

Thanks

These logs show me that it’s finding and creating the Thumbs.

I don’t see where it’s getting the Intro / Voice detection activity.

It would have been nice to see the PMS logs to see if there were any database issues during that time.

For the MKV container, if you’ve already identified the problematic files, you can use MKVToolNix Chapter Editor to edit/correct chapter timings.

  1. Load the file into the Chapter Editor
  2. Right click on Edition Entry
  3. Choose Additional Modifications from the drop down menu
  4. Choose Derive end timestamps from start timestamps (screenshot below)
  5. OK & Save

It will make sure a chapter end time does not overlap with the next chapter start time.
It also sets the end time of the last chapter to the video duration.

Note: This assumes the start timestamps are in the correct order. It does not notify you if they are incorrect / out of order.


Hey Chuck, thanks for taking a look. Here’s the PMS log from the time where the others also happened.

Plex Media Server.5.log (1.8 MB)

Thanks for the info, it seems only the 2 episodes from JoJo’s Bizarre Adventure had chapters, so I corrected those, hopefully that will solve the issue for them already.

For the Fairy Tail and Moon Knight Episode there were no chapters when I loaded the files, so the issue must be something else for those

I see this in the log you gave me, have you checked this too?

D’Arby the Gambler (2)

Jan 13, 2025 08:28:26.830 [23211176926008] DEBUG - There was a change for metadata item 15805 (D'Arby the Gambler (2)), saving.
Jan 13, 2025 08:28:26.830 [23211176926008] DEBUG - Updating metadata item (save) (D'Arby the Gambler (2)) with ID 15805
Jan 13, 2025 08:28:26.832 [23211176926008] DEBUG - Done with metadata update for 15805
Jan 13, 2025 08:28:26.832 [23211176926008] DEBUG - Activity: updated activity d655af7a-f1ea-4120-8234-e5b427892845 - completed 99.0% - Updating Metadata
Jan 13, 2025 08:28:26.833 [23211168222008] DEBUG - Calculated media file path for path [upload://posters/seasons/2/episodes/35/a5db974f7f54949e8cc1a7fcb3995aada3d62bd4]: ["/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/8e15bdf456f7f8d229776f99524ae17950eeee3.bundle/Uploads/posters/seasons/2/episodes/35/a5db974f7f54949e8cc1a7fcb3995aada3d62bd4"]
Jan 13, 2025 08:28:26.834 [23211176926008] DEBUG - Activity: Ended activity d655af7a-f1ea-4120-8234-e5b427892845.
Jan 13, 2025 08:28:26.840 [23211174288184] DEBUG - Created thumbnail of size 100x56, has pixels: 1
Jan 13, 2025 08:28:26.844 [23211174288184] DEBUG - [BlurHashProcessor] Generated for item 15803 thumb in 18 ms (success: 1)
Jan 13, 2025 08:28:26.844 [23211174288184] DEBUG - [BlurHashProcessor] Generated for item 15803 art in 0 ms (success: 0)
Jan 13, 2025 08:28:26.845 [23211172178744] DEBUG - Calculated media file path for path [upload://posters/seasons/2/episodes/27/4fde5e3f9dadf9e3bf107dbcd6fda18b8d87576b]: ["/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/8e15bdf456f7f8d229776f99524ae17950eeee3.bundle/Uploads/posters/seasons/2/episodes/27/4fde5e3f9dadf9e3bf107dbcd6fda18b8d87576b"]
Jan 13, 2025 08:28:26.846 [23211168222008] DEBUG - Created thumbnail of size 100x56, has pixels: 1
Jan 13, 2025 08:28:26.850 [23211168222008] DEBUG - [BlurHashProcessor] Generated for item 15805 thumb in 17 ms (success: 1)
Jan 13, 2025 08:28:26.850 [23211168222008] DEBUG - [BlurHashProcessor] Generated for item 15805 art in 0 ms (success: 0)
Jan 13, 2025 08:28:26.851 [23211166112568] DEBUG - Calculated media file path for path [upload://posters/seasons/2/episodes/35/a5db974f7f54949e8cc1a7fcb3995aada3d62bd4]: ["/config/Library/Application Support/Plex Media Server/Metadata/TV Shows/2/8e15bdf456f7f8d229776f99524ae17950eeee3.bundle/Uploads/posters/seasons/2/episodes/35/a5db974f7f54949e8cc1a7fcb3995aada3d62bd4"]
Jan 13, 2025 08:28:26.862 [23211172178744] DEBUG - [UltraBlurProcessor] Generated for item 15803 in 17 ms.
Jan 13, 2025 08:28:26.877 [23211166112568] DEBUG - [UltraBlurProcessor] Generated for item 15805 in 26 ms.
Jan 13, 2025 08:28:30.377 [23211214543672] DEBUG - Request: [127.0.0.1:60430 (Loopback)] GET /identity (3 live) #99b38 Signed-in
Jan 13, 2025 08:28:30.377 [23211389180728] DEBUG - Completed: [127.0.0.1:60430] 200 GET /identity (3 live) #99b38 0ms 417 bytes (pipelined: 1)
Jan 13, 2025 08:28:33.331 [23211361794872] DEBUG - PlayQueue: Converted 'server://0df7b68f6123160419a706b159516369bd918544/com.plexapp.plugins.library/library/sections/3/all?type=2&sort=originallyAvailableAt%3Adesc&push=1&show.originallyAvailableAt%3E%3E=-90d&pop=1' to 'library://x/directory/%2Flibrary%2Fsections%2F3%2Fall%3Ftype%3D2%26sort%3DoriginallyAvailableAt%253Adesc%26push%3D1%26show%2EoriginallyAvailableAt%253E%253E%3D-90d%26pop%3D1'
Jan 13, 2025 08:28:33.331 [23211361794872] DEBUG - Setting container serialization range to [0, 0] (total=-1)
Jan 13, 2025 08:28:33.371 [23211361794872] DEBUG - PlayQueue: Converted 'server://0df7b68f6123160419a706b159516369bd918544/com.plexapp.plugins.library/library/sections/3/all?type=2&sort=originallyAvailableAt%3Adesc&push=1&episode.originallyAvailableAt%3E%3E=-7d&pop=1' to 'library://x/directory/%2Flibrary%2Fsections%2F3%2Fall%3Ftype%3D2%26sort%3DoriginallyAvailableAt%253Adesc%26push%3D1%26episode%2EoriginallyAvailableAt%253E%253E%3D-7d%26pop%3D1'
Jan 13, 2025 08:28:33.371 [23211361794872] DEBUG - Setting container serialization range to [0, 0] (total=-1)
Jan 13, 2025 08:28:33.373 [23211361794872] DEBUG - Collections: Refreshed attributes for 0 collections in section 3 in 7166ms.
Jan 13, 2025 08:28:33.385 [23211361794872] DEBUG - Collection: Refreshed visibility in section 3 in 11ms.
Jan 13, 2025 08:28:33.385 [23211361794872] DEBUG - LongRunningJobManager [ChapterThumbs]: scheduling job for item 15800, 0 pending.
Jan 13, 2025 08:28:33.385 [23211361794872] DEBUG - LongRunningJobManager [BaseIndexFrameFile]: scheduling job for item 15800, 0 pending.
Jan 13, 2025 08:28:33.385 [23211361794872] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 15800, 0 pending.
Jan 13, 2025 08:28:33.385 [23211361794872] DEBUG - LongRunningJobManager [VoiceActivityDetection]: scheduling job for item 15800, 0 pending.
Jan 13, 2025 08:28:33.385 [23211361794872] DEBUG - LongRunningJobManager [ChapterThumbs]: scheduling job for item 15801, 1 pending.
Jan 13, 2025 08:28:33.389 [23211361794872] DEBUG - LongRunningJobManager [BaseIndexFrameFile]: scheduling job for item 15801, 0 pending.
Jan 13, 2025 08:28:33.389 [23211158121272] ERROR - [CreditsDetectionManager] Missing item or unexpected type
Jan 13, 2025 08:28:33.389 [23211361794872] DEBUG - LongRunningJobManager [CreditsDetector]: scheduling job for item 15801, 0 pending.
Jan 13, 2025 08:28:33.389 [23211156011832] ERROR - [VoiceActivityDetectionManager] Missing item or unexpected type
Jan 13, 2025 08:28:33.389 [23211361794872] DEBUG - LongRunningJobManager [VoiceActivityDetection]: scheduling job for item 15801, 0 pending.

I wish the logs included file path but I understand why they chose to keep it this way

What exactly do you mean? The Missing item or unexpected type errors?
The files exist and I can play them (both in Plex as well as locally)

It seems the two JoJo Episodes are fixed by doing what @FordGuy61 posted.

Now I just need to know why the Fairy Tail episode and Moon Knight episode make trouble

Any idea what the issue for those two episodes is?

Still looking for help, just commenting so this doesn’t get auto-closed

I’ve been having this exact issue, for the television shows Hercules and Xena. Checked the timings for each episode and found no overlaps so unfortunately that wasn’t the fix for me either.

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