Thank you for these files. It’s telling me what I needed to see.
- You are getting hardware acceleration
- The transcoder can’t split the file into blocks for the hardware to process properly. (bad encoding)
- Recommendation: Replace the file / Handbrake the file and use standard Ref frame values of 1 - 4
Video info:
<Stream id="2123" streamType="1" default="1" codec="h264" index="0" bitrate="3776" language="English" languageCode="eng" bitDepth="8" chromaLocation="left" chromaSubsampling="4:2:0" codedHeight="1088" codedWidth="1920" frameRate="23.976" hasScalingMatrix="0" height="1080" level="50" profile="high" refFrames="6" requiredBandwidths="8226,6009,4295,4295,4295,4295,4295,4295" streamIdentifier="1" width="1920" displayTitle="1080p (H.264)" extendedDisplayTitle="1080p (H.264)"> </Stream>
FFMPEG seeing the hardware , using it, and reporting errors processing:
Feb 12, 2021 17:10:03.977 [0x7faa0a5a1700] DEBUG - [Transcode/rq0sk2mgwhffjrln3k8zicbb] TPU: hardware transcoding: final decoder: vaapi, final encoder: vaapi
Feb 12, 2021 17:10:03.978 [0x7faa47fff700] DEBUG - Auth: authenticated user 1 as jpersson741@gmail.com
Feb 12, 2021 17:10:03.978 [0x7faa096fb700] DEBUG - Request: [192.168.0.2:59107 (Subnet)] GET /status/sessions (10 live) TLS GZIP Signed-in Token (jpersson741@gmail.com)
Feb 12, 2021 17:10:03.978 [0x7faa096fb700] DEBUG - [Now] Adding 1 sessions.
Feb 12, 2021 17:10:03.979 [0x7faa0a5a1700] DEBUG - [Transcode/rq0sk2mgwhffjrln3k8zicbb] Job running: FFMPEG_EXTERNAL_LIBS='/volume1/Plex/Library/Application\ Support/Plex\ Media\ Server/Codecs/367b3d4-3673-linux-x86_64/' LIBVA_DRIVERS_PATH='/volume1/@appstore/Plex Media Server/lib/dri' X_PLEX_TOKEN=xxxxxxxxxxxxxxxxxxxxd' '/volume1/@appstore/Plex Media Server/Plex Transcoder' '-codec:#0x01' 'h264' '-hwaccel:#0x01' 'vaapi' '-hwaccel_fallback_threshold:#0x01' '10' '-hwaccel_output_format:#0x01' 'vaapi' '-hwaccel_device:#0x01' 'vaapi' '-ss' '33' '-analyzeduration' '20000000' '-probesize' '20000000' '-i' '/volume1/Media/Serier/Elementary/Elementary S4/Elementary S04E03.mp4' '-filter_complex' '[0:#0x01]hwupload[0];[0]scale_vaapi=w=1920:h=1080:format=nv12[1];[1]hwupload[2]' '-map' '[2]' '-metadata:s:0' 'language=eng' '-codec:0' 'h264_vaapi' '-b:0' '4248k' '-maxrate:0' '5664k' '-bufsize:0' '11328k' '-r:0' '23.975999999999999' '-force_key_frames:0' 'expr:gte(t,n_forced*1)' '-map' '0:#0x02' '-metadata:s:1' 'language=eng' '-codec:1' 'copy' '-copypriorss:1' '0' '-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' '34' '-time_delta' '0.0625' '-manifest_name' 'http://127.0.0.1:32400/video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/manifest?X-Plex-Http-Pipeline=infinite' '-avoid_negative_ts' 'disabled' '-map_metadata' '-1' '-map_chapters' '-1' 'dash' '-start_at_zero' '-copyts' '-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/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress'
Feb 12, 2021 17:10:03.979 [0x7faa4c533700] DEBUG - Completed: [192.168.0.2:59107] 200 GET /status/sessions (10 live) TLS GZIP 1ms 2180 bytes (pipelined: 11)
Feb 12, 2021 17:10:03.980 [0x7faa0a5a1700] DEBUG - [Transcode/rq0sk2mgwhffjrln3k8zicbb] Jobs: Starting child process with pid 31356
Feb 12, 2021 17:10:03.980 [0x7faa0a5a1700] DEBUG - [Transcode/rq0sk2mgwhffjrln3k8zicbb] Started session successfully: rq0sk2mgwhffjrln3k8zicbb
Feb 12, 2021 17:10:03.980 [0x7faa4ec55700] DEBUG - Jobs: '/volume1/@appstore/Plex Media Server/Plex Transcoder' exit code for process 31349 is -9 (signal: Killed)
Feb 12, 2021 17:10:03.980 [0x7faa0b447700] DEBUG - [Transcode/rq0sk2mgwhffjrln3k8zicbb] Streaming Resource: Resetting play progress due to seek
Feb 12, 2021 17:10:03.984 [0x7faa09fc5700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=startup (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:03.984 [0x7faa4c533700] DEBUG - Completed: [127.0.0.1:55690] 204 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=startup (10 live) 0ms 203 bytes (pipelined: 1) (range: bytes=0-)
Feb 12, 2021 17:10:03.992 [0x7faa099e9700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=startup (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:03.992 [0x7faa47fff700] DEBUG - Completed: [127.0.0.1:55690] 204 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=startup (10 live) 0ms 203 bytes (pipelined: 2) (range: bytes=0-)
Feb 12, 2021 17:10:03.993 [0x7faa44d01700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=opening (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:03.993 [0x7faa4c533700] DEBUG - Completed: [127.0.0.1:55690] 204 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=opening (10 live) 0ms 203 bytes (pipelined: 3) (range: bytes=0-)
Feb 12, 2021 17:10:04.020 [0x7faa096fb700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=opened (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:04.020 [0x7faa47fff700] DEBUG - Completed: [127.0.0.1:55690] 204 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?status=opened (10 live) 0ms 203 bytes (pipelined: 4) (range: bytes=0-)
Feb 12, 2021 17:10:04.020 [0x7faa09fc5700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/stream?index=0&id=1&codec=h264&type=video (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:04.020 [0x7faa4c533700] DEBUG - Completed: [127.0.0.1:55690] 200 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/stream?index=0&id=1&codec=h264&type=video (10 live) 0ms 195 bytes (pipelined: 5) (range: bytes=0-)
Feb 12, 2021 17:10:04.028 [0x7faa47fff700] DEBUG - Auth: authenticated user 1 as jpersson741@gmail.com
Feb 12, 2021 17:10:04.028 [0x7faa099e9700] DEBUG - Request: [192.168.0.2:59107 (Subnet)] GET /status/sessions (10 live) TLS GZIP Signed-in Token (jpersson741@gmail.com)
Feb 12, 2021 17:10:04.028 [0x7faa099e9700] DEBUG - [Now] Adding 1 sessions.
Feb 12, 2021 17:10:04.029 [0x7faa4c533700] DEBUG - Completed: [192.168.0.2:59107] 200 GET /status/sessions (10 live) TLS GZIP 1ms 2180 bytes (pipelined: 12)
Feb 12, 2021 17:10:04.030 [0x7faa44d01700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/stream?index=1&id=2&codec=aac&type=audio&profile=LC (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:04.030 [0x7faa4c533700] DEBUG - Completed: [127.0.0.1:55690] 200 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/stream?index=1&id=2&codec=aac&type=audio&profile=LC (10 live) 0ms 195 bytes (pipelined: 6) (range: bytes=0-)
Feb 12, 2021 17:10:04.031 [0x7faa096fb700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/streamDetail?index=0&id=1&codec=h264&type=video&bitrate=3775963&profile=High&language=eng&width=1920&height=1080&interlaced=0&sar=1:1&level=41&frameRate=23.976&disp_default=1 (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:04.031 [0x7faa47fff700] DEBUG - Completed: [127.0.0.1:55690] 200 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/streamDetail?index=0&id=1&codec=h264&type=video&bitrate=3775963&profile=High&language=eng&width=1920&height=1080&interlaced=0&sar=1:1&level=41&frameRate=23.976&disp_default=1 (10 live) 0ms 195 bytes (pipelined: 7) (range: bytes=0-)
Feb 12, 2021 17:10:04.031 [0x7faa09fc5700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/streamDetail?index=1&id=2&codec=aac&type=audio&profile=LC&language=eng&channels=6&layout=5.1&sampleRate=48000&disp_default=1 (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:04.031 [0x7faa47fff700] DEBUG - Completed: [127.0.0.1:55690] 200 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/streamDetail?index=1&id=2&codec=aac&type=audio&profile=LC&language=eng&channels=6&layout=5.1&sampleRate=48000&disp_default=1 (10 live) 0ms 195 bytes (pipelined: 8) (range: bytes=0-)
Feb 12, 2021 17:10:04.031 [0x7faa099e9700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/streamDetail?index=2&id=3&codec=mov_text&type=subtitle&bitrate=119&language=eng&disp_default=1 (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:04.031 [0x7faa47fff700] DEBUG - Completed: [127.0.0.1:55690] 200 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress/streamDetail?index=2&id=3&codec=mov_text&type=subtitle&bitrate=119&language=eng&disp_default=1 (10 live) 0ms 195 bytes (pipelined: 9) (range: bytes=0-)
Feb 12, 2021 17:10:04.032 [0x7faa44d01700] DEBUG - Request: [127.0.0.1:55690 (Loopback)] PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?duration=2544.668000 (10 live) Signed-in Token (jpersson741@gmail.com) (range: bytes=0-)
Feb 12, 2021 17:10:04.032 [0x7faa4c533700] DEBUG - Completed: [127.0.0.1:55690] 204 PUT /video/:/transcode/session/rq0sk2mgwhffjrln3k8zicbb/7b4ff2d1-003b-4e8e-b6c9-87a9e8b9bc5b/progress?duration=2544.668000 (10 live) 0ms 203 bytes (pipelined: 10) (range: bytes=0-)
Feb 12, 2021 17:10:04.571 [0x7faa09fc5700] DEBUG - [Transcode] Transcoder segment range: 29 - 29 (29)
Feb 12, 2021 17:10:04.751 [0x7faa099e9700] ERROR - [Transcoder] [h264 @ 0x13b6900] Invalid NAL unit size (0 > 14027).
Feb 12, 2021 17:10:04.751 [0x7faa44d01700] ERROR - [Transcoder] [h264 @ 0x13b6900] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.751 [0x7faa096fb700] ERROR - [Transcoder] [h264 @ 0x135e880] Invalid NAL unit size (0 > 37155).
Feb 12, 2021 17:10:04.752 [0x7faa09fc5700] ERROR - [Transcoder] [h264 @ 0x135e880] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.781 [0x7faa099e9700] DEBUG - [Transcode] Transcoder segment range: 29 - 31 (31)
Feb 12, 2021 17:10:04.781 [0x7faa44d01700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Feb 12, 2021 17:10:04.781 [0x7faa096fb700] ERROR - [Transcoder] [h264 @ 0x13708c0] Invalid NAL unit size (0 > 14937).
Feb 12, 2021 17:10:04.782 [0x7faa09fc5700] ERROR - [Transcoder] [h264 @ 0x13708c0] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.782 [0x7faa099e9700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Feb 12, 2021 17:10:04.782 [0x7faa44d01700] ERROR - [Transcoder] [h264 @ 0x13b6900] Invalid NAL unit size (0 > 39194).
Feb 12, 2021 17:10:04.782 [0x7faa096fb700] ERROR - [Transcoder] [h264 @ 0x13b6900] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.782 [0x7faa09fc5700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Feb 12, 2021 17:10:04.783 [0x7faa099e9700] ERROR - [Transcoder] [h264 @ 0x135e880] Invalid NAL unit size (0 > 15327).
Feb 12, 2021 17:10:04.783 [0x7faa44d01700] ERROR - [Transcoder] [h264 @ 0x135e880] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.783 [0x7faa096fb700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Feb 12, 2021 17:10:04.783 [0x7faa09fc5700] ERROR - [Transcoder] [h264 @ 0x13708c0] Invalid NAL unit size (0 > 34587).
Feb 12, 2021 17:10:04.783 [0x7faa099e9700] ERROR - [Transcoder] [h264 @ 0x13708c0] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.783 [0x7faa44d01700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Feb 12, 2021 17:10:04.784 [0x7faa096fb700] ERROR - [Transcoder] [h264 @ 0x13b6900] Invalid NAL unit size (0 > 13913).
Feb 12, 2021 17:10:04.784 [0x7faa09fc5700] ERROR - [Transcoder] [h264 @ 0x13b6900] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.784 [0x7faa099e9700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input
Feb 12, 2021 17:10:04.784 [0x7faa44d01700] ERROR - [Transcoder] [h264 @ 0x135e880] Invalid NAL unit size (0 > 36426).
Feb 12, 2021 17:10:04.784 [0x7faa096fb700] ERROR - [Transcoder] [h264 @ 0x135e880] Error splitting the input into NAL units.
Feb 12, 2021 17:10:04.784 [0x7faa09fc5700] ERROR - [Transcoder] Error while decoding stream #0:0: Invalid data found when processing input