Server Version#: 1.18.1.1973
Player Version#: 4.10.1 (web)
I’ve been following along on some other threads around a hw-transcoding issue when I noticed that none of my media is currently hardware transcoding using my QNAP T1282T i5 16g
I wasn’t sure which log files were needed, so if someone wouldn’t mind guiding me what would help here. I grabbed a piece of the log from when I forced transcoding to occur. It almost appears that transcoding is working, but in the UI I’m not seeing it reflected? Attached the XML for the file I played as well.
Thanks in advance for any assistance, and I’m happy to provide cleaner logs as needed.

Oct 23, 2019 14:25:20.399 [0x7fdf21cd7700] Debug — Codecs: testing h264 (decoder) with hwdevice vaapi
Oct 23, 2019 14:25:20.401 [0x7fdf21cd7700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:20.418 [0x7fdf21cd7700] Debug — Codecs: testing h264 (decoder) with hwdevice vaapi
Oct 23, 2019 14:25:20.427 [0x7fdf21cd7700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:20.442 [0x7fdf21cd7700] Debug — Codecs: testing h264 (decoder) with hwdevice vaapi
Oct 23, 2019 14:25:20.442 [0x7fdf21cd7700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:20.455 [0x7fdf21cd7700] Debug — Codecs: testing h264 (decoder) with hwdevice vaapi
Oct 23, 2019 14:25:20.456 [0x7fdf21cd7700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:20.462 [0x7fdf21cd7700] Debug — Codecs: testing h264 (decoder) with hwdevice vaapi
Oct 23, 2019 14:25:20.464 [0x7fdf21cd7700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:20.484 [0x7fdf21cd7700] Debug — Codecs: testing h264 (decoder) with hwdevice vaapi
Oct 23, 2019 14:25:20.496 [0x7fdf21cd7700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:20.515 [0x7fdf21cd7700] Debug — Streaming Resource: Reached Decision id=554584 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=2565380 part=(id=2574185 decision=transcode container=mp4 protocol=dash streams=(Video=(id=5780699 decision=transcode bitrate=1290 encoder=h264_vaapi width=720 height=406) Audio=(id=5780700 decision=transcode bitrate=128 encoder=aac channels=2 rate=48000))))
Oct 23, 2019 14:25:20.671 [0x7fdecf735700] Debug — TPU: hardware transcoding: using hardware decode accelerator vaapi
Oct 23, 2019 14:25:20.676 [0x7fdecf735700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:20.680 [0x7fdecf735700] Debug — TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Oct 23, 2019 14:25:20.693 [0x7fdecf735700] Debug — Job running: EAE_ROOT=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-c14805d1-32d8-4226-a70b-654d0f39ec79/EasyAudioEncoder’ FFMPEG_EXTERNAL_LIBS=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/395e79c-2735-linux-x86_64/’ XDG_CACHE_HOME=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache’ XDG_DATA_HOME=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources’ X_PLEX_TOKEN=‘xxxxxxxxxxxxxxxxxxxx’ ‘/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Transcoder’ ‘-codec:#0x01’ ‘h264’ ‘-hwaccel:#0x01’ ‘vaapi’ ‘-hwaccel_fallback_threshold:#0x01’ ‘10’ ‘-hwaccel_output_format:#0x01’ ‘vaapi’ ‘-codec:#0x02’ ‘aac’ ‘-analyzeduration’ ‘20000000’ ‘-probesize’ ‘20000000’ ‘-i’ ‘/share/CACHEDEV1_DATA/PlexMount/TV/The Righteous Gemstones/Season 1/The Righteous Gemstones - s01e02.m4v’ ‘-filter_complex’ ‘[0:#0x01]hwupload[0];[0]scale_vaapi=w=720:h=406:format=nv12[1];[1]hwupload[2]’ ‘-filter_complex’ ‘[0:#0x02] aresample=async=1:ocl=’’‘stereo’’’:osr=48000[3]’ ‘-map’ ‘[2]’ ‘-metadata:s:0’ ‘language=eng’ ‘-codec:0’ ‘h264_vaapi’ ‘-b:0’ ‘967k’ ‘-maxrate:0’ ‘1290k’ ‘-bufsize:0’ ‘2580k’ ‘-r:0’ ‘23.975999999999999’ ‘-force_key_frames:0’ ‘expr:gte(t,0+n_forced8)’ ‘-map’ ‘[3]’ ‘-metadata:s:1’ ‘language=eng’ ‘-codec:1’ ‘aac’ ‘-b:1’ ‘128k’ ‘-f’ ‘dash’ ‘-seg_duration’ ‘8’ ‘-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/9ozizcgj8jkc4hjs8d7ayqeo/6cd471bd-8e80-4f20-8604-87ecb191eb8b/manifest’ ‘-avoid_negative_ts’ ‘disabled’ ‘-map_metadata’ ‘-1’ ‘-map_chapters’ ‘-1’ ‘dash’ ‘-start_at_zero’ ‘-copyts’ ‘-vsync’ ‘cfr’ ‘-y’ ‘-init_hw_device’ ‘vaapi=vaapi:,driver=iHD,kernel_driver=i915’ ‘-hwaccel_device’ ‘vaapi’ ‘-filter_hw_device’ ‘vaapi’ ‘-nostats’ ‘-loglevel’ ‘quiet’ ‘-loglevel_plex’ ‘error’ ‘-progressurl’ ‘http://127.0.0.1:32400/video/:/transcode/session/9ozizcgj8jkc4hjs8d7ayqeo/6cd471bd-8e80-4f20-8604-87ecb191eb8b/progress’
Oct 23, 2019 14:25:21.227 [0x7fdf23735700] Error — [Transcoder] [h264_vaapi @ 0x2042b80] Failed to end picture encode issue: 24 (internal encoding error).
Oct 23, 2019 14:25:21.229 [0x7fdf21cd7700] Error — [Transcoder] [h264_vaapi @ 0x2042b80] Encode failed: -5.
Oct 23, 2019 14:25:21.263 [0x7fdec61c9700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:21.278 [0x7fdec61c9700] Debug — Job running: EAE_ROOT=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-c14805d1-32d8-4226-a70b-654d0f39ec79/EasyAudioEncoder’ FFMPEG_EXTERNAL_LIBS=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/395e79c-2735-linux-x86_64/’ XDG_CACHE_HOME=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache’ XDG_DATA_HOME=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources’ X_PLEX_TOKEN=‘xxxxxxxxxxxxxxxxxxxx’ ‘/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Transcoder’ ‘-codec:#0x01’ ‘h264’ ‘-codec:#0x02’ ‘aac’ ‘-analyzeduration’ ‘20000000’ ‘-probesize’ ‘20000000’ ‘-i’ ‘/share/CACHEDEV1_DATA/PlexMount/TV/The Righteous Gemstones/Season 1/The Righteous Gemstones - s01e02.m4v’ ‘-filter_complex’ ‘[0:#0x01]scale=w=720:h=406[0];[0]format=pix_fmts=yuv420p|nv12[1]’ ‘-filter_complex’ ‘[0:#0x02] aresample=async=1:ocl=’’‘stereo’’’:osr=48000[2]’ ‘-map’ ‘[1]’ ‘-metadata:s:0’ ‘language=eng’ ‘-codec:0’ ‘libx264’ ‘-crf:0’ ‘22’ ‘-maxrate:0’ ‘1290k’ ‘-bufsize:0’ ‘2580k’ ‘-r:0’ ‘23.975999999999999’ ‘-preset:0’ ‘veryfast’ ‘-x264opts:0’ ‘subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none’ ‘-force_key_frames:0’ 'expr:gte(t,0+n_forced8)’ ‘-map’ ‘[2]’ ‘-metadata:s:1’ ‘language=eng’ ‘-codec:1’ ‘aac’ ‘-b:1’ ‘128k’ ‘-f’ ‘dash’ ‘-seg_duration’ ‘8’ ‘-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/9ozizcgj8jkc4hjs8d7ayqeo/6cd471bd-8e80-4f20-8604-87ecb191eb8b/manifest’ ‘-avoid_negative_ts’ ‘disabled’ ‘-map_metadata’ ‘-1’ ‘-map_chapters’ ‘-1’ ‘dash’ ‘-start_at_zero’ ‘-copyts’ ‘-vsync’ ‘cfr’ ‘-y’ ‘-init_hw_device’ ‘vaapi=vaapi:,driver=iHD,kernel_driver=i915’ ‘-hwaccel_device’ ‘vaapi’ ‘-filter_hw_device’ ‘vaapi’ ‘-nostats’ ‘-loglevel’ ‘quiet’ ‘-loglevel_plex’ ‘error’ ‘-progressurl’ ‘http://127.0.0.1:32400/video/:/transcode/session/9ozizcgj8jkc4hjs8d7ayqeo/6cd471bd-8e80-4f20-8604-87ecb191eb8b/progress’
Oct 23, 2019 14:25:26.369 [0x7fdf53422700] Debug — Codecs: hardware transcoding: testing API vaapi
Oct 23, 2019 14:25:26.373 [0x7fdf53422700] Debug — Job running: EAE_ROOT=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/tmp/pms-c14805d1-32d8-4226-a70b-654d0f39ec79/EasyAudioEncoder’ FFMPEG_EXTERNAL_LIBS=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex\ Media\ Server/Codecs/395e79c-2735-linux-x86_64/’ XDG_CACHE_HOME=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Library/Plex Media Server/Cache’ XDG_DATA_HOME=’/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Resources’ X_PLEX_TOKEN=‘xxxxxxxxxxxxxxxxxxxx’ ‘/share/CACHEDEV1_DATA/.qpkg/PlexMediaServer/Plex Transcoder’ ‘-codec:#0x01’ ‘h264’ ‘-codec:#0x02’ ‘aac’ ‘-ss’ ‘88’ ‘-analyzeduration’ ‘20000000’ ‘-probesize’ ‘20000000’ ‘-i’ ‘/share/CACHEDEV1_DATA/PlexMount/TV/The Righteous Gemstones/Season 1/The Righteous Gemstones - s01e02.m4v’ ‘-filter_complex’ ‘[0:#0x01]scale=w=720:h=406[0];[0]format=pix_fmts=yuv420p|nv12[1]’ ‘-filter_complex’ ‘[0:#0x02] aresample=async=1:ocl=’’‘stereo’’’:osr=48000[2]’ ‘-map’ ‘[1]’ ‘-metadata:s:0’ ‘language=eng’ ‘-codec:0’ ‘libx264’ ‘-crf:0’ ‘22’ ‘-maxrate:0’ ‘1290k’ ‘-bufsize:0’ ‘2580k’ ‘-r:0’ ‘23.975999999999999’ ‘-preset:0’ ‘veryfast’ ‘-x264opts:0’ ‘subme=2:me_range=4:rc_lookahead=10:me=dia:no_chroma_me:8x8dct=0:partitions=none’ ‘-force_key_frames:0’ ‘expr:gte(t,88+n_forced*8)’ ‘-map’ ‘[2]’ ‘-metadata:s:1’ ‘language=eng’ ‘-codec:1’ ‘aac’ ‘-b:1’ ‘128k’ ‘-f’ ‘dash’ ‘-seg_duration’ ‘8’ ‘-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’ ‘12’ ‘-time_delta’ ‘0.0625’ ‘-manifest_name’ ‘http://127.0.0.1:32400/video/:/transcode/session/9ozizcgj8jkc4hjs8d7ayqeo/fec09745-886e-4e9c-b63c-bbd4cfba0999/manifest’ ‘-avoid_negative_ts’ ‘disabled’ ‘-map_metadata’ ‘-1’ ‘-map_chapters’ ‘-1’ ‘dash’ ‘-start_at_zero’ ‘-copyts’ ‘-y’ ‘-init_hw_device’ ‘vaapi=vaapi:,driver=iHD,kernel_driver=i915’ ‘-hwaccel_device’ ‘vaapi’ ‘-filter_hw_device’ ‘vaapi’ ‘-nostats’ ‘-loglevel’ ‘quiet’ ‘-loglevel_plex’ ‘error’ ‘-progressurl’ ‘http://127.0.0.1:32400/video/:/transcode/session/9ozizcgj8jkc4hjs8d7ayqeo/fec09745-886e-4e9c-b63c-bbd4cfba0999/progress’