Transcode Drive

Hi

can anyone tell me how i can tell if Plex is using the 240gb SSD i put in for transcoding duty?
Most of the Transcoding is on the GPU and the feedback is it pauses once per film, so i was wondering if the SSD is even being used at all. Write life i dont care about write life really as its only while lock down is going on Family are using my server.

I increased the transcode throttle to 500 seconds but i have no idea if this transcode drive is even doing anything in my system.

i7 3770 4c 8t
16gb ram
ssd boot
ssd transcode
nas drives for storage
1050ti gpu

Ubuntu 18.04 lts

Server Version#:
Player Version#:

  1. I need to see the log files, captured immediately after a transcoding attempt

  2. DEBUG logging ON, VERBOSE logging OFF

  3. For future reference, Please do not tag server-linux-tips. This tag is used for helpful tips – not for problems/issues.

Here is the log - i wont add tips again i did think adding a transcode driver would be under tips as its an extra to the system.

If the SSD is not doing anything i can just pop it in a different server before i add my music collection to plex its been a journey using linux

Plex Media Server Logs_2020-05-01_07-49-43.zip (4.5 MB)

You have permission errors.

The transcoder temp directory doesn’t allow user plex to write to it.

com-plexapp-android&subtitleSize=100&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (20 live) TLS 9ms 425 bytes (range: bytes=0-) 
May 01, 2020 07:49:00.480 [0x7f8cfd527700] DEBUG - Auth: authenticated user 1 as perrymansmalley
May 01, 2020 07:49:00.480 [0x7f8cf65e1700] DEBUG - Request: [10.255.192.61:58176 (Subnet)] GET /statistics/bandwidth?timespan=6 (20 live) TLS GZIP Signed-in Token (perrymansmalley)
May 01, 2020 07:49:00.483 [0x7f8cfdd28700] DEBUG - Completed: [10.255.192.61:58176] 200 GET /statistics/bandwidth?timespan=6 (20 live) TLS GZIP 3ms 1442 bytes (pipelined: 41)
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - Request: [10.255.192.9:46886 (Subnet)] GET /video/:/transcode/universal/session/066bd77385a1c62e-com-plexapp-android/base/index.m3u8 (21 live) TLS Signed-in
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - Found session GUID of 066bd77385a1c62e-com-plexapp-android in session start.
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - Starting a transcode session 066bd77385a1c62e-com-plexapp-android at offset -1.0 (state=3)
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] ERROR - IsFileWritable: failed to create file '"/home/handofgod/Transcoder/93aa3f61-7460-41c8-a94a-ac6687b33129"'
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] WARN - IsDirWritable: directory '"/home/handofgod/Transcoder/"' is not writable
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: using hardware decode accelerator nvdec
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - [Universal] Using local file path instead of URL: /home/handofgod/Videos/Adult/Adult_Only/Legally.Blonde.2001.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: zero-copy support present
May 01, 2020 07:49:00.791 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: using zero-copy transcoding
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] DEBUG - TPU: hardware transcoding: final decoder: nvdec, final encoder: nvenc
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] ERROR - IsFileWritable: failed to create file '"/home/handofgod/Transcoder/f63228be-1e72-4975-a143-88b1a6ebd53d"'
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] WARN - IsDirWritable: directory '"/home/handofgod/Transcoder/"' is not writable
May 01, 2020 07:49:00.792 [0x7f8cfcd26700] DEBUG - Job running: EAE_ROOT='/tmp/pms-07fa3a48-d902-4da4-8408-911e5a0837d6/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/99c90e0-3095-linux-x86_64/' XDG_CACHE_HOME='/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache' XDG_DATA_HOME='/usr/lib/plexmediaserver/Resources' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:#0x01' 'h264' '-hwaccel:#0x01' 'nvdec' '-hwaccel_fallback_threshold:#0x01' '10' '-hwaccel_output_format:#0x01' 'cuda' '-codec:#0x02' 'aac_lc' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/home/handofgod/Videos/Adult/Adult_Only/Legally.Blonde.2001.REMASTERED.1080p.BluRay.H264.AAC-RARBG.mp4' '-filter_complex' '[0:#0x01]hwupload[0];[0]scale_cuda=w=1920:h=808:format=nv12[1]' '-filter_complex' '[0:#0x02] aresample=async=1:ocl='\''5.1'\'':osr=48000[2]' '-map' '[1]' '-codec:0' 'h264_nvenc' '-b:0' '2811k' '-maxrate:0' '3748k' '-bufsize:0' '7496k' '-forced-idr:0' '1' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,0+n_forced*3)' '-map' '[2]' '-metadata:s:1' 'language=eng' '-codec:1' 'aac' '-strict:1' 'experimental' '-aac_coder:1' 'fast' '-q:1' '0' '-segment_format' 'mpegts' '-f' 'ssegment' '-individual_header_trailer' '0' '-segment_time' '3' '-segment_start_number' '0' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/066bd77385a1c62e-com-plexapp-android/f36aaf5e-6ccd-4961-84dc-8c826bc8b804/seglist?X-Plex-Http-Pipeline=infinite' '-segment_list_type' 'csv' '-segment_list_size' '5' '-segment_list_separate_stream_times' '1' '-segment_list_unfinished' '1' '-max_delay' '5000000' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'media-%05d.ts' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-y' '-init_hw_device' 'cuda=cuda:' '-hwaccel_device' 'cuda' '-filter_hw_device' 'cuda' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/066bd77385a1c62e-com-plexapp-android/f36aaf5e-6ccd-4961-84dc-8c826bc8b804/progress'
May 01, 2020 07:49:00.793 [0x7f8cfcd26700] DEBUG - Jobs: Starting child process with pid 2437
1 Like

Thank you for this help.

i changed the /home/handofgod/transcoder folder to

sudo chown -R plex:plex /home/handofgod/transcoder
sudo chmod 755 -R /home/handofgod/transcoder

  • Changed the _R to -R just incase this works. No idea if it’s working still as the log files are crazy in volume and no idea which one to look at.

Plex Media Server Logs_2020-05-02_11-02-06.zip (3.6 MB)

Hopefully it was chown -R

1 Like

hopefully it works

just waiting for the Tv Tuner to arrive as this plex stuff isnt just buy a plex pass and its all unlocked but nothing worth having is easy

if its not actually doing anything i will prob pop the ssd in the nas server as a cashe drive

@ChuckPa any chance you can tell me which log file to look in as i still dont know if the drive is being used.

Plex Media Server Logs_2020-05-04_12-35-31.zip (3.8 MB)

This is what you’re looking for

Thank you @ChuckPa it looks like the sudo chown -R Plex:Plex worked and no eror lines on FFMPEG

Thank you for your help.

I’m sorry i didn’t jump on _R versus -R.

I had assumed a typing error while preparing for the R .

Yeah it was a typing error with the R i had used -R not _R

TV Tuner Arrives today so onwards and upwards

Again thank you for the help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.