# Conversion failed. The transcoder exited due to an error

**URL:** <https://forums.plex.tv/t/conversion-failed-the-transcoder-exited-due-to-an-error/652874>\
**Category:** General Discussions\
**Tags:** server-linux\
**Created:** [November 12, 2020, 5:35pm UTC](https://forums.plex.tv/t/conversion-failed-the-transcoder-exited-due-to-an-error/652874 "2020-11-12T17:35:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cepacolmax\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@cepacolmax\_gmail\_com](https://forums.plex.tv/u/cepacolmax_gmail_com)\
**Post date:** [November 12, 2020, 5:35pm UTC](https://forums.plex.tv/t/conversion-failed-the-transcoder-exited-due-to-an-error/652874/1 "2020-11-12T17:35:39Z")

</div>

Hi all,  
PMS Version 1.20.4.3517  
OS: Linux raspberrypi 5.4.51-v7+

Brand new PMS install.  
I’m getting “Conversion failed. The transcoder exited due to an error” on every  
single file.  
I’ve verified permissions for the ~/Library branch as well as for the transcoder.

What logs to y’all need, and where can I send them so I don’t have to post them publicly?

Thanks,  
Max

---

<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:** [November 12, 2020, 8:37pm UTC](https://forums.plex.tv/t/conversion-failed-the-transcoder-exited-due-to-an-error/652874/2 "2020-11-12T20:37:29Z")

</div>

Going to need logs which capture it happening.

Check your PM

---

<div class="post-metadata">

**Author:** ![cepacolmax\_gmail\_com](https://avatars.discourse-cdn.com/v4/letter/c/dc4da7/32.png) [@cepacolmax\_gmail\_com](https://forums.plex.tv/u/cepacolmax_gmail_com)\
**Post date:** [November 12, 2020, 10:08pm UTC](https://forums.plex.tv/t/conversion-failed-the-transcoder-exited-due-to-an-error/652874/3 "2020-11-12T22:08:27Z")

</div>

For the benefit of the community, this turned out to be my fault.

The setup:  
Since I’m running PMS on a raspberry pi, I have a very limited / partition.

To get around this, I remapped the ~Library to an external drive.  
In the root partition:  
/var/lib/plexmediaserver has a symbolic link to the Library:  
lrwxrwxrwx 1 plex plex 16 Oct 22 13:43 Library → /mnt/usb/Library

This worked fine for some files, but not for others.

Thanks to @ChuckPa, we found the issue.  
The telltale lines in the log look like this:

```auto
Nov 12, 2020 11:09:48.194 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/liblibx264_encoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.197 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libh264_decoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.202 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libmpeg4_decoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.205 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libaac_encoder.so: failed to map segment from shared object
Nov 12, 2020 11:09:48.208 [0x76f8fb20] WARN - [FFMPEG] - Error loading external lib: /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/02cff92-3522-linux-armv7hf_neon/libmp3_decoder.so: failed to map segment from shared object

```

> [@On another topic](https://forums.plex.tv/t/652921/5):
>
> The error is because codecs are shared libraries. Shared libraries are loaded into the transcoder and “executed”.

And yep, turns out I didn’t have the ‘exec’ flag in my /etc/fstab. Some filesystems default to allowing exec, some don’t. Adding the exec flag fixed the issue:

/etc/fstab (old):  
`UUID=blah /mnt/usb ext3 defaults,auto,users,rw,nofail 0 0`  
/etc/fstab (new):  
`UUID=blah /mnt/usb ext3 defaults,auto,users,rw,exec,nofail 0 0`

Thanks, @ChuckPa!  
Max

---

<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:** [February 10, 2021, 10:08pm UTC](https://forums.plex.tv/t/conversion-failed-the-transcoder-exited-due-to-an-error/652874/4 "2021-02-10T22:08:28Z")

</div>

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