# Optimizer/Automatic Version Selection

**URL:** <https://forums.plex.tv/t/optimizer-automatic-version-selection/209684>\
**Category:** General Discussions\
**Created:** [October 11, 2017, 2:30am UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684 "2017-10-11T02:30:25Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![mpalensh](https://avatars.discourse-cdn.com/v4/letter/m/90ced4/32.png) [@mpalensh](https://forums.plex.tv/u/mpalensh)\
**Post date:** [October 11, 2017, 2:30am UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/1 "2017-10-11T02:30:25Z")

</div>

I’ve searched a bit - but not finding the answer to this question: is Plex capable of selecting the best version of an optimized video to stream to clients?

I have friends who use my server - there’s no way I can realistically expect them to select specific versions from the UI. I have set up optimized versions (one for TV, one for Mobile) for everything recently added to the server. However, when my friends start playing a media item - Plex always transcodes from the original, full size files. Is there no way that Plex could automatically prioritize the best version to transcode from or stream?

i.e. if the user is requesting a 720p stream, select the 720p optimized file as the source for the session, instead of the 1080p bluray source.

---

<div class="post-metadata">

**Author:** ![ccutrer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ccutrer/32/128840_2.png) [@ccutrer](https://forums.plex.tv/u/ccutrer)\
**Post date:** [November 9, 2017, 9:17pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/2 "2017-11-09T21:17:43Z")

</div>

I want to second this, with a small twist. I have both a 1080p H264 (blu-ray rip) and 4k HDR HEVC (UHD rip) copies of some movies. Locally I direct play the 4k versions, and all is good. But today I noticed that for a remote user that’s requesting a 720p stream, Plex is choosing the 4k version as the source to transcode (I can tell, because it’s HEVC, and my CPU usage is through the roof). It would be much better if Plex chose the 1080p version (both versions are definitely sufficient quality to satisfy the client’s request), and used hardware decoding. Even if hardware decoding isn’t available, software decoding H264 1080p is _much_ less resource intensive than HEVC 4k.

It just seems like automatic version selection is just filtering to files that can be direct played based on codec and container support (regardless of bandwidth/resolution limitations), and then chooses the highest bitrate to ensure the highest quality (regardless of if it chose from the “direct play” or “transcode” bucket), when it should take into account other factors, finding a matching resolution first (presumably if someone pre-encoded to a target resolution, they would have chosen settings that would result in better quality than on-the-fly encoding will produce), or not putting undue load on the server (sure, if you’re asking for 720p, by all means use a 1080p version over a 480p version to not lose quality, but there’s no need to choose a 4k version when a 1080p version is available. Or if you’re looking exclusively at bitrates, if the client wants 4Mbps, transcode the 30Mbps version instead of serving the 2Mbps version, but don’t bother trying to transcode the 90Mbps version).

---

<div class="post-metadata">

**Author:** ![ccutrer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ccutrer/32/128840_2.png) [@ccutrer](https://forums.plex.tv/u/ccutrer)\
**Post date:** [November 9, 2017, 9:19pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/3 "2017-11-09T21:19:17Z")

</div>

Oh one more thing in my case - it’s especially important to choose the 1080p version as the source of transcoding, because Plex does not properly do tone mapping of 10-bit source content when transcoding at this time. So it all just looks washed out. It’s pretty terrible.

---

<div class="post-metadata">

**Author:** ![djshugaa](https://avatars.discourse-cdn.com/v4/letter/d/3be4f8/32.png) [@djshugaa](https://forums.plex.tv/u/djshugaa)\
**Post date:** [November 12, 2017, 7:48pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/4 "2017-11-12T19:48:39Z")

</div>

+1 So much this

---

<div class="post-metadata">

**Author:** ![Neodude](https://avatars.discourse-cdn.com/v4/letter/n/b9e5f3/32.png) [@Neodude](https://forums.plex.tv/u/Neodude)\
**Post date:** [December 16, 2017, 10:16am UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/5 "2017-12-16T10:16:02Z")

</div>

I need this too, especially the tone mapping. Just now I have a separate library for 4k HDR movies but It’s not an ideal solution.

---

<div class="post-metadata">

**Author:** ![studyfranco](https://avatars.discourse-cdn.com/v4/letter/s/9fc348/32.png) [@studyfranco](https://forums.plex.tv/u/studyfranco)\
**Post date:** [December 16, 2017, 2:12pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/6 "2017-12-16T14:12:07Z")

</div>

Nice idea !

---

<div class="post-metadata">

**Author:** ![beren12](https://avatars.discourse-cdn.com/v4/letter/b/6bbea6/32.png) [@beren12](https://forums.plex.tv/u/beren12)\
**Post date:** [April 22, 2018, 3:07am UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/7 "2018-04-22T03:07:07Z")

</div>

Is there any other solution for this? It’s a real pain to have a separate library for 4k stuff.

---

<div class="post-metadata">

**Author:** ![rsidick](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@rsidick](https://forums.plex.tv/u/rsidick)\
**Post date:** [June 6, 2018, 6:10pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/8 "2018-06-06T18:10:11Z")

</div>

+1 I’d like to get this as well. I only make “Optimized for TV” versions, but I think the system could pick the right optimized version if there were many depending on the requesting device. iPad request - check for an “Optimized for Mobile” version. LG TV - check for an “Optimized for TV” version.

---

<div class="post-metadata">

**Author:** ![ccutrer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ccutrer/32/128840_2.png) [@ccutrer](https://forums.plex.tv/u/ccutrer)\
**Post date:** [April 15, 2019, 4:02pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/9 "2019-04-15T16:02:45Z")

</div>

!!!

> [@Plex Media Server](https://forums.plex.tv/t/plex-media-server/30447/256):
>
> Plex Media Server 1.15.4.919 is now available to Plex Pass users in the Beta update channel NEW: (DVR) Ability to give Home Users DVR access. (#8794) (Playback) Assume unknown audio to be foreign if the preferred audio language is not english (#6126) (Streaming Brain) Preference to allow automatically terminating playbacks which have been paused for an hour (#9700) (Subtitles) Auto select forced subtitles when not listening to foreign audio (#6126) When transcoding for supported clients, auto…

Is this #9490 exactly what we need??

---

<div class="post-metadata">

**Author:** ![ccutrer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ccutrer/32/128840_2.png) [@ccutrer](https://forums.plex.tv/u/ccutrer)\
**Post date:** [April 15, 2019, 4:05pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/10 "2019-04-15T16:05:33Z")

</div>

YES!!! My iPhone, when on WiFi Direct Streamed the 4k/HDR/HEVC version, but when I took it off WiFi, it automatically selected the 1080p/AVC version of a movie. That should definitely mean AppleTV does the same (same iOS client). I don’t have a Roku to test with, but hopefully it does the same.

---

<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:** [January 7, 2020, 11:58pm UTC](https://forums.plex.tv/t/optimizer-automatic-version-selection/209684/11 "2020-01-07T23:58:14Z")

</div>


