# Cannot transcode audio or video files outside local LAN

**URL:** <https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911>\
**Category:** Plex Media Server\
**Tags:** server-linux, ios-legacy\
**Created:** [February 8, 2025, 3:30am UTC](https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911 "2025-02-08T03:30:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![aevyian](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/aevyian/32/331333_2.png) [@aevyian](https://forums.plex.tv/u/aevyian)\
**Post date:** [February 8, 2025, 3:30am UTC](https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911/1 "2025-02-08T03:30:38Z")

</div>

Server Version#: 1.41.3.9314  
Server OS: Debian Bookworm  
Player Version#: 8.45 iOS

Please help me ☹ I’ve been using Plex for a long time and only recently had an issue with transcoding (same machine, same iPhone the entire time) when away from home. I changed the transcoding directory to /tmp/ramdisk (created to use RAM for the temp directory, with exec permissions of course) and moved the Plex data directory to my secondary drive (different folders from my media of course). I’m mentioning these details in case it is important. I have already tried adding “fs.inotify.max\_user\_watches=262144” in /etc/sysctl.conf to fix the issue, but it doesn’t help.

> Feb 07, 2025 21:25:15.774 [139859813804856] DEBUG - [Req#2ac0/Transcode/JobRunner] Job running: FFMPEG\_EXTERNAL\_LIBS=‘/mnt/TwoTB/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/e613bce-3d5ad59c62e771ae9cb5738e-linux-x86\_64/’ X\_PLEX\_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx “/usr/lib/plexmediaserver/Plex Transcoder” -codec:0 mp3 -analyzeduration 20000000 -probesize 20000000 -i “/mnt/TwoTB/Music/Unleash the Archers/Unleash The Archers - Defy The Skies [EP] (2012)/02. Upon Ashes Wings.mp3” -filter\_complex “[0:0] aresample=async=1:ochl=‘stereo’:rematrix\_maxval=0.000000dB:osr=48000[0]” -map “[0]” -codec:0 libopus -b:0 121k -f segment -segment\_format ogg -segment\_time 1 -segment\_header\_filename header -segment\_start\_number 0 -segment\_list “[http://127.0.0.1:32400/video/:/transcode/session/867552FC-C5BE-4024-9DDE-7CB47DE4F744-384/89000034-88a2-4838-be9a-c9a0cbaa2a0c/manifest?X-Plex-Http-Pipeline=infinite](http://127.0.0.1:32400/video/:/transcode/session/867552FC-C5BE-4024-9DDE-7CB47DE4F744-384/89000034-88a2-4838-be9a-c9a0cbaa2a0c/manifest?X-Plex-Http-Pipeline=infinite)” -segment\_list\_type csv -segment\_list\_unfinished 1 -segment\_list\_size 5 -segment\_list\_separate\_stream\_times 1 -map\_metadata -1 -map\_chapters -1 -fflags +bitexact “chunk-%05d” -y -nostats -loglevel quiet -loglevel\_plex error -progressurl [http://127.0.0.1:32400/video/:/transcode/session/867552FC-C5BE-4024-9DDE-7CB47DE4F744-384/89000034-88a2-4838-be9a-c9a0cbaa2a0c/progress](http://127.0.0.1:32400/video/:/transcode/session/867552FC-C5BE-4024-9DDE-7CB47DE4F744-384/89000034-88a2-4838-be9a-c9a0cbaa2a0c/progress)  
> Feb 07, 2025 21:25:15.840 [139859792743224] DEBUG - Streaming Resource: Terminated session 0x7f33a735b188:867552FC-C5BE-4024-9DDE-7CB47DE4F744-384 with reason Conversion failed. The transcoder exited due to an error.  
> Feb 07, 2025 21:25:16.171 [139859807509304] DEBUG - Request: [166.196.64.65:38144 (WAN)] GET /:/timeline?bufferedTime=0&col=1&context=preplay%3Ahub.music.recent.added&duration=311849&key=%2Flibrary%2Fmetadata%2F5331&location=cellular&playQueueItemID=384&playbackTime=0&ratingKey=5331&row=2&state=error&time=0 (15 live) #2abd TLS GZIP Signed-in Token (aevyian) (iPhone)  
> Feb 07, 2025 21:25:16.171 [139859807509304] WARN - [Req#2abd] Could not convert “state” (“error”) to the correct type  
> Feb 07, 2025 21:25:16.173 [139859862485816] DEBUG - Completed: [166.196.64.65:38144] 400 GET /:/timeline?bufferedTime=0&col=1&context=preplay%3Ahub.music.recent.added&duration=311849&key=%2Flibrary%2Fmetadata%2F5331&location=cellular&playQueueItemID=384&playbackTime=0&ratingKey=5331&row=2&state=error&time=0 (15 live) #2abd TLS GZIP 1ms 384 bytes (pipelined: 8)  
> Feb 07, 2025 21:27:09.408 [139859860376376] DEBUG - NotificationStream: Removing because of error

---

<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:** [February 8, 2025, 6:12pm UTC](https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911/2 "2025-02-08T18:12:32Z")

</div>

Unfortunately cannot diagnose from that snippet.

Will need the DEBUG ZIP file showing from the moment (click to start playback) through to where the failure occurs.

(There are several intermediate important points )

Note: Rather than creating /tmp/ramdisk, you can use `/dev/shm` which is the same thing

---

<div class="post-metadata">

**Author:** ![aevyian](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/aevyian/32/331333_2.png) [@aevyian](https://forums.plex.tv/u/aevyian)\
**Post date:** [February 9, 2025, 4:06am UTC](https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911/3 "2025-02-09T04:06:26Z")

</div>

Thanks for the quick response, ChuckPa! I’ve removed my ramdisk and pointed the Transcoder over to /dev/shm (thanks for that tip!). I’m also attaching two zips of logs from the Plex web console. I think this is what you’ll need? Please let me know if there is something else I can supply.

Cheers,  
Jim  
[Plex Media Server Logs\_2025-02-08\_22-04-03.zip](https://forums.plex.tv/uploads/short-url/38uBHB18wEZhrmTO8oYLePsD795.zip) (1.1 MB)  
[Plex Media Server Logs\_2025-02-08\_22-19-40.zip](https://forums.plex.tv/uploads/short-url/kvC5qAk4kWTcOovUUcMv3nfQbxy.zip) (1.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:** [February 9, 2025, 4:31am UTC](https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911/4 "2025-02-09T04:31:09Z")

</div>

You moved PMS to a drive which does not have `exec` mount privilege

```auto
Feb 08, 2025 22:02:05.467 [139842403424912] INFO - Running migrations. (EPG 0)
Feb 08, 2025 22:02:05.467 [139842403424912] DEBUG - Captured session 0.
Feb 08, 2025 22:02:05.467 [139842403424912] DEBUG - Captured session 1.
Feb 08, 2025 22:02:05.468 [139842403424912] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /mnt/TwoTB/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/e613bce-3d5ad59c62e771ae9cb5738e-linux-x86_64/libac3_decoder.so: Operation not permitted
Feb 08, 2025 22:02:05.468 [139842403424912] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /mnt/TwoTB/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/e613bce-3d5ad59c62e771ae9cb5738e-linux-x86_64/libaac_encoder.so: Operation not permitted
Feb 08, 2025 22:02:05.468 [139842403424912] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /mnt/TwoTB/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/e613bce-3d5ad59c62e771ae9cb5738e-linux-x86_64/libmp3_decoder.so: Operation not permitted
Feb 08, 2025 22:02:05.468 [139842403424912] WARN - [FFMPEG] - Error loading external lib: Error loading shared library /mnt/TwoTB/plexmediaserver/Library/Application Support/Plex Media Server/Codecs/e613bce-3d5ad59c62e771ae9cb5738e-linux-x86_64/libaac_decoder.so: Operation not permitted
Feb 08, 2025 22:02:05.469 [139842310597432] DEBUG - [GPU] Got device: Intel GeminiLake [UHD Graphics 605], intel@builtin, default true, best true, ID 8086:3184:1849:2212@0000:00:02.0, DevID [8086:3184:1849:2212], flags 0x34e7
Feb 08, 2025 22:02:05.469 [139842310597432] INFO - Preemptively preparing driver ivd for GPU Intel GeminiLake [UHD Graphics 605]
Feb 08, 2025 22:02:05.469 [139842310597432] DEBUG - [DriverDL/ivd] Skipping download; already exists
Feb 08, 2025 22:02:05.469 [139842310597432] INFO - Preemptively preparing driver icr for GPU Intel Gemi

```

Change the mount options to include `exec` as a mount option

---

<div class="post-metadata">

**Author:** ![aevyian](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/aevyian/32/331333_2.png) [@aevyian](https://forums.plex.tv/u/aevyian)\
**Post date:** [February 11, 2025, 3:05am UTC](https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911/5 "2025-02-11T03:05:39Z")

</div>

Thank you so much, ChuckPa! I thought the permissions in my file system were the only thing to take note of here; I’m glad you pointed this out 🙂

To anyone following: I changed my /etc/fstab file to use the _exec_ option on the drive I have Plex/media content and then refreshed it:

**Before**

```auto
jim@ShiroWiFi:/etc$ findmnt /dev/sda1
TARGET SOURCE FSTYPE OPTIONS
/mnt/TwoTB /dev/sda1 ext4 rw,nosuid,nodev,noexec,relatime

```

**After**

```auto
jim@ShiroWiFi:/etc$ sudo nano fstab
jim@ShiroWiFi:/etc$ sudo mount /mnt/TwoTB -o remount
jim@ShiroWiFi:/etc$ findmnt /dev/sda1
TARGET SOURCE FSTYPE OPTIONS
/mnt/TwoTB /dev/sda1 ext4 rw,nosuid,nodev,relatime

```

---

<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 12, 2025, 3:05am UTC](https://forums.plex.tv/t/cannot-transcode-audio-or-video-files-outside-local-lan/904911/6 "2025-05-12T03:05:45Z")

</div>

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