Jump to content
Saken

Transcoding

22 posts in this topic Last Reply

Recommended Posts

So was going to transcode with ram but noticed it was no longer working. So im trying to get it working with ssd but even though i have the dir set its not transcoding there ideas?

 

Edited by Saken

Share this post


Link to post
23 minutes ago, Saken said:

So just got my system up and running and working on trying to get it to transcode plex threw ram how do i know if it working

 

Are you trying to transcode in hardware (iGPU) or software (CPU)?

 

Transcoding in RAM (I am doing this) is simply a matter of, within the Plex docker, mapping the container path of /transcode (or something similar) to a host path of /tmp (or any path not in the array file system).

 

If it is working in RAM you will see the transcoding sessions being created in real time in {/tmp}/Transcode/Sessions folder

 

If you specify no transcode volume mapping, Plex will automatically transcode to the Plex appdata/Library/Application Support/... folder.  If your appdata share is on the cache drive and your cache drive is an SSD, it will transcode to SSD.

Share this post


Link to post

well i have it set at /tmp right now as we speak and i didnt notice any difference under my memory load so was not sure it was working. Then i saw article saying it was no longer supported so i figured that it was not. Were do i see the /tmp/transcode session folder at?

 

Share this post


Link to post
1 minute ago, Saken said:

well i have it set at /tmp right now as we speak and i didnt notice any difference under my memory load so was not sure it was working. Then i saw article saying it was no longer supported so i figured that it was not. Were do i see the /tmp/transcode session folder at?

 

On the unRAID console, terminal session from the GUI, PuTTY/SSH session, etc. type 'cd /tmp/Transcode/Sessions' then do a directory listing.

 

Here is what is going on in my transcode session folder right now:

 

image.png.ae6167d39dc5f6c90f4fae2bc47af2ad.png

Share this post


Link to post
1 minute ago, Saken said:

ok so when i do the directory listing nothing comes up

 

Perhaps it is not properly configured in your Plex docker/Plex?

 

Here is my Plex /transcode volume mapping:

 

image.png.381ec2e4ed275270f9f6abb763e9f0a6.png

 

 

And in Plex, the Transcoder temporary directory is set to /transcode

 

image.png.54b5d37590af85802139b66908e83c6b.png

 

Share this post


Link to post

so i reinstalled the docker and put in the setting just like you did now when i put in the cd /tmp/Transcode/Sessions it says that no such file or directory

 

Share this post


Link to post
2 minutes ago, Saken said:

but i see tmp in my appdata on my array?

Then, again, you likely have something misconfigured in the docker.  Which Plex docker are you using?

 

Post your docker run command as explained in the linked discussion.

 

 

Share this post


Link to post

uh pretty confused on that on im using the official docker with 100m downloads

Share this post


Link to post

sorry its taking me so long im deleting all the old installs of plex doing a nice clean install and then grabbing the command line while thats running

 

Share this post


Link to post

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='PlexMediaServer' --net='host' -e TZ="America/New_York" -e HOST_OS="Unraid" -e 'PLEX_CLAIM'='Insert Token from https://plex.tv/claim' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -v '/tmp':'/transcode':'rw' -v '/mnt/user/Plex Media/':'/data':'rw' -v '/mnt/user/appdata/PlexMediaServer':'/config':'rw' 'plexinc/pms-docker'

46bd1cc7c5bad27bc670dd39295674f54112d08f154ea35ed6f8cd7275b4440e

The command finished successfully!

Share this post


Link to post

now i cant even get the plex server to boot properly doesnt even show up...

 

Share this post


Link to post

ok so i got plex up and running again and it does look like activity one my ram!!! however i put on 2 diff shows on 2 diff machines and it still only shows up as 1 transcode instead of 2 is that normal?

 

Share this post


Link to post

acually it looks like only watching on pc is transcoding to ram my tv doesnt show anything o o

 

Share this post


Link to post

yup confirmed only 1 device is transcoding threw the ram the rest show nothing

 

Share this post


Link to post

You have to be careful if you're transcoding to RAM while using the Plex DVR. I learned this the hard way. Basically while Plex is recording something it is also "transcoding" it to break it up into streamable sections. It does this so that just in case you want to watch while it's still recording. The rub though is that depending on your amount of RAM this can quickly fill it up. I had several recordings fail before I figured out what was actually going on.

Share this post


Link to post
10 hours ago, Saken said:

yup confirmed only 1 device is transcoding threw the ram the rest show nothing

 

Not everything has to be transcoded.  If the client can direct play the content because it is in a natively supported format, no transcoding takes place.  It could be that only one device needs to transcode the content and the other(s) can direct play most content. 

 

nVidia Shield for example can direct play just about anything and Plex rarely needs to transcode content streamed to the Shield. 

 

My FireTV direct plays most of my content (1080p or less) to the TV and rarely transcodes

 

I generally only see transcoding on content being played remotely or on certain mobile devices. 

 

What I posted in my transcoding screenshot last night was two transcodes taking place for remotely streamed content and the Plex DVR recording simultaneously.

Share this post


Link to post

I did get it working  and it took me a little bit to figure out that no transcode is good lol. So it does work now xd thank you so much :)

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now