Plex: Guide to Moving Transcoding to RAM


Recommended Posts

On 12/15/2023 at 10:17 PM, craigr said:

 

My go file PLEX lines:

 

#Limit PLEX Transcode RAM Drive Size
mkdir /tmp/PlexRamScratch
chmod -R 777 /tmp/PlexRamScratch
mount -t tmpfs -o size=32g tmpfs /tmp/PlexRamScratch

 

image.thumb.png.022f2d3f5777ea953665c964f5995fbf.png

 

image.thumb.png.743c30210d79b596401e05bafba12161.png

 

image.thumb.png.ffc33220609d5a7ad3256716be31db34.png

 

I do not have any extra parameters.  I am however using the Intel IGPU not Nvidia.

 

Good luck!

Thanks for the writeup, what about adding in a script to check every 24h for files older than 24h and delete them? I just checked my ram transcoding folder and indeed didn't clean up properly after the last transcode. 

Link to comment

so i'm trying to move transcode to RAM to see if it works better like everyone says.  im using the below documentation to do the settings.

 

https://github.com/binhex/documentation/blob/master/docker/faq/plex.md

 

however, everytime i change and apply the settings the entire plex container disappears from the docker.  i have to change the settings back to my ssd for transcode for it to reappear and work again.  is there something i'm doing wrong or missing?  i have transcode settings in plex set to /transcode even after i change the container settings.

 

any advice is appreciated.

Link to comment
29 minutes ago, trurl said:

post

thank you for this.  i will try again after i do a full backup of the appdata section.  i want to make sure i have the pms db backed up before trying to change the paths again, then i will run all logs to post.

 

appreciate you.

Link to comment
  • 4 weeks later...

Forgive me if this has already been asked, but when transcoding in the RAM, should you see (hw) for transcodes? I have everything configured as the guide suggests but no extra parameters, and no GPU. My CPU is 2x E5-2697v2's (no iGPU). When I do a test transcode it just says transcoding, without the (hw). I am a PlexPass subscriber, on the latest PMS, and my transcode directory is set to /transcode which maps to /tmp/PlexRamScratch (using the go file posted).

Link to comment
14 hours ago, thisguyneedsabeer said:

but when transcoding in the RAM, should you see (hw) for transcodes?

doesnt matter if RAM or disk, hw transcode means GPU usage ,,,

 

14 hours ago, thisguyneedsabeer said:

and no GPU. My CPU is 2x E5-2697v2's (no iGPU).

so, if you dont have any GPU (like a NV, AMD, ...) used for transcoding, and no iGPU ... hw do you expect to use hardware transcoding ? ;) when there is no hardware to transcode ... ;)

Link to comment
On 4/18/2024 at 3:45 AM, alturismo said:

doesnt matter if RAM or disk, hw transcode means GPU usage ,,,

 

so, if you dont have any GPU (like a NV, AMD, ...) used for transcoding, and no iGPU ... hw do you expect to use hardware transcoding ? ;) when there is no hardware to transcode ... ;)

That's what I was asking; does RAM count as hardware transcoding or is hardware transcoding strictly locked to iGPU/GPU?

Link to comment
6 minutes ago, thisguyneedsabeer said:

That's what I was asking; does RAM count as hardware transcoding or is hardware transcoding strictly locked to iGPU/GPU?

hardware transcoding means you transcode via gpu accel ... has nothing todo with RAM ...

 

moving transcoding to RAM is meant to prevent teardown from a disk ...

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.