# Video Optimization feature is not working

**URL:** <https://forums.plex.tv/t/video-optimization-feature-is-not-working/786420>\
**Category:** Plex Media Server\
**Tags:** server-snap\
**Created:** [April 6, 2022, 9:19am UTC](https://forums.plex.tv/t/video-optimization-feature-is-not-working/786420 "2022-04-06T09:19:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Asem1989](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Asem1989](https://forums.plex.tv/u/Asem1989)\
**Post date:** [April 6, 2022, 9:19am UTC](https://forums.plex.tv/t/video-optimization-feature-is-not-working/786420/1 "2022-04-06T09:19:16Z")

</div>

Server Version#: 1.25.8.5663  
Player Version#: 4.69.1

Running Snap Plex Media Server Version 1.25.8.566 on Ubuntu 22.04  
I am trying to get the Version Optimization to work but I keep getting a vague unclear error:

> unable to convert

My media library is located on

> /media/libraries/

Due to limited space on my main SSD, I moved the ‘Plex Media Server’ folder to a different location on its own SSD:

> /media/plex/

using the following:

```auto
sudo cp -a /var/snap/plexmediaserver/common/Library/'Application Support'/'Plex Media Server'/. /media/plex/'Plex Media Server'

sudo rm -rf /var/snap/plexmediaserver/common/Library/'Application Support'/'Plex Media Server'

sudo ln -s /media/plex/'Plex Media Server' /var/snap/plexmediaserver/common/Library/'Application Support'/

```

This seem to work just fine and I am not getting any errors after doing that.  
I also created the Directory

> /media/Plex/optimized/

with a subfolder for each of the libraries and I set the ownership to root and adjusted permissions to rwx so Snap Plex can read and write to those directories. That solved the error of _¨unable to write to disk¨_ when using this directory to save the optimized versions.  
Pictures: [Unable to convert Media](https://i.imgur.com/ezeQjvD.png) ; [Settings for the Transcoder](https://i.imgur.com/90ebnc1.png)

The console tap in Plex is showing me an error when trying to optimize a video (no option is seleced):

> [Transcoder] Unrecognized option ‘crf:0’.  
> [Transcoder] Error splitting the argument list: Option not found

when enabling _ **Use hardware-accelerated video encoding** _ I get this Error:

> [Transcoder] Unrecognized option ‘crf:0’.  
> Jobs: ‘/snap/plexmediaserver/268/Plex Transcoder’ exit code for process 19902 is 1 (failure)

and when enabling _ **Use hardware acceleration when available** _ I get:

> [FFMPEG] - OpenEncodeSessionEx failed: unsupported device (2): (no details)

Has anyone been in a similar situation? Your help is much appreciated.

---

<div class="post-metadata">

**Author:** ![Asem1989](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@Asem1989](https://forums.plex.tv/u/Asem1989)\
**Post date:** [April 6, 2022, 2:38pm UTC](https://forums.plex.tv/t/video-optimization-feature-is-not-working/786420/2 "2022-04-06T14:38:21Z")

</div>

I took the easy way out of this and migrated from Snap to apt version of PMS… now things work as expected

---

<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:** [July 5, 2022, 2:39pm UTC](https://forums.plex.tv/t/video-optimization-feature-is-not-working/786420/3 "2022-07-05T14:39:07Z")

</div>

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