# Transcoding optimization from mulitple sources

**URL:** <https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173>\
**Category:** General Discussions\
**Created:** [February 1, 2022, 8:56pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173 "2022-02-01T20:56:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 1, 2022, 8:56pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/1 "2022-02-01T20:56:45Z")

</div>

I searched through the discussions but didn’t really find anything on this. I have multiple resolutions stored for the same video (480p, 720p, 1080p, 4k). In most cases when remote streaming, the optimal version of the film for no buffering is being selected automatically. However, when the server decides to transcode it is most often choosing to transcode down from the 4k file to a 720p format. Why is it doing this? Is there a way to stop this other than separating the 4k into a different library? Can I make a request to add an “if-then” scenario to Plex’s’ coding that if transcoding starts to select the closest source resolution to the target resolution?

---

<div class="post-metadata">

**Author:** ![BigWheel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigwheel/32/78783_2.png) [@BigWheel](https://forums.plex.tv/u/BigWheel)\
**Post date:** [February 2, 2022, 12:45am UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/2 "2022-02-02T00:45:43Z")

</div>

As far as I am aware it should be using the one closest to the target without going under.

Would you mind sharing your [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) after it transcodes using the 4k version.

---

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 2, 2022, 4:30pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/3 "2022-02-02T16:30:20Z")

</div>

[Plex Media Server Logs\_2022-02-02\_11-23-16.zip](https://forums.plex.tv/uploads/short-url/lTSrBgpPgC0uo2A3YS8PfJmdL9t.zip) (7.0 MB)  
I used the movie “Abominable” as a test but the issue occurs with almost every movie that has a 4k version loaded. Should be timestamped around 11:12 or so. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [February 2, 2022, 5:08pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/4 "2022-02-02T17:08:44Z")

</div>

Check Settings → Scheduled Tasks.

Are `Upgrade media analysis during maintenance` and `Perform extensive media analysis during maintenance` selected?

Plex analyzes the files during scheduled tasks, including determining the bandwidth required to stream the file. Several of your files, including the 4K version of Abominable, are missing this analysis. This may be affecting Plex’s ability to select the proper file for transcoding.

The process shows up as “deep analysis” in the log files:

```auto
Feb 02, 2022 11:13:30.627 [10336] DEBUG - [Transcode] Streaming Resource: Required bandwidth unknown (media requires deep analysis) Changing decision parameters provided by client to fit bandwidth limit of 720kbps
Feb 02, 2022 11:13:30.627 [10336] DEBUG - [Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.

```

---

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 2, 2022, 5:12pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/5 "2022-02-02T17:12:31Z")

</div>

“Upgrade” was selected but “Extensive” was not. I have updated the settings. Thanks, I will update whether or not this fixes the issue.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [February 2, 2022, 5:17pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/6 "2022-02-02T17:17:07Z")

</div>

The analysis will run during the scheduled tasks window.

You can tell if it ran by looking that the [XML info](https://support.plex.tv/hc/en-us/articles/201998867-Investigate-Media-Information-and-Formats) for the movie.

You will see `deepAnalysisVersion="6"`. Also, several entries with `requiredBandwidths` (for the overall movie, the video, and each audio & subtitle track).

---

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 2, 2022, 7:35pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/9 "2022-02-02T19:35:35Z")

</div>

No luck. deepanalysis has been run and is showing as “=6” in the [XML info](https://support.plex.tv/hc/en-us/articles/201998867-Investigate-Media-Information-and-Formats) with the bandwidth info filled in, but it is still trying to convert from 4k to SD instead of choosing the 720p version.  
I will include updated [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) and the [XML info](https://support.plex.tv/hc/en-us/articles/201998867-Investigate-Media-Information-and-Formats). I started the movie at 14:29  
[Abominable XML.txt](https://forums.plex.tv/uploads/short-url/4qykaMBufx27gkp1woJ00w8puu.txt) (79.5 KB)  
[Plex Media Server Logs\_2022-02-02\_14-32-47.zip](https://forums.plex.tv/uploads/short-url/owz7xqP51zKum3cQt60scnJUp7Z.zip) (8.4 MB)

---

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 14, 2022, 5:51pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/10 "2022-02-14T17:51:10Z")

</div>

The issue still persists. I notice that the server is also sometimes choosing 1080p versions to transcode down to SD instead of the 720p version. So, I guess there are no other solutions? Anything else to try?

---

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 16, 2022, 1:59am UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/11 "2022-02-16T01:59:09Z")

</div>

I will say that it is genuinely frustrating to receive not so much as a “hey we are looking into this issue”. As a fairly long time Plex Pass holder and usually enthusiastic advertiser, to be ghosted on a legit issue stings a little.

---

<div class="post-metadata">

**Author:** ![BigWheel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigwheel/32/78783_2.png) [@BigWheel](https://forums.plex.tv/u/BigWheel)\
**Post date:** [February 16, 2022, 2:57am UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/12 "2022-02-16T02:57:14Z")

</div>

Apologies for not getting back to you. Afaik I think it is choosing the 4k version because it is HDR and you have an HDR capable TV. I’m going to poke a dev again to confirm

---

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 18, 2022, 4:39pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/13 "2022-02-18T16:39:53Z")

</div>

Ok. I see that the server is choosing to transcode from 1080p to 720p even when I have a 720p version available. Can someone please explain why? If it is something I am doing wrong please let me know as I don’t want to be arbitrarily using more power than necessary. I included updated [server logs](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) as well as a screenshot of the two films transcoding. You can see in the logs that it shows both resolutions available and deepanalysis=6. Thanks  
[Plex Media Server Logs\_2022-02-18\_11-32-08.zip](https://forums.plex.tv/uploads/short-url/AkZoOu7aVVIB4gJxT6uOnqurZpR.zip) (6.9 MB)

 ![transcode example](https://global.discourse-cdn.com/plex/original/4X/b/b/9/bb9d6cf99418940e572005da7108fde9c79d16ec.jpeg)

---

<div class="post-metadata">

**Author:** ![heartsdeziree](https://avatars.discourse-cdn.com/v4/letter/h/ecb155/32.png) [@heartsdeziree](https://forums.plex.tv/u/heartsdeziree)\
**Post date:** [February 20, 2022, 9:58pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/14 "2022-02-20T21:58:16Z")

</div>

Well never mind I guess. Just F me for asking a legit technical question…

---

<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:** [May 21, 2022, 9:58pm UTC](https://forums.plex.tv/t/transcoding-optimization-from-mulitple-sources/774173/15 "2022-05-21T21:58:46Z")

</div>

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