@schawolf
I apologize for the delay.
-
Your CPU is a xeon D-1527. It does not have HW transcoding capability. It’s also not very fast with HEVC . Synology selected this CPU because of its low power operation. It’s not a bad CPU. It’s a GREAT CPU for a NAS. It’s not so great for trying to play HEVC content. H.264 is a whole differerent matter.
-
You are trying to play HEVC (Planet of the Apes)
-
It must be transcoded and tone mapped down to H.264
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Could not create hardware context for hevc
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Selected protocol dash; container: mp4
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: analyzing media item 33268
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Planet der Affen - Revolution (2014): Direct Play is disabled
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Planet der Affen - Revolution (2014): media must be transcoded in order to use the dash protocol
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Planet der Affen - Revolution (2014): no direct play video profile exists for http/mkv/hevc
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Planet der Affen - Revolution (2014): no direct play video profile exists for http/mkv/hevc/eac3
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Planet der Affen - Revolution (2014): no direct play video profile exists for http/mkv/hevc/eac3
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Planet der Affen - Revolution - video.bitDepth limitation applies: 10 > 8
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Planet der Affen - Revolution - video.bitDepth limitation applies: 10 > 8
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Planet der Affen - Revolution (2014): no remuxable profile found, so video stream will be transcoded
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: hardware transcoding: testing API nvenc
- There is no HW acceleration (QSV or Nvidia) available to use
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: hardware transcoding: testing API nvenc
Jul 12, 2023 10:32:03.295 [140681060526904] ERROR - [Req#3dbe7a/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 12, 2023 10:32:03.295 [140681060526904] ERROR - [Req#3dbe7a/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Could not create hardware context for h264_nvenc
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jul 12, 2023 10:32:03.295 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: testing hevc (decoder) with hwdevice vaapi
Jul 12, 2023 10:32:03.296 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: hardware transcoding: testing API vaapi
Jul 12, 2023 10:32:03.296 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 12, 2023 10:32:03.296 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Could not create hardware context for hevc
Jul 12, 2023 10:32:03.296 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
Jul 12, 2023 10:32:03.296 [140681060526904] DEBUG - [Req#3dbe7a/Transcode] Codecs: hardware transcoding: testing API nvdec
- Every possibility having been exhausted, it used Software Transcoding
(This is where the CPU’s weakness causes you problem)
Jul 12, 2023 10:32:03.435 [140681062636344] DEBUG - [Req#3dbe7e/Transcode] Found session GUID of wg9d9shvsr7p3j85xv779iaz in session start.
Jul 12, 2023 10:32:03.435 [140681062636344] DEBUG - [Req#3dbe7e/Transcode] Cleaning directory for session wg9d9shvsr7p3j85xv779iaz ()
Jul 12, 2023 10:32:03.436 [140681062636344] DEBUG - [Req#3dbe7e/Transcode] Starting a transcode session wg9d9shvsr7p3j85xv779iaz at offset -1.0 (state=3)
Jul 12, 2023 10:32:03.446 [140681062636344] DEBUG - [Req#3dbe7e/Transcode] TPU: hardware transcoding: enabled, but no hardware decode accelerator found
Jul 12, 2023 10:32:03.446 [140681062636344] DEBUG - [Req#3dbe7e/Transcode] [Universal] Using local file path instead of URL: /volume1/NAS/Medien/Filme/Filme - Teil 1/Planet der Affen/Planet der Affen - Revolution (2014)/Planet der Affen - Revolution (2014).mkv
Jul 12, 2023 10:32:03.446 [140681062636344] DEBUG - [Req#3dbe7e/Transcode] TPU: hardware transcoding: final decoder: , final encoder:
Jul 12, 2023 10:32:03.447 [140681062636344] DEBUG - [Req#3dbe7e/Transcode/JobRunner] Job running: EAE_ROOT=/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/tmp/pms-a60d5ab4-cf0c-46b4-91e7-7a3943e05f10/EasyAudioEncoder FFMPEG_EXTERNAL_LIBS='/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex\ Media\ Server/Codecs/8217c1c-4565-linux-x86_64/' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx "/volume1/@appstore/PlexMediaServer/Plex Transcoder" -codec:0 hevc -codec:1 eac3_eae -eae_prefix:1 wg9d9shvsr7p3j85xv779iaz_ -analyzeduration 20000000 -probesize 20000000 -i "/volume1/NAS/Medien/Filme/Filme - Teil 1/Planet der Affen/Planet der Affen - Revolution (2014)/Planet der Affen - Revolution (2014).mkv" -filter_complex "[0:0]scale=w=720:h=390:force_divisible_by=4[0];[0]format=pix_fmts=yuv420p|nv12[1]" -map "[1]" -codec:0 libx264 -crf:0 20 -maxrate:0 1716k -bufsize:0 3432k -r:0 23.975999999999999 -preset:0 veryfast -x264opts:0 subme=2:me_range=4:rc_lookahead=20:me=hex -force_key_frames:0 "expr:gte(t,n_forced*8)" -filter_complex "[0:1] aresample=async=1:ochl='stereo':rematrix_maxval=0.000000dB:osr=48000[2]" -map "[2]" -metadata:s:1 language=deu -codec:1 aac -b:1 167k -f dash -seg_duration 8 -dash_segment_type mp4 -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/wg9d9shvsr7p3j85xv779iaz/999fc3f7-53a0-4187-a849-6e944a70b029/manifest?X-Plex-Http-Pipeline=infinite" -avoid_negative_ts disabled -map_metadata -1 -map_chapters -1 dash -map 0:3 -metadata:s:0 language=deu -codec:0 ass -strict_ts:0 0 -f segment -segment_format ass -segment_time 1 -segment_header_filename sub-header -segment_start_number 0 -segment_list "http://127.0.0.1:32400/video/:/transcode/session/wg9d9shvsr7p3j85xv779iaz/999fc3f7-53a0-4187-a849-6e944a70b029/manifest?stream=subtitles&X-Plex-Http-Pipeline=infinite" -segment_list_type csv -segment_list_size 5 -segment_list_separate_stream_times 1 -segment_format_options ignore_readorder=1 -segment_list_unfinished 1 -fflags +flush_packets "sub-chunk-%05d" -start_at_zero -copyts -vsync cfr -y -nostats -loglevel quiet -loglevel_plex error -progressurl http://127.0.0.1:32400/video/:/transcode/session/wg9d9shvsr7p3j85xv779iaz/999fc3f7-53a0-4187-a849-6e944a70b029/progress
Jul 12, 2023 10:32:03.447 [140681062636344] DEBUG - [Req#3dbe7e/Transcode/JobRunner] In directory: "/var/packages/PlexMediaServer/shares/PlexMediaServer/AppData/Plex Media Server/Cache/Transcode/Sessions/plex-transcode-wg9d9shvsr7p3j85xv779iaz-999fc3f7-53a0-4187-a849-6e944a70b029"
- Almost immediately thereafter. subtitles are invoked. (Always software encoded/burned)
Jul 12, 2023 10:32:04.597 [140681449470776] DEBUG - [Req#3dbe6f] We're going to try to auto-select an audio stream for account 1.
Jul 12, 2023 10:32:04.597 [140681449470776] DEBUG - [Req#3dbe6f] Selecting best audio stream for part ID 343422 (language: de)
Jul 12, 2023 10:32:04.597 [140681449470776] DEBUG - [Req#3dbe6f] We're going to try to auto-select a subtitle.
Jul 12, 2023 10:32:04.597 [140681449470776] DEBUG - [Req#3dbe6f] Subtitles: Found a candidate subtitle language [de] for a foreign film
Jul 12, 2023 10:32:04.597 [140681449470776] DEBUG - [Req#3dbe6f] Audio Stream: 890379, Subtitle Stream: 890381
Jul 12, 2023 10:32:04.602 [140681449470776] DEBUG - [Req#3dbe6f] [Now] User is schawolf (ID: 1)
Jul 12, 2023 10:32:04.602 [140681449470776] DEBUG - [Req#3dbe6f] [Now] Device is Safari (Safari).
Jul 12, 2023 10:32:04.602 [140681449470776] DEBUG - [Req#3dbe6f] [Now] Profile is Web
The system comes to a screaming haul with the errors you see.
The passmarks for the D-1527 aren’t bad but without HW to assist, it won’t handle HEVC . Especially cannot handle HEVC HDR
https://www.cpubenchmark.net/cpu.php?cpu=Intel+Xeon+D-1527+%40+2.20GHz&id=3784