Transcode temp directory on sd card or on external hdd

@uglymagoo can you advice me on transcode temp directory, is it better to be on sd card or on external hdd…i ask for two reasons…

  1. speed, which one is faster in sending that transcode files to player. My movies are in hdd
  2. i see in temp directory that so many small files are created, so sd card don’t like that, it will wear out more quickly?
    Also can you tell me what values are the best to put in transcode settings
    https://support.plex.tv/articles/200250347-transcoder/
    in transcoder default duration? also what Segmented transcoder timeout mean?

I will not transcode video but audio…I have samsung tv 2016 tv, and plex is unable to direct stream dts with subtitles, which i can direct play normally with dlna (also with dlna i can play every known video format, like 50 gb 4k movie with ease) but with plex i can’t… i tried one 4k movie on dlna, everything is ok, on plex i get some kind of picture artifacts…
Also two questions

  1. why when i transcode audio my cpu when i’m looking at htop is not overload heavily, but i have bufferings…
  2. many movies have dts or truehd and ac3 audio tracks… dts and truehd will transcode and ac3 will not… problem is ac3 is second track, and i can’t choose audio tracks before movie start (samsung tv app don’t have that option). How can i force plex to play ac3 track on default, if i can’t, is there some way to put ac3 to be first track?

Sorry for to many questions… thanks in advance…

@testplex1988 said:
@uglymagoo can you advice me on transcode temp directory, is it better to be on sd card or on external hdd…i ask for two reasons…

Speedwise, it should not matter if you have a decent sd card. In respect to the lifespan of your sd card, Linux and Plex are continuously writing log files to the sd card. This causes much more wear than the transcoding tmp data. But there is not harm in putting the tmp directory on the hdd. In summary: choose what location you like, it won’t matter much.

Also can you tell me what values are the best to put in transcode settings https://support.plex.tv/articles/200250347-transcoder/ in transcoder default duration? also what Segmented transcoder timeout mean?

Leave the advanced settings as they are. Only the quality settings are relevant. “Prefer higher speed encoding” and “Ultra fast”. But I am quite sure these settings only affect video transcoding, not audio.

why when i transcode audio my cpu when i’m looking at htop is not overload heavily, but i have bufferings…

Audio transcoding most likely only uses one CPU core → load in htop is low, but transcoding is still not fast enough for realtime transcoding.

many movies have dts or truehd and ac3 audio tracks… dts and truehd will transcode and ac3 will not… problem is ac3 is second track, and i can’t choose audio tracks before movie start (samsung tv app don’t have that option). How can i force plex to play ac3 track on default, if i can’t, is there some way to put ac3 to be first track?

I believe you only have the option to select the preferred language, not the audio format. You can pre-process your media files and remove the problematic track with ffmpeg or re-arrange the audio tracks. This does not re-encode your media, so it’s really fast. However, I am not sure if Plex always chooses the highest quality audio track or the first one in the container. Please try it out and report back :slight_smile:

For the sake of completion: with an RPi 3 you can also have the complete system on a USB drive.

@uglymagoo said:

@testplex1988 said:

many movies have dts or truehd and ac3 audio tracks… dts and truehd will transcode and ac3 will not… problem is ac3 is second track, and i can’t choose audio tracks before movie start (samsung tv app don’t have that option). How can i force plex to play ac3 track on default, if i can’t, is there some way to put ac3 to be first track?

I believe you only have the option to select the preferred language, not the audio format. You can pre-process your media files and remove the problematic track with ffmpeg or re-arrange the audio tracks. This does not re-encode your media, so it’s really fast. However, I am not sure if Plex always chooses the highest quality audio track or the first one in the container. Please try it out and report back :slight_smile:

I think you can use the web interface to select the audio stream for a movie. PMS will store that setting and use it latter with every device. I am quite sure that this works for audio stream of different language. And I guess PMS will only store the number of the stream.

However, you will have to do this individually for every movie item you add to your library.

Edit: scratch that. I misread the post.