Thanks, Now I can see what’s happening.
- You’re playing a HEVC stream
- Transcoding is being required: target doesn’t support HEVC video
- Transcoding audio is required: target doesn’t support EAC3 audio
- CPU doesn’t have HEVC capability (it’s an i7-4xxx). i7-7xxx / -8xxx is required for HEVC hardware acceleration.
Apr 03, 2020 16:25:57.903 [0x7f5ac3b08700] INFO - Plex Media Server v1.18.9.2578-513b381af - Ubuntu PC x86_64 - build: linux-x86_64 debian - GMT 00:00
Apr 03, 2020 16:25:57.904 [0x7f5ac3b08700] INFO - Linux version: 18.04.4 LTS (Bionic Beaver), language: en-US
Apr 03, 2020 16:25:57.904 [0x7f5ac3b08700] INFO - Processor Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz
This is being slow because the CPU is doing all the lifting.
You are getting hardware assist on the H.264 encoding.
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: Selected protocol dash; container: mp4
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: analyzing media item 5107
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: E12 - Cabin: Direct Play is disabled
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: E12 - Cabin: media must be transcoded in order to use the dash protocol
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: E12 - Cabin: no direct play video profile exists for http/mkv/hevc
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: E12 - Cabin: no direct play video profile exists for http/mkv/hevc/eac3
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: E12 - Cabin: no remuxable profile found, so video stream will be transcoded
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - MDE: Cannot direct stream video stream due to profile or setting limitations
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - Codecs: testing hevc (decoder) with hwdevice vaapi
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Apr 05, 2020 18:52:35.458 [0x7f5a727fc700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so init failed
Apr 05, 2020 18:52:35.459 [0x7f5a727fc700] DEBUG - Codecs: Testing with profile 'Main'
Apr 05, 2020 18:52:35.474 [0x7f5a727fc700] DEBUG - Scaled up video bitrate to 18589Kbps based on 4.500000x fudge factor.
Apr 05, 2020 18:52:35.474 [0x7f5a727fc700] DEBUG - MDE: Cannot direct stream audio stream due to codec eac3 when profile only allows aac
Apr 05, 2020 18:52:35.475 [0x7f5a727fc700] DEBUG - MDE: New Girl - S2 E12 - Cabin: selected media 0 / 5107
Apr 05, 2020 18:52:35.475 [0x7f5a727fc700] DEBUG - Streaming Resource: Adding session 0x7f5a3c114010:qlfd278mwyggunscvhvqywle which is using transcoder slot. Used slots is now 1
Apr 05, 2020 18:52:35.475 [0x7f5a727fc700] DEBUG - Streaming Resource: Added session 0x7f5a3c114010:qlfd278mwyggunscvhvqywle
Apr 05, 2020 18:52:35.475 [0x7f5a727fc700] DEBUG - Streaming Resource: Reached Decision id=3747 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. Direct play is disabled. Transcode=1001,Direct play not available; Conversion OK.) media=(id=5107 part=(id=5112 decision=transcode container=mp4 protocol=dash streams=(Video=(id=13926 decision=transcode bitrate=18589 encoder=h264_vaapi width=1920 height=1080) Audio=(id=13927 decision=transcode bitrate=256 encoder=aac channels=2 rate=48000))))
Apr 05, 2020 18:52:35.476 [0x7f5abaa92700] DEBUG - Completed: [192.168.86.84:49634] 200 GET /video/:/transcode/universal/decision?hasMDE=1&path=%2Flibrary%2Fmetadata%2F3747&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=v14whcanfq2g7th7c2tagrq9&subtitles=burn&Accept-Language=en-GB (9 live) TLS GZIP 40ms 1619 bytes (pipelined: 2)
Apr 05, 2020 18:52:35.566 [0x7f5abaa92700] DEBUG - Auth: authenticated user 1 as simondrake1990+plex@gmail.com
Apr 05, 2020 18:52:35.567 [0x7f5a297fa700] DEBUG - Request: [192.168.86.84:49634 (Allowed Network (Subnet))] GET /video/:/transcode/universal/start.mpd?hasMDE=1&path=%2Flibrary%2Fmetadata%2F3747&mediaIndex=0&partIndex=0&protocol=dash&fastSeek=1&directPlay=0&directStream=1&subtitleSize=100&audioBoost=100&location=lan&addDebugOverlay=0&autoAdjustQuality=0&directStreamAudio=1&mediaBufferSize=102400&session=v14whcanfq2g7th7c2tagrq9&subtitles=burn&Accept-Language=en-GB (9 live) TLS GZIP Signed-in Token (simondrake1990+plex@gmail.com)
Apr 05, 2020 18:52:35.567 [0x7f5a297fa700] DEBUG - Found session GUID of v14whcanfq2g7th7c2tagrq9 in session start.
Apr 05, 2020 18:52:35.567 [0x7f5a297fa700] DEBUG - TranscodeUniversalRequest: using augmented profile Web
Apr 05, 2020 18:52:35.567 [0x7f5a297fa700] DEBUG - Downloading document http://127.0.0.1:32400/library/metadata/3747?checkFiles=1&includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=qlfd278mwyggunscvhvqywle
Apr 05, 2020 18:52:35.567 [0x7f5a297fa700] DEBUG - Auth: authenticated user 1 as simondrake1990+plex@gmail.com
Apr 05, 2020 18:52:35.572 [0x7f5a297fa700] DEBUG - We're going to try to auto-select an audio stream for account 1.
Apr 05, 2020 18:52:35.572 [0x7f5a297fa700] DEBUG - Selecting best audio stream for part ID 5112 (autoselect: 0 language: en)
Apr 05, 2020 18:52:35.572 [0x7f5a297fa700] DEBUG - Audio Stream: 13927, Subtitle Stream: -1
Apr 05, 2020 18:52:35.573 [0x7f5a297fa700] DEBUG - Found session GUID of v14whcanfq2g7th7c2tagrq9 in session start.
Apr 05, 2020 18:52:35.573 [0x7f5a297fa700] DEBUG - Cleaning directory for session v14whcanfq2g7th7c2tagrq9 ()
Apr 05, 2020 18:52:35.573 [0x7f5a297fa700] DEBUG - Starting a transcode session v14whcanfq2g7th7c2tagrq9 at offset -1.0 (state=3)
Apr 05, 2020 18:52:35.574 [0x7f5a297fa700] DEBUG - TPU: hardware transcoding: using hardware decode accelerator vaapi
Apr 05, 2020 18:52:35.574 [0x7f5a297fa700] DEBUG - [Universal] Using local file path instead of URL: /nas/TV/New Girl/Season 2/New.Girl.S02E12.Cabin.1080p.AMZN.WEB-DL.DDP5.1.H265-SiGMA.mkv
Apr 05, 2020 18:52:35.574 [0x7f5a297fa700] DEBUG - TPU: hardware transcoding: zero-copy support present
Apr 05, 2020 18:52:35.574 [0x7f5a297fa700] DEBUG - TPU: hardware transcoding: using zero-copy transcoding
Apr 05, 2020 18:52:35.574 [0x7f5a297fa700] DEBUG - Codecs: hardware transcoding: testing API vaapi
Apr 05, 2020 18:52:35.575 [0x7f5a297fa700] ERROR - [FFMPEG] - libva: /usr/lib/plexmediaserver/lib/dri/iHD_drv_video.so init failed
Apr 05, 2020 18:52:35.591 [0x7f5a297fa700] DEBUG - TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Apr 05, 2020 18:52:35.591 [0x7f5a297fa700] DEBUG - Job running: EAE_ROOT='/tmp/pms-619be310-93c6-478c-b28c-0aadade1d3c3/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/99c90e0-3084-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:0' 'hevc' '-hwaccel:0' 'vaapi' '-hwaccel_fallback_threshold:0' '10' '-hwaccel_output_format:0' 'vaapi' '-codec:1' 'eac3_eae' '-eae_prefix:1' 'v14whcanfq2g7th7c2tagrq9_' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/nas/TV/New Girl/Season 2/New.Girl.S02E12.Cabin.1080p.AMZN.WEB-DL.DDP5.1.H265-SiGMA.mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=1920:h=1080:format=nv12[1];[1]hwupload[2]' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':osr=48000[3]' '-map' '[2]' '-codec:0' 'h264_vaapi' '-b:0' '13941k' '-maxrate:0' '18589k' '-bufsize:0' '37178k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,0+n_forced*1)' '-map' '[3]' '-metadata:s:1' 'language=eng' '-codec:1' 'aac' '-b:1' '256k' '-f' 'dash' '-seg_duration' '1' '-init_seg_name' 'init-stream$RepresentationID$.m4s' '-media_seg_name' 'chunk-stream$RepresentationID$-$Number%05d$.m4s' '-window_size' '5' '-delete_removed' 'false' '-skip_to_segment' '1' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/v14whcanfq2g7th7c2tagrq9/780c8c4c-e36f-40ff-9fd0-5f3d0d4412c8/manifest?X-Plex-Http-Pipeline=infinite' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'dash' '-start_at_zero' '-copyts' '-vsync' 'cfr' '-y' '-init_hw_device' 'vaapi=vaapi:' '-hwaccel_device' 'vaapi' '-filter_hw_device' 'vaapi' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/v14whcanfq2g7th7c2tagrq9/780c8c4c-e36f-40ff-9fd0-5f3d0d4412c8/progress'
Apr 05, 2020 18:52:35.591 [0x7f5a297fa700] DEBUG - Jobs: Starting child process with pid 31082