About Plex Scanner and Agent

Feb 24, 2023 07:36:42.947 [0x7fbc25a62b38] ERROR - [Req#4f97c/Transcode/46cb740e-545c-4e22-b1c5-43620312f2bf/74fc16f1-49cc-4a4c-9589-a1ba463571df] Error while decoding stream #0:1: Invalid data found when processing input
Feb 24, 2023 07:36:42.948 [0x7fbc26f89b38] ERROR - [Req#4f97d/Transcode/46cb740e-545c-4e22-b1c5-43620312f2bf/74fc16f1-49cc-4a4c-9589-a1ba463571df] [aac @ 0x7f4df624d100] channel element 0.0 is not allocated

Plex is having trouble decoding one of your files. The above messages repeat ~115K times.

There are so many decode errors in the log files that any entries about matching have rolled out.

It appears to be this file: /volumeUSB2/usbshare/02-电视剧/02-国产剧/人民的名义.2017/Season 1/人民的名义-1080p.AAC - S01E54 - 高育良接受审查.mp4

Would this happen to be the show you are having trouble matching? If Google Translate is working correctly, it is In the Name of People.

Matching Problem

To fix matching problems, try aligning the show naming & organization to more closely match the Plex documentation. Then Plex Dance the show after renaming/reorganizing.

Plex DocsYour MediaNaming & Organizing Your TV Show Files

Using In the Name of People as an example:

/volumeUSB2/usbshare/02-电视剧/02-国产剧  <-- Folder added to Plex TV Show library
.../人民的名义 (2017) {tmdb-327209} <-- year in parenthesis.  ID tells Plex which show to match.
....../Season 01
........./人民的名义 - S01E54 - 高育良接受审查 [1080p.AAC].mp4 <-- "extra info" in square brackets at end of file name.
  • Given the directory structure in the log files, 02-国产剧 must be the folder added to the TV show library. You cannot add a higher level folder such as 02-电视剧. That is not supported by Plex and will cause matching problems.
  • Plex prefers the date in parenthesis.
  • The TMDB or TVDB ID tells Plex exactly which show to match. The ID must be in curly braces (see documentation).
  • Moving resolution, etc info after sXXeYY means Plex will ignore it when trying to match the show and episodes. Plex ignores everything after sXXeYY and information inside square brackets.

Decoding AAC problem

Let’s get the matching problem fixed first.

Please do the following:

  1. Move the episode to an area not scanned by Plex.
  2. Scan the library to pick up changes.
  3. Empty the library trash.
  4. Go to Settings → Library, and enable Scan my library automatically (adds useful info to log files).
  5. In Package Center, stop / start Plex Media Server.

Hopefully just the one file is causing problems. Moving it will keep it from flooding the log files with error messages. If there are others, they will how up in the log files as well…

Steps 4 & 5 are not required, but they’ll help with any future troubleshooting.

Edit-Library-1