How are Optimized versions larger than the files they are being made from?

I am wondering I created from plex web interface optimized versions for Mobile, TV and Original Quality and am noticing that the files are in some cases larger than the original files that I had uploaded to the server.

How are these files optimized?

-rwx------@ 1 gmh staff 683419041 Mar 24 14:04 Celtic Thunder Christmas (2010)-H265.mp4

-rwx------ 1 gmh staff 2419925263 Mar 24 13:46 Celtic Thunder Christmas (2010)-MKV.mkv

drwx------ 1 gmh staff 16384 Mar 28 16:27 Plex Versions

Celtic Thunder - Christmas (2010)/Plex Versions/Optimized for Mobile:

total 1746872

-rwx------ 1 gmh staff 894397020 Mar 28 18:46 Celtic Thunder_ Christmas (2009).mp4

Celtic Thunder - Christmas (2010)/Plex Versions/Optimized for TV:

total 1997400

-rwx------ 1 gmh staff 1022667908 Mar 28 19:20 Celtic Thunder_ Christmas (2009).mp4

Celtic Thunder - Christmas (2010)/Plex Versions/Original Quality:

total 1997384

-rwx------@ 1 gmh staff 1022658493 Mar 28 17:35 Celtic Thunder_ Christmas (2009).mp4

You’re using a narrow definition of “optimized” to mean efficiency in transmission. Optimized also means changed in form to better suit the playback device. That can mean video transcoded from more efficient formats to less computationally complex ones due to the direct play limitations of the client device, or to allow display of subtitles that are in a format the client can’t play natively.

When you ask for a file to be in “original” quality but also meet the requirements of a less-powerful playback device, the results will be larger because the transcoding needs to encode at a higher bitrate to maintain as much quality as possible despite the impact to quality that will occur from generational loss between two lossy codecs and the compression artifacts of the source codec combined with different artifacts of a destination codec.

Something to also be aware of is that, by default, Plex will “optimize” the media using H.264 for encoding. This alone can result in larger output file sizes if the source media was encoded using H.265 (aka, HEVC).

There’s a setting in your server’s transcoding settings to enable HEVC encoding; once enabled, you can further enable HEVC for optimization as well.

What setting would that be… I could not find it. But suspect that I was looking in the wrong location

Need to make sure you’re on a recent Plex Media Server version. The settings are under the checkbox for hardware-acceleration for encoding. See pic here:

Set this to Always Available under:

Settings → Transcoder

image

Then save. After that, enable this:
image

Then save again.

Weird that I am on Plex Version 1.43.0.10492 on a Synology DS418play running DSM 7.1.1-42962 Update 9 and I do not see that as an option.

Hmmm. It’s an Apollo Lake processor, so I would think that would be fine for this. is your iGPU actually listed in the “Hardware Transcoding Device” menu?

Apollo Lake can decode 10-bit HEVC, but not encode it (at least not in hardware).

I was on the Intel Ark site and thinking “2016… that’s just a couple years ago, right?” :clown_face:

Oh, man, I know! I had a double-take at that. When I saw that the DS418play was based on an Apollo Lake processor, I thought surely it supported HEVC encoding.