WARN - MDE: unable to find a working transcode profile for video stream

Server Version#:1.40.0.7775-456fbaf97
Player Version#: Any
Hardware: Nvidia P1000/linux

Seeing lots of transcode failures recently, and trying to figure out why. The GPU should obviously be able to handle almost anything I throw at it:

Device 0: Quadro P1000
-----------------------------------------------------------------
Codec | Chroma | Depth | Max Width | Max Height | Surface Formats
-----------------------------------------------------------------
MPEG1 |    420 |     8 |      4080 |       4080 |            NV12
MPEG2 |    420 |     8 |      4080 |       4080 |            NV12
MPEG4 |    420 |     8 |      2032 |       2032 |            NV12
  VC1 |    420 |     8 |      2032 |       2032 |            NV12
 H264 |    420 |     8 |      4096 |       4096 |            NV12
MJPEG |    400 |     8 |     32768 |      16384 |            NV12
MJPEG |    420 |     8 |     32768 |      16384 |            NV12
MJPEG |    422 |     8 |     32768 |      16384 |            NV12
MJPEG |    444 |     8 |     32768 |      16384 |            NV12
 HEVC |    420 |     8 |      8192 |       8192 |            NV12
 HEVC |    420 |    10 |      8192 |       8192 |      P016, NV12
 HEVC |    420 |    12 |      8192 |       8192 |      P016, NV12
  VP9 |    420 |     8 |      8192 |       8192 |            NV12
  VP9 |    420 |    10 |      8192 |       8192 |      P016, NV12
  VP9 |    420 |    12 |      8192 |       8192 |      P016, NV12
-----------------------------------------------------------------

Example of a file causing issues.

Codec HEVC
Bitrate 3976 kbps
Bit Depth 8
Chroma Location left
Chroma Subsampling 4:2:0
Coded Height 1080
Coded Width 1920
Color Primaries bt709
Color Range tv
Color Space bt709
Color Trc bt709
Frame Rate 23.976 fps
Height 1080
Level 4.0
Profile main
Ref Frames 1
Width 1920
Display Title 1080p (HEVC Main)
Extended Display Title 1080p (HEVC Main)
Codec EAC3
Channels 6
Bitrate 640 kbps
Language English
Language Tag en
Audio Channel Layout 5.1(side)
Sampling Rate 48000 Hz
Display Title English (EAC3 5.1)
Extended Display Title English (EAC3 5.1)

The logs while about transcode profiles:

Jan 13, 2024 20:22:28.501 [140496563301176] WARN - MDE: unable to find a working transcode profile for video stream
Jan 13, 2024 20:22:28.501 [140496563301176] WARN - MDE: unable to find a working transcode profile for video stream

using generic ffmpeg on the same box decodes the file just fine.


root@plex2:~# ffmpeg  -hwaccel cuda -hwaccel_output_format cuda -c:v hevc_cuvid -i /video/inputfile.hevc.mkv -map 0 -map -0:v:1 -cq 28 -qmin 1 -qmax 51 -c copy -c:v hevc_nvenc -preset p5 test.mkv
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)

IN
Stream #0:0: Video: hevc, none, 1920x1080, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 1k tbn (default)

OUT:
Stream #0:0: Video: hevc (Main), cuda(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 1k tbn (default)

ffmpeg on plex is a slightly different version

ffmpeg version 1d5bf5d-4660 Copyright (c) 2000-2022 the FFmpeg developers
  built with Plex clang version 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)

Checking the “-decoders” list on that ffmpeg shows ZERO CUDA/NVENC/NVDEC/etc enabled decoders.

What am I missing here?

also seeing:

Jan 13, 2024 20:50:01.320 [140299275094840] WARN - [Req#29bd/Transcode/vanilnby9ogege14887zw2e7] Transcode runner appears to have died.
Jan 13, 2024 20:50:01.320 [140299194526520] WARN - [Req#29be/Transcode/vanilnby9ogege14887zw2e7] Transcode runner appears to have died.

Possibly appears to be related to changing PLAYBACK SETTINGS: QUALITY - in the web player, once playback has started. Was able to repeat it on a friends server as well with current code version.

Changing Web profile to a different speed cap works fine, changing it on the fly is dying?

(more testing needed, but a thread to pull)

@dlasher

There are some conditions when it might misbehave but are very few and far inbetween.

Can you share the DEBUG server logs which capture this (if you can recreate it)

Also, since 1.40.0 is beta, have you confirmed the behavior on 1.32.8 (Public) ?

Didn’t realize 1.40.0 was beta, thought it was plexpass.

Have a download link handy to 1.32.8? I’ll snapshot and roll the server back.

Plex Pass = Beta

plex.tv

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.