Distributed Transcoding/Scaling

so maybe in addition to developing distributed transcoding it would be cool if plex could support some sort of stacked pre-transcoded files (which I would imagine would be much easier from the development standpoint)

so say

Movie XYZ.1mbit.mkv
Movie XYZ.3mbit.mkv
Movie XYZ.10mbit.mkv
Movie XYZ.original.mkv

etc or something

preventing CPU transcoding at all, and realistically the lower bit-rate files should be pretty small

Id be ok with this option as well. storage is cheap and going down. Have the server run those transcodes during idle times... works for me. We could probably do that with a script now just run it late at night

+1 from me! :)

I really think "transcode agents" would make sense.

Where I'm leaving I don't have power for free - so I large server for Plex would be expensive to run. I'm having a Synology NAS where Plex is hosted today, but if it has to transcode a eg blu-ray disc to my phone it would be challanged. But why should a large server be running 24/7 for transcode once in a while?

I would be nice if Plex could say "I can't handle the pressure - sending a WOL to the mediacenter (an i7-processor), and let the mediacenter handle the transcoding".

so maybe in addition to developing distributed transcoding it would be cool if plex could support some sort of stacked pre-transcoded files (which I would imagine would be much easier from the development standpoint)

Plex already supports this.  If you have multiple versions of the same title, Plex should try to select the one that more closely matches the client's request.  Plex will not, however, pre-trancode the files for you.  That's a task you'll have to do.

Transcode caching, both as short (local cache) and long term (flush local cache to NAS if the entire title was transcoded) would be helpful.

jkiel,

I do this myself generating different versions of files to save on transcoding since I often stream to so many clients at one time. Ā I talk about this in the thread in my sig. Ā I'm also thinking of just busting out a long day and whip up a distributed encoder that will drop in for Plex use. Ā Pretty sure I could knock this out in 5 or 6 hours for my own use and then maybe make it configurable and generic so anyone could use it.

Carlo

I came across this while looking for a way to distribute video encoding. It is MS Windows based but interesting implementation.

http://forum.doom9.org/showthread.php?t=127611

I lot of Plex Ops use that program Ray.

But this is different than what people want here for on the fly transcoding.

I think even something along the lines of a 'backup' server would be manageable for now.

Currently i have set up two instances of plex server and have some users on one, and some on another. This means though that all metadata & database data needs to be stored twice for the exact same thing, which is frustrating.

Even if it had a backup server toggle, which basically let it get all information from the primary server it would be okay - However right now video files are getting so big and heavy duty to transcode its becoming an issue. & with 4k videos starting to arrive this will be a big issue to some people soon enough. Would love if plex were a step ahead in this regard

4K video and h.265 will put a hurting on transcoding big time!

The main problem with trying to pull the database down from the main server is that non of the watched status from the secondary server will get kept as it will get over-written.

There is no easy way around this using sqlite. If Plex down the road was ported to use MySQL or similar we could have multiple Plex Servers pointed to the same database which would allow us to scale out to a much greater degree as well as make 3rd party data access so much easier!

Carlo

I would like to voice my support for such a feature! I hope Plex makes something like this happen. It would be great to be able to just install something everywhere and add to the transcoding ability.Ā 

if anyone is still interested in this request check this out!

1 Like

+1

PRT isn’t working for me at the moment and I’d love to be able to offload some of the pre-optimization of my library to a PC, just to help churn through it all.

+1 for me also

+1 for me

PRT is not for me, i would lije use it with many rasp

My PMS is running on my TS140 currently which also handles TVHeadEnd, MCEBuddy, TeamSpeak, Mumble, and a half dozen other services . I’m running Server2012r2+Ubuntu16.04 in a VM currently, switching to ESXI + Win7 VM + Ubuntu 16.04 VM or Debian once I get drive space to offload and reformat . This works smoothly normally, but if I’m transcoding in Plex, transcoding from TVHeadEnd (hopefully Plex DVR can kill this for me), transcoding and stripping commercials with MCEBuddy, etc.all the the same time performance begins to choke as you’d expect. I have a ShieldTV as well as a gaming desktop that would be able to offer ample overflow transcoding power if the backend was in place. The ShieldTV is always available, and the desktop would require a WOL.

@flecom said:
if anyone is still interested in this request check this out!

https://forums.plex.tv/discussion/178320/plex-remote-transcoder-a-distributed-transcoding-backend-for-plex/p1

That project is interesting but I think it might be easier for Plex Devs to just create a program with just the stuff needed to transcode a stream that can be installed on any computers on the local net. Each would be given a Priority number based on power/performance.

When a stream is requested Plex will look to see what transcoders are available locally and use the idle one with the highest priority until all are doing a transcode.

All that would require is the FFMPEG software and some background communication with the server.

I would love to see this soon. I have tons of CPU cores in other boxes which could be used to help handle my transcoding load.

+1

Would love this as I have multiple computers with lots of idle time that they could use encoding. My NAS just serves as a storage place for my files while I have a desktop machine hosting the server. I would love to be able to add some of my other desktop machines in as transcode agents to help out when too many people are requesting my files. My machine is supplying for multiple types of platforms (some remote some local).

+1
My media server doesn’t have the beefiest CPU, but I have other systems sitting around that could take the load off, or even do better. I can appreciate a project like PRT but it strikes me as not something I’d want to use as it sounds like it takes a lot of work to set up, administer and maintain, especially since new versions of PMS apparently break it. The beauty of Plex is that you set it up and it ā€œjust worksā€. It’d be amazing if the Plex devs could add in distributed transcoding in a manner that more or less ā€œjust worksā€!

+1
This would solve many issues of using a NAS

+1 lets keep this going.