# Transcoded stuff didn't work anymore, direct play works

**URL:** <https://forums.plex.tv/t/transcoded-stuff-didnt-work-anymore-direct-play-works/685184>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [January 31, 2021, 2:16pm UTC](https://forums.plex.tv/t/transcoded-stuff-didnt-work-anymore-direct-play-works/685184 "2021-01-31T14:16:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kampfkuchen](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kampfkuchen/32/307848_2.png) [@Kampfkuchen](https://forums.plex.tv/u/Kampfkuchen)\
**Post date:** [January 31, 2021, 2:16pm UTC](https://forums.plex.tv/t/transcoded-stuff-didnt-work-anymore-direct-play-works/685184/1 "2021-01-31T14:16:43Z")

</div>

Server Version#: 1.21.2.3943  
Player Version#: Webplayer via Chrome

After copy the database (/var/lib/plexmediaserver/) to another disk I do a symlink to the original directory. It’s the hole database I copied.  
After that the database and mediathek works fine, everything is as normal. But if I try to watch something from the browser or anything that has to be transcoded, it loads forever.  
Even a job to optimize and transcode media didn’t work, the same error.

I found a similar topic that said I should delete /var/lib/plexmediaserver…/Codecs/EasyAudioCodec (or something like this) so Plex can download it again, but it didn’t work. It’s the same error as before.

[Plex Media Server Logs\_2021-01-31\_15-09-03.zip](https://forums.plex.tv/uploads/short-url/vXCwV0M1obNOdnCkXyTLh6wR975.zip) (4.0 MB)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 31, 2021, 5:58pm UTC](https://forums.plex.tv/t/transcoded-stuff-didnt-work-anymore-direct-play-works/685184/2 "2021-01-31T17:58:09Z")

</div>

That symbolic link, specifically the target partition, is biting you.

You’ve placed PMS on a partition which was not mounted with the `exec` option in **/etc/fstab**

The codecs are shared libraries.

Shared libraries, being executable code, must have execute permission at the file system level (mount point)

This is why you need to add `exec` to the mount option for that file system.

```auto
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libwmav2_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libwmav2_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmp2_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmp2_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libwmv2_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libwmv2_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmpeg1video_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmpeg1video_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/liblibx264_encoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/liblibx264_encoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libflv_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libflv_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libdca_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libdca_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmpeg4_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmpeg4_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libac3_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libac3_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmp3_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmp3_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libvp6f_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libvp6f_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libaac_encoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libaac_encoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libh264_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libh264_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libac3_encoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libac3_encoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libhevc_decoder.so
Jan 31, 2021 15:06:20.661 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libhevc_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.662 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmpeg2video_decoder.so
Jan 31, 2021 15:06:20.662 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmpeg2video_decoder.so: failed to map segment from shared object
Jan 31, 2021 15:06:20.662 [0x7fe725ab8e80] VERBOSE - [FFMPEG] - Loading external lib /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmsmpeg4v3_decoder.so
Jan 31, 2021 15:06:20.662 [0x7fe725ab8e80] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/367b3d4-3673-linux-x86_64/libmsmpeg4v3_decoder.so: fail

```

---

<div class="post-metadata">

**Author:** ![Kampfkuchen](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kampfkuchen/32/307848_2.png) [@Kampfkuchen](https://forums.plex.tv/u/Kampfkuchen)\
**Post date:** [January 31, 2021, 6:12pm UTC](https://forums.plex.tv/t/transcoded-stuff-didnt-work-anymore-direct-play-works/685184/3 "2021-01-31T18:12:58Z")

</div>

Thank you very much!

So I cannot link everything or I have to put the exec command on the specific partition.

Have a good day.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 31, 2021, 6:25pm UTC](https://forums.plex.tv/t/transcoded-stuff-didnt-work-anymore-direct-play-works/685184/4 "2021-01-31T18:25:56Z")

</div>

@Kampfkuchen

Please read here. I have provided a guide how to do this.

Option **F** shows how to address the issue you have.  
I recommend moving the library using the accepted systemd technique.

> [@Moving PMS 'Library'](https://forums.plex.tv/t/moving-pms-library/197342):
>
> Moving Plex’s metadata (Library) directory on systemd based systems This information is intended for those systems where cat /proc/1/comm returns systemd. If your system returns init, please see the next post in this thread. While you may change /lib/systemd/system/plexmediaserver.service, it is under the control of the package manager and subject to replacement without warning at any time during an update. To provide stability, systemd allows creation of an override.conf file to customiz…

---

<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 1, 2021, 6:26pm UTC](https://forums.plex.tv/t/transcoded-stuff-didnt-work-anymore-direct-play-works/685184/5 "2021-05-01T18:26:06Z")

</div>

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