# Plex analysis triggers incorrect recoding

**URL:** <https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589>\
**Category:** Metadata & Adding Files\
**Tags:** server-linux, android-tv, library-management\
**Created:** [May 5, 2022, 7:57am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589 "2022-05-05T07:57:24Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Journeyman](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Journeyman](https://forums.plex.tv/u/Journeyman)\
**Post date:** [May 5, 2022, 7:57am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/1 "2022-05-05T07:57:24Z")

</div>

erver Version#: 1.26.0.5715  
Player Version#: 9.1.0.32210 (794776f6)

Im quite new to plex, but i have this strange problem with player on TV would suddenly start recoding the files it was playing direct earlier.  
I have a feeling this happens after an analysis of a library. I have reseted plex database and files start playing direct again, and after some time, they again switch to recoding.  
info shows something like recoding h264\>h264 and AC3\>AC3.  
This happens to some of the files, but obviously this is some kind of analysis bug.  
How can i report such things and where?

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [May 5, 2022, 7:59am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/2 "2022-05-05T07:59:58Z")

</div>

Copy the contents of the [Plex media info](https://support.plex.tv/hc/en-us/articles/201998867-Investigate-Media-Information-and-Formats) XML of a video after you have reset ([Plex Dance](https://forums.plex.tv/t/the-plex-dance/197064) 'd) it.  
Then do the same after the video starts to transcode on playback.

Compare the two versions of the XML and/or post them here.  
(DON’T post the link to the XML files on your Plex server)

---

<div class="post-metadata">

**Author:** ![Journeyman](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Journeyman](https://forums.plex.tv/u/Journeyman)\
**Post date:** [May 5, 2022, 10:43am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/3 "2022-05-05T10:43:01Z")

</div>

Thank you for answering.  
I have created a new instance of the library (moved /var/lib/plexmediaserver/Library to backup) and added the problematic files. They play fine using direct for both audio and video.  
[working.zip](https://forums.plex.tv/uploads/short-url/mcPXg9pTXrwRPtUwLzlhGbt31Mz.zip) (2.6 KB)  
Second xml is from my existing library (where they recode) and it seems the same except for id’s.  
[not working.zip](https://forums.plex.tv/uploads/short-url/aIjmVJ9eSNRZfCyxNusxsrqdpr6.zip) (2.7 KB)

Another thing that I have noticed. After files start recoding, I cannot re-add them to new library on the same server. Same file in any library will fail to play normally until I delete entire Library folder on the server.  
So this doesn’t look like a metadata problem. This is something different.

PS. [Plex Dance](https://forums.plex.tv/t/the-plex-dance/197064) doesn’t work. Only Library delete helps

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [May 5, 2022, 10:50am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/4 "2022-05-05T10:50:56Z")

</div>

> [@Journeyman](#):
>
> I have a feeling this happens after an analysis of a library.

Having examined the xml files, I think this is not about analysis. Because both versions haven’t been analysed _thoroughly._  
Is “Perform extensive media analysis during maintenance” disabled on your server?  
(under Settings - Server - Scheduled Tasks)

---

<div class="post-metadata">

**Author:** ![Journeyman](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Journeyman](https://forums.plex.tv/u/Journeyman)\
**Post date:** [May 5, 2022, 10:55am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/5 "2022-05-05T10:55:08Z")

</div>

It was enabled, I disabled it because of that problem actually )  
How can I check that deep analysis is finished from the xml?

---

<div class="post-metadata">

**Author:** ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)\
**Post date:** [May 5, 2022, 10:57am UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/6 "2022-05-05T10:57:44Z")

</div>

If the analysis succeeded, you will see an additional XML property named `requiredBandwidths=" , , , , , , , "` appear for the file as a whole, as well as for each individual video, audio, and subtitle stream within.

---

<div class="post-metadata">

**Author:** ![Journeyman](https://avatars.discourse-cdn.com/v4/letter/j/779978/32.png) [@Journeyman](https://forums.plex.tv/u/Journeyman)\
**Post date:** [May 5, 2022, 7:19pm UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/7 "2022-05-05T19:19:21Z")

</div>

[Plex Dance](https://forums.plex.tv/t/the-plex-dance/197064) works. Ill try to make a full deep analysis and test again,

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [August 3, 2022, 7:19pm UTC](https://forums.plex.tv/t/plex-analysis-triggers-incorrect-recoding/791589/8 "2022-08-03T19:19:57Z")

</div>

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