@athines
This is weird but not uncommon with Ubuntu 21. I have no explanation either at this point. I don’t see it happen on Ubuntu 20.04.x LTS
I am not seeing subtitles involved.
Do you have a subtitle stream in the file which fails but not in the first ?
It works –
/Vault_3/Media/Movies/The Lord of the Rings - The Fellowship of the Ring (2001) (Extended Edition)/The Lord of the Rings The Fellowship of the Ring (2001) [Extended Edition] - Part1.mkv'
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] [FFMPEG] - Format 0x48323234 -> yuv422p.
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] [FFMPEG] - Format 0x56323234 -> yuv440p.
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] [FFMPEG] - Format 0x50343434 -> yuv444p.
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] [FFMPEG] - Format 0x33434d49 -> unknown.
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] [FFMPEG] - Format 0x30313050 -> p010le.
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] [FFMPEG] - Created surface 0.
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] [FFMPEG] - Direct mapping possible.
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6/JobRunner] Job running: EAE_ROOT='/tmp/pms-21374217-1a6e-474b-9da7-8c59f111f950/EasyAu'/Vault_3/Media/Movies/The Lord of the Rings - The Fellowship of the Ring (2001) (Extended Edition)/The Lord of the Rings The Fellowship of the Ring (2001) [Extended Edition] - Part1.mkv'dioEncoder' EnableExtendedVaFormats='1' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/fb9eae3-4185-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' NEOReadDebugKeys='1' 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' '-hwaccel_device:0' 'vaapi' '-codec:1' 'truehd_eae' '-eae_prefix:1' 'nu7k53w24oio4ag21e2gpug6_' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/Vault_3/Media/Movies/The Lord of the Rings - The Fellowship of the Ring (2001) (Extended Edition)/The Lord of the Rings The Fellowship of the Ring (2001) [Extended Edition] - Part1.mkv' '-filter_complex' '[0:0]hwupload[0];[0]scale_vaapi=w=2276:h=1280:format=p010[1];[1]hwmap=derive_device=opencl[2];[2]tonemap_opencl=tonemap=mobius:format=nv12:m=bt709:p=bt709:r=tv[3];[3]hwmap=derive_device=vaapi:reverse=1[4];[4]hwupload[5]' '-map' '[5]' '-metadata:s:0' 'language=eng' '-codec:0' 'h264_vaapi' '-b:0' '88875k' '-maxrate:0' '118501k' '-bufsize:0' '237002k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':rematrix_maxval=0.000000dB:osr=48000[6]' '-map' '[6]' '-metadata:s:1' 'language=eng' '-codec:1' 'libmp3lame' '-q:1' '0' '-segment_format' 'mpegts' '-f' 'ssegment' '-individual_header_trailer' '0' '-segment_time' '1' '-segment_start_number' '0' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-4082-4c17-a068-471c1f928651/manifest?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' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-4082-4c17-a068-471c1f928651/progress'
Dec 20, 2021 23:57:05.958 [0x7f9013b0eb38] DEBUG - [Transcode/nu7k53w24oio4ag21e2gpug6/JobRunner] Jobs: Starting child process with pid 168097
Dec 20, 2021 23:57:05.960 [0x7f9013ac2b38] DEBUG - Request: [127.0.0.1:51300 (Loopback)] PUT /video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-4082-4c17-a068-471c1f928651/progress?status=startup (13 live) Signed-in Token (athines) (range: bytes=0-)
Dec 20, 2021 23:57:05.960 [0x7f9014925b38] DEBUG - Completed: [127.0.0.1:51300] 204 PUT /video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-4082-4c17-a068-471c1f928651/progress?status=startup (13 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-)
Dec 20, 2021 23:57:05.962 [0x7f9013a9fb38] DEBUG - Request: [127.0.0.1:51300 (Loopback)] PUT /video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-4082-4c17-a068-471c1f928651/progress?status=startup (13 live) Signed-in Token (athines) (range: bytes=0-)
It fails –
'/Vault_3/Media/Movies/The Lord of the Rings - The Fellowship of the Ring (2001) (Extended Edition)/The Lord of the Rings The Fellowship of the Ring (2001) [Extended Edition] - Part1.mkv'
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x32315659 -> yuv420p.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x30323449 -> yuv420p.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x50313134 -> yuv411p.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x48323234 -> yuv422p.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x56323234 -> yuv440p.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x50343434 -> yuv444p.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x33434d49 -> unknown.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Format 0x30313050 -> p010le.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Created surface 0.
Dec 20, 2021 23:57:06.264 [0x7f9013a5eb38] DEBUG - [FFMPEG] - Direct mapping possible.
Dec 20, 2021 23:57:06.265 [0x7f9013a5eb38] DEBUG - TPU: hardware transcoding: final decoder: , final encoder:
Dec 20, 2021 23:57:06.265 [0x7f9013a5eb38] DEBUG - [JobRunner] Job running: EAE_ROOT='/tmp/pms-21374217-1a6e-474b-9da7-8c59f111f950/EasyAudioEncoder' FFMPEG_EXTERNAL_LIBS='/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/fb9eae3-4185-linux-x86_64/' LIBVA_DRIVERS_PATH='/usr/lib/plexmediaserver/lib/dri' X_PLEX_TOKEN='xxxxxxxxxxxxxxxxxxxx' '/usr/lib/plexmediaserver/Plex Transcoder' '-codec:0' 'hevc' '-codec:1' 'truehd_eae' '-eae_prefix:1' 'nu7k53w24oio4ag21e2gpug6_' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/Vault_3/Media/Movies/The Lord of the Rings - The Fellowship of the Ring (2001) (Extended Edition)/The Lord of the Rings The Fellowship of the Ring (2001) [Extended Edition] - Part1.mkv' '-filter_complex' '[0:0]scale=w=2276:h=1280:force_divisible_by=4[0];[0]format=p010,tonemap=mobius[1];[1]format=pix_fmts=yuv420p|nv12[2]' '-map' '[2]' '-metadata:s:0' 'language=eng' '-codec:0' 'libx264' '-crf:0' '16' '-maxrate:0' '118501k' '-bufsize:0' '237002k' '-r:0' '23.975999999999999' '-preset:0' 'veryfast' '-x264opts:0' 'subme=2:me_range=4:rc_lookahead=10:me=hex:8x8dct=1' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-filter_complex' '[0:1] aresample=async=1:ocl='\''stereo'\'':rematrix_maxval=0.000000dB:osr=48000[3]' '-map' '[3]' '-metadata:s:1' 'language=eng' '-codec:1' 'libmp3lame' '-q:1' '0' '-segment_format' 'mpegts' '-f' 'ssegment' '-individual_header_trailer' '0' '-segment_time' '1' '-segment_start_number' '0' '-segment_copyts' '1' '-segment_time_delta' '0.0625' '-segment_list' 'http://127.0.0.1:32400/video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-4082-4c17-a068-471c1f928651/manifest?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' '-init_hw_device' 'vaapi=vaapi:' '-filter_hw_device' 'vaapi' '-y' '-nostats' '-loglevel' 'quiet' '-loglevel_plex' 'error' '-progressurl' 'http://127.0.0.1:32400/video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-4082-4c17-a068-471c1f928651/progress'
Dec 20, 2021 23:57:06.265 [0x7f9013a5eb38] DEBUG - [JobRunner] Jobs: Starting child process with pid 168138
Dec 20, 2021 23:57:06.265 [0x7f9013a5eb38] DEBUG - Started session successfully: nu7k53w24oio4ag21e2gpug6
Dec 20, 2021 23:57:06.266 [0x7f9013b0eb38] DEBUG - Request: [127.0.0.1:51302 (Loopback)] PUT /video/:/transcode/session/nu7k53w24oio4ag21e2gpug6/4dce8950-40