# Plex Remote Transcoder - A distributed transcoding backend for Plex

**URL:** <https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681>\
**Category:** Dev/API Corner\
**Tags:** other-dev\
**Created:** [August 21, 2015, 4:06pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681 "2015-08-21T16:06:56Z")\
**Posts on this page:** 20\
**Page:** 25

<div class="post-metadata">

**Author:** ![Teddy\_Moller](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@Teddy\_Moller](https://forums.plex.tv/u/Teddy_Moller)\
**Post date:** [July 5, 2017, 10:32am UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/481 "2017-07-05T10:32:55Z")

</div>

Hi all,  
I just stumbled across this, and I have been searching for a solution like this for ages now. Thank you wnielson!  
I was just wondering if in a future release if it is possible to implement a sleep mode for the slave when the slave is idle. This should be woken up when there is a need for it. Let me try to illustrate what I have in mind:  
PMS-\> wake up slave 1.  
Slave 1 run with \>90% CPU for 1 min. then wake up slave 2.  
Slave 2 run with \>90% CPU for 1 min. then wake up slave 3.  
Etc until you have no more slaves.

When going to sleep:  
Slave 3 run with \<10% CPU for 10 min. then go to sleep.  
Slave 2 run with \<10% CPU for 10 min. then go to sleep.  
Slave 1 run with \<10% CPU for 10 min. then go to sleep.

Now this constellation requires that the cache/buffer is set to 3-4 mintues in order to have some time to wake another slave, so the user(s) do not experience any degradation nor lag.

Now let me make one thing 100% clear I am NOT a developer. I am just an “idiot” with strange ideas. 😉 (and too many computers at home)

/Teddy

---

<div class="post-metadata">

**Author:** ![SveinAre](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/sveinare/32/18700_2.png) [@SveinAre](https://forums.plex.tv/u/SveinAre)\
**Post date:** [October 22, 2017, 6:20pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/482 "2017-10-22T18:20:50Z")

</div>

would be a fun project for a huge stack of raspberry pi 3 boards if gpus could be utilized.

---

<div class="post-metadata">

**Author:** ![valantislevas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/valantislevas/32/91196_2.png) [@valantislevas](https://forums.plex.tv/u/valantislevas)\
**Post date:** [November 26, 2017, 1:21pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/483 "2017-11-26T13:21:21Z")

</div>

with current 1.9.7 version PMS which release is ok or which project github is working and active for remote plex transcoding?

---

<div class="post-metadata">

**Author:** ![boboki](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/boboki/32/3874_2.png) [@boboki](https://forums.plex.tv/u/boboki)\
**Post date:** [November 26, 2017, 3:05pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/484 "2017-11-26T15:05:31Z")

</div>

The current latest version works on the latest PMS version.

---

<div class="post-metadata">

**Author:** ![valantislevas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/valantislevas/32/91196_2.png) [@valantislevas](https://forums.plex.tv/u/valantislevas)\
**Post date:** [November 26, 2017, 8:46pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/485 "2017-11-26T20:46:22Z")

</div>

is possible to change uid from plex user on master server because on slave when i create user the uid is already used on other as i see from nfs i am asking if is possible to change uid from master server to some else and then create plex user with the same uid on slave…

thanks

---

<div class="post-metadata">

**Author:** ![valantislevas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/valantislevas/32/91196_2.png) [@valantislevas](https://forums.plex.tv/u/valantislevas)\
**Post date:** [December 3, 2017, 9:13am UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/486 "2017-12-03T09:13:19Z")

</div>

does anyone know? 😛

---

<div class="post-metadata">

**Author:** ![shocker-live](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@shocker-live](https://forums.plex.tv/u/shocker-live)\
**Post date:** [January 25, 2018, 11:21am UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/487 "2018-01-25T11:21:24Z")

</div>

Did anyone tested with the v1.11.0.4666 ? 🙂

---

<div class="post-metadata">

**Author:** ![boboki](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/boboki/32/3874_2.png) [@boboki](https://forums.plex.tv/u/boboki)\
**Post date:** [January 28, 2018, 3:21pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/488 "2018-01-28T15:21:05Z")

</div>

Tested working on 1.11.1.4730, however plex VR does NOT work with it at all, comes back unable to connect.

---

<div class="post-metadata">

**Author:** ![DravorInVa](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@DravorInVa](https://forums.plex.tv/u/DravorInVa)\
**Post date:** [February 15, 2018, 12:51pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/489 "2018-02-15T12:51:08Z")

</div>

Some quick questions:

1. If you install PRT with no clients, or if clients cannot be reached it will still transcode locally?

2. . If you are using /dev/shm for the transcoder temp directory, would you share this out, and does one think it would become a problem with multiple clients writing to it?

---

<div class="post-metadata">

**Author:** ![wnielson](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/wnielson/32/2673_2.png) [@wnielson](https://forums.plex.tv/u/wnielson)\
**Post date:** [February 15, 2018, 4:10pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/490 "2018-02-15T16:10:20Z")

</div>

> @DravorInVa said:  
> Some quick questions:
> 
> 1. If you install PRT with no clients, or if clients cannot be reached it will still transcode locally?

Yes. The master is always a fallback transcoder.

> 1. . If you are using /dev/shm for the transcoder temp directory, would you share this out, and does one think it would become a problem with multiple clients writing to it?

I’ve never tried network sharing the shared memory device before. I suppose it’ll work but it is untested.

---

<div class="post-metadata">

**Author:** ![nydave69](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nydave69](https://forums.plex.tv/u/nydave69)\
**Post date:** [February 17, 2018, 5:19pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/491 "2018-02-17T17:19:24Z")

</div>

I’ve been trying to get PRT to work master salve… I keep getting  
JobManager: child process returned: 1 (Operation not permitted)  
Jobs: ‘/usr/lib/plexmediaserver/Plex Transcoder’ exit code for process 2725 is 1  
no other errors and the web browser that I started the movie will wait forever till i stop it. If I put the original Plex Transcoder back it works fine…

---

<div class="post-metadata">

**Author:** ![DravorInVa](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@DravorInVa](https://forums.plex.tv/u/DravorInVa)\
**Post date:** [February 18, 2018, 11:17pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/492 "2018-02-18T23:17:13Z")

</div>

> @wnielson said:
> 
> > @DravorInVa said:  
> > Some quick questions:
> > 
> > 1. If you install PRT with no clients, or if clients cannot be reached it will still transcode locally?
> 
> Yes. The master is always a fallback transcoder.
> 
> > 1. . If you are using /dev/shm for the transcoder temp directory, would you share this out, and does one think it would become a problem with multiple clients writing to it?
> 
> I’ve never tried network sharing the shared memory device before. I suppose it’ll work but it is untested.

I just setup a spare server tonight, and installed PRT on the master. I need to change the transcoding directory and then setup a client transcoder and see how it works.

Theoretically the number of transcodings wont change anymore than what they are now. The processing load would just spread out, although if the number of transcodings were to go up I suppose I could run into an issue.

Thanks!

---

<div class="post-metadata">

**Author:** ![DravorInVa](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@DravorInVa](https://forums.plex.tv/u/DravorInVa)\
**Post date:** [February 19, 2018, 5:24am UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/493 "2018-02-19T05:24:18Z")

</div>

> @wnielson said:
> 
> > @DravorInVa said:  
> > Some quick questions:
> > 
> > 1. If you install PRT with no clients, or if clients cannot be reached it will still transcode locally?
> 
> Yes. The master is always a fallback transcoder.
> 
> > 1. . If you are using /dev/shm for the transcoder temp directory, would you share this out, and does one think it would become a problem with multiple clients writing to it?
> 
> I’ve never tried network sharing the shared memory device before. I suppose it’ll work but it is untested.

> @wnielson said:
> 
> > @DravorInVa said:  
> > Some quick questions:
> > 
> > 1. If you install PRT with no clients, or if clients cannot be reached it will still transcode locally?
> 
> Yes. The master is always a fallback transcoder.
> 
> > 1. . If you are using /dev/shm for the transcoder temp directory, would you share this out, and does one think it would become a problem with multiple clients writing to it?
> 
> I’ve never tried network sharing the shared memory device before. I suppose it’ll work but it is untested.

So I got it working without using /dev/shm as the transcoding directory, but the minute I switched to /dev/shm, and update my mounts, it quit working.

In the logs I see the transcode request sent, and a second later I see the Transcode stopped message.

So looks like I have to decide between writing to /dev/shm or using separate hosts for transcoding.

Thanks!

---

<div class="post-metadata">

**Author:** ![nydave69](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nydave69](https://forums.plex.tv/u/nydave69)\
**Post date:** [March 3, 2018, 11:07am UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/494 "2018-03-03T11:07:05Z")

</div>

I have PRT working now. I’ve set the slaves to sleep if there is no activity. I can send a WOL command from the terminal and wake each one up. Would like to add that command into PRT, so when it needs the additional processing power it could wake up the node on its own, just not sure how to go about doing that. Any pointers would be greatly appreciated.

---

<div class="post-metadata">

**Author:** ![wvroger](https://avatars.discourse-cdn.com/v4/letter/w/6a8cbe/32.png) [@wvroger](https://forums.plex.tv/u/wvroger)\
**Post date:** [March 4, 2018, 4:24pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/495 "2018-03-04T16:24:56Z")

</div>

Good Evening.

Can you use prt on a CentOS 7 setup using a xfs files system or does prt require nfs?

---

<div class="post-metadata">

**Author:** ![boboki](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/boboki/32/3874_2.png) [@boboki](https://forums.plex.tv/u/boboki)\
**Post date:** [March 4, 2018, 4:38pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/496 "2018-03-04T16:38:47Z")

</div>

You can use it on CentOS… but I don’t know of anyone that actually has gotten it to work per say on it. It was developed for ubuntu and works quite well on that.

Filesystem wise, it does not matter, you will just be sharing out the folders as exports, so the underlying FS does not really matter.

---

<div class="post-metadata">

**Author:** ![nydave69](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nydave69](https://forums.plex.tv/u/nydave69)\
**Post date:** [March 7, 2018, 2:54pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/497 "2018-03-07T14:54:26Z")

</div>

I tried to install it on Centos 7… PMS worked just fine but PRT would not work. The problem seemed to be that PRT would create the transcode job but Centos would report,  
JobManager: child process returned: 1 (Operation not permitted)  
Jobs: ‘/usr/lib/plexmediaserver/Plex Transcoder’ exit code for process 2725 is 1  
With no other errors… And PMS would just keep acting as if everything was fine. The client that started the video would just keep waiting for it to start till it was manually stopped.

Hope this information helps you find an answer.

---

<div class="post-metadata">

**Author:** ![nydave69](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nydave69](https://forums.plex.tv/u/nydave69)\
**Post date:** [March 12, 2018, 6:14pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/498 "2018-03-12T18:14:44Z")

</div>

Why doesn’t hardware transcodeing work when the slaves are identical to the master?

---

<div class="post-metadata">

**Author:** ![nydave69](https://avatars.discourse-cdn.com/v4/letter/n/fbc32d/32.png) [@nydave69](https://forums.plex.tv/u/nydave69)\
**Post date:** [March 13, 2018, 12:34pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/499 "2018-03-13T12:34:49Z")

</div>

Is this project still being developed?

---

<div class="post-metadata">

**Author:** ![igowas](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/igowas/32/84717_2.png) [@igowas](https://forums.plex.tv/u/igowas)\
**Post date:** [March 28, 2018, 10:09pm UTC](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681/500 "2018-03-28T22:09:15Z")

</div>

Hi, I dont know if this as been already anwsered but i’m planning to move my instalation to Unraid OS and I was wondering if I can make PRT working through a docker ? Otherwise I think a Ubuntu server VM can be a work around.

[Previous page](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681.md?page=24)

[Next page](https://forums.plex.tv/t/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/112681.md?page=26)
