Plex randomly transcodes while it’s not needed

Hi,

I have an issue with Plex, that keeps wanting to randomly transcode a tv show when watching. Sometimes I can start without transcoding, sometimes it starts playing transcoded, sometimes when I seek position it starts to transcode while it was not before.

There’s subtitles, so I guess it might be related, but they are shown just fine without transcoding ..

While this issue might not appear important, the main concern is that the burned subtitles are very ugly (really, is it possible to add some fonts and/or customize the burned subs?), and it’s wasting CPU time for nothing.

Server Version#: 1.32.5.7349
Player Version#: 9.27.0.2856 (5e0504f)
Player platform : Mibox S

I was able to get logs of the 2 situations:

Jul 27, 2023 22:32:16.059 [140167376280376] DEBUG - Request: [192.168.1.15:56454 (Subnet)] GET /video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=180&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrat
e=200000&mediaBufferSize=91712&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F3819&protocol=*&session=XXXXX-com-plexapp-android&subtitles=burn&subtitleSize=200&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (21 live) #718 TLS GZIP Signed-in Token (..) (MiBox S)
Jul 27, 2023 22:32:16.059 [140167376280376] DEBUG - [Req#718/Transcode] Found session GUID of XXXXX-com-plexapp-android in session start.
Jul 27, 2023 22:32:16.060 [140167376280376] DEBUG - [Req#718/Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: add-limitation(scope=videoCodec&scopeName=h264&type=upperBound&name=video.level&value=51)+add-limitation(scope=videoCodec&scopeName=*&type=upperBo
und&name=video.width&value=3840&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.height&value=2160&replace=true)+add-limitation(scope=videoCodec&scopeName=hevc&type=notMatch&name=video.DOVIProfile&value=5)+add-transcode-target(type=videoProfile&conte
xt=streaming&protocol=hls&container=mkv&videoCodec=h264,hevc,mpeg2video&audioCodec=aac_latm,aac,aac,ac3,alac,dca,eac3,flac,mp1,mp2,mp3,opus,vorbis,wmav1,wmav2,wmalossless,wmapro,wmavoice&subtitleCodec=ass,pgs,subrip,dvd_subtitle,mov_text,vtt,dvb_subtitle&replace=true)+add-transcode-tar
get-settings(type=videoProfile&context=streaming&protocol=hls&CopyMatroskaAttachments=true)+add-limitation(scope=videoAudioCodec&scopeName=aac&type=upperBound&name=audio.channels&value=30&replace=true)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&au
dioCodec=mp3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=ac3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=eac3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protoc
ol=hls&audioCodec=dca)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=opus)+add-limitation(scope=videoCodec&scopeName=*&type=NotMatch&name=video.anamorphic&value=999&replace=true)+add-transcode-target(type=subtitleProfile&context=streaming&
protocol=http&container=mkv&subtitleCodec=srt)+append-transcode-target-codec(type=videoProfile&context=streaming&protocol=hls&videoCodec=mpeg2video)+append-transcode-target-codec(type=videoProfile&context=streaming&protocol=hls&videoCodec=hevc)+add-limitation(scope=videoCodec&scopeName
=hevc&type=Match&name=video.profile&list=main|main 10)+add-limitation(scope=videoTranscodeTarget&scopeName=hevc&scopeType=videoCodec&context=streaming&protocol=hls&type=match&name=video.colorTrc&list=bt709|bt470m|smpte240m|smpte170m|bt470bg|bt2020-10&isRequired=false)
Jul 27, 2023 22:32:16.060 [140167376280376] DEBUG - [Req#718/Transcode] TranscodeUniversalRequest: using augmented profile Android
Jul 27, 2023 22:32:16.060 [140167376280376] DEBUG - [Req#718/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/3819?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=XXXXX-com-plexapp-android
Jul 27, 2023 22:32:16.063 [140167438281528] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jul 27, 2023 22:32:16.063 [140167438281528] DEBUG - Selecting best audio stream for part ID 15634 (language: fr)
Jul 27, 2023 22:32:16.063 [140167438281528] DEBUG - We're going to try to auto-select a subtitle.
Jul 27, 2023 22:32:16.063 [140167438281528] DEBUG - Selected a foreign audio track: en
Jul 27, 2023 22:32:16.063 [140167438281528] DEBUG - Subtitles: Found a candidate subtitle language [fr] for a foreign film
Jul 27, 2023 22:32:16.063 [140167438281528] DEBUG - Audio Stream: 36683, Subtitle Stream: 36685
Jul 27, 2023 22:32:16.065 [140167438281528] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jul 27, 2023 22:32:16.065 [140167438281528] DEBUG - Selecting best audio stream for part ID 8164 (language: fr)
Jul 27, 2023 22:32:16.065 [140167438281528] DEBUG - We're going to try to auto-select a subtitle.
Jul 27, 2023 22:32:16.065 [140167438281528] DEBUG - Selected a foreign audio track: en
Jul 27, 2023 22:32:16.065 [140167438281528] DEBUG - Subtitles: Found a candidate subtitle language [fr] for a foreign film
Jul 27, 2023 22:32:16.065 [140167438281528] DEBUG - Audio Stream: 18053, Subtitle Stream: 18055
Jul 27, 2023 22:32:16.066 [140167438281528] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jul 27, 2023 22:32:16.066 [140167438281528] DEBUG - Selecting best audio stream for part ID 8163 (language: fr)
Jul 27, 2023 22:32:16.067 [140167438281528] DEBUG - We're going to try to auto-select a subtitle.
Jul 27, 2023 22:32:16.067 [140167438281528] DEBUG - Selected a foreign audio track: en
Jul 27, 2023 22:32:16.067 [140167438281528] DEBUG - Subtitles: Found a candidate subtitle language [fr] for a foreign film
Jul 27, 2023 22:32:16.067 [140167438281528] DEBUG - Audio Stream: 18049, Subtitle Stream: 18051
Jul 27, 2023 22:32:16.068 [140167438281528] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jul 27, 2023 22:32:16.068 [140167438281528] DEBUG - Selecting best audio stream for part ID 8162 (language: fr)
Jul 27, 2023 22:32:16.068 [140167438281528] DEBUG - Audio Stream: 18045, Subtitle Stream: 18047
Jul 27, 2023 22:32:16.071 [140167436172088] DEBUG - We're going to try to auto-select an audio stream for account 1.
Jul 27, 2023 22:32:16.071 [140167436172088] DEBUG - Selecting best audio stream for part ID 9446 (language: fr)
Jul 27, 2023 22:32:16.071 [140167436172088] DEBUG - We're going to try to auto-select a subtitle.
Jul 27, 2023 22:32:16.071 [140167436172088] DEBUG - Selected a foreign audio track: en
Jul 27, 2023 22:32:16.071 [140167436172088] DEBUG - Subtitles: Found a candidate subtitle language [fr] for a foreign film
Jul 27, 2023 22:32:16.071 [140167436172088] DEBUG - Audio Stream: 20876, Subtitle Stream: 20877
Jul 27, 2023 22:32:16.071 [140167376280376] DEBUG - [Req#718/Transcode/Req#7c9] We're going to try to auto-select an audio stream for account 1.
Jul 27, 2023 22:32:16.071 [140167376280376] DEBUG - [Req#718/Transcode/Req#7c9] Selecting best audio stream for part ID 7901 (language: fr)
Jul 27, 2023 22:32:16.071 [140167376280376] DEBUG - [Req#718/Transcode/Req#7c9] We're going to try to auto-select a subtitle.
Jul 27, 2023 22:32:16.071 [140167376280376] DEBUG - [Req#718/Transcode/Req#7c9] Selected a foreign audio track:
Jul 27, 2023 22:32:16.071 [140167376280376] DEBUG - [Req#718/Transcode/Req#7c9] Audio Stream: 16937, Subtitle Stream: 107851
Jul 27, 2023 22:32:16.072 [140167448828728] DEBUG - [Req#7b6] It took 10.000000 ms to retrieve 214 items.
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264_vaapi (encoder)
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264_vaapi
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 27, 2023 22:32:16.073 [140167448828728] DEBUG - Setting container serialization range to [0, 49] (total=-1)
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvenc for device '' ()
Jul 27, 2023 22:32:16.073 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.073 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.073 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264_nvenc
Jul 27, 2023 22:32:16.074 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jul 27, 2023 22:32:16.080 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
Jul 27, 2023 22:32:16.080 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 27, 2023 22:32:16.080 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.080 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvdec for device '' ()
Jul 27, 2023 22:32:16.081 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.081 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: Selected protocol hls; container: mkv
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: analyzing media item 7886
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: Direct Play is disabled
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: media must be transcoded in order to use the hls protocol
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: selected subtitle cannot be converted to a compatible format, burning into video stream
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: avoiding video remux due to burned subtitle stream
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: no remuxable profile found, so video stream will be transcoded
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvenc for device '' ()
Jul 27, 2023 22:32:16.081 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.081 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264_nvenc
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jul 27, 2023 22:32:16.081 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvdec for device '' ()
Jul 27, 2023 22:32:16.082 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.082 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] MDE: xxxxxxxxxxxxxxxxxxxx: selected media 0 / 7886
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Streaming Resource: Required bandwidth unknown (media requires deep analysis) Changing decision parameters provided by client to fit bandwidth limit of 200000kbps
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Jul 27, 2023 22:32:16.082 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvenc for device '' ()
Jul 27, 2023 22:32:16.083 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.083 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264_nvenc
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.083 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvdec for device '' ()
Jul 27, 2023 22:32:16.084 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.084 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvenc for device '' ()
Jul 27, 2023 22:32:16.084 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.084 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264_nvenc
Jul 27, 2023 22:32:16.084 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvdec for device '' ()
Jul 27, 2023 22:32:16.085 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.085 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.085 [140167376280376] DEBUG - [Req#718/Transcode] Streaming Resource: Reducing playback quality for 190476kbps stream bitrate: video resolution to 720x404, audio channels to 2, quality to 99
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvenc for device '' ()
Jul 27, 2023 22:32:16.086 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.086 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264_nvenc
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.086 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvdec for device '' ()
Jul 27, 2023 22:32:16.087 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.087 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: Selected protocol hls; container: mkv
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: analyzing media item 7886
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: Direct Play is disabled
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: media must be transcoded in order to use the hls protocol
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: selected subtitle cannot be converted to a compatible format, burning into video stream
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: avoiding video remux due to burned subtitle stream
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: XXXX: no remuxable profile found, so video stream will be transcoded
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264_nvenc (encoder)
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvenc for device '' ()
Jul 27, 2023 22:32:16.087 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.087 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264_nvenc
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] MDE: Cannot direct stream video stream due to profile or setting limitations
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice vaapi
Jul 27, 2023 22:32:16.087 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API vaapi for device '' ()
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Generic error in an external library
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: testing API nvdec for device '' ()
Jul 27, 2023 22:32:16.088 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Cannot load libcuda.so.1
Jul 27, 2023 22:32:16.088 [140167376280376] ERROR - [Req#718/Transcode] [FFMPEG] - Could not dynamically load CUDA
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Operation not permitted
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Could not create hardware context for h264
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] MDE: xxxxxxxxxxxxxxxxxxx: selected media 0 / 7886
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Streaming Resource: Adding session 0x7f7b439f5608:XXXXX-com-plexapp-android which is using transcoder slot.  Used slots is now 1
Jul 27, 2023 22:32:16.088 [140167376280376] DEBUG - [Req#718/Transcode] Streaming Resource: Added session 0x7f7b439f5608:XXXXX-com-plexapp-android
Jul 27, 2023 22:32:16.089 [140167376280376] DEBUG - [Req#718/Transcode] Streaming Resource: Reached Decision id=3819 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=7886 part=(id=7901 decision=transcode container=mkv protocol=hls streams=(Video=(id=16936 decision=transcode bitrate=2908 encoder=libx264 width=718 height=404) Audio=(id=16937 decision=copy channels=2 rate=48000) Subtitle=(id=107851 decision=burn languageCode= location=embedded))))
Jul 27, 2023 22:32:16.090 [140167494425400] DEBUG - Completed: [192.168.1.15:56454] 200 GET /video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=180&autoAdjustQuality=0&directPlay=0&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=91712&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F3819&protocol=*&session=XXXXX-com-plexapp-android&subtitles=burn&subtitleSize=200&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (21 live) #718 TLS GZIP 30ms 2800 bytes (pipelined: 9)
Jul 27, 2023 22:31:12.197 [140167471598392] DEBUG - Request: [192.168.1.15:56364 (Subnet)] GET /video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=180&autoAdjustQuality=0&directPlay=1&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrat
e=200000&mediaBufferSize=74944&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F3819&protocol=*&session=XXXXX-com-plexapp-android&skipSubtitles=1&subtitleSize=200&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (18 live) #513 TLS GZIP Signed-in Token (...) (MiBox S)
Jul 27, 2023 22:31:12.198 [140167471598392] DEBUG - [Req#513/Transcode] Found session GUID of XXXXX-com-plexapp-android in session start.
Jul 27, 2023 22:31:12.199 [140167471598392] DEBUG - [Req#513/Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: add-limitation(scope=videoCodec&scopeName=h264&type=upperBound&name=video.level&value=51)+add-limitation(scope=videoCodec&scopeName=*&type=upperBo
und&name=video.width&value=3840&replace=true)+add-limitation(scope=videoCodec&scopeName=*&type=upperBound&name=video.height&value=2160&replace=true)+add-limitation(scope=videoCodec&scopeName=hevc&type=notMatch&name=video.DOVIProfile&value=5)+add-transcode-target(type=videoProfile&conte
xt=streaming&protocol=hls&container=mkv&videoCodec=h264,hevc,mpeg2video&audioCodec=aac_latm,aac,aac,ac3,alac,dca,eac3,flac,mp1,mp2,mp3,opus,vorbis,wmav1,wmav2,wmalossless,wmapro,wmavoice&subtitleCodec=ass,pgs,subrip,dvd_subtitle,mov_text,vtt,dvb_subtitle&replace=true)+add-transcode-tar
get-settings(type=videoProfile&context=streaming&protocol=hls&CopyMatroskaAttachments=true)+add-limitation(scope=videoAudioCodec&scopeName=aac&type=upperBound&name=audio.channels&value=30&replace=true)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&au
dioCodec=mp3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=ac3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=eac3)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protoc
ol=hls&audioCodec=dca)+add-transcode-target-audio-codec(type=videoProfile&context=streaming&protocol=hls&audioCodec=opus)+add-limitation(scope=videoCodec&scopeName=*&type=NotMatch&name=video.anamorphic&value=999&replace=true)+add-transcode-target(type=subtitleProfile&context=streaming&
protocol=http&container=mkv&subtitleCodec=srt)+append-transcode-target-codec(type=videoProfile&context=streaming&protocol=hls&videoCodec=mpeg2video)+append-transcode-target-codec(type=videoProfile&context=streaming&protocol=hls&videoCodec=hevc)+add-limitation(scope=videoCodec&scopeName
=hevc&type=Match&name=video.profile&list=main|main 10)+add-limitation(scope=videoTranscodeTarget&scopeName=hevc&scopeType=videoCodec&context=streaming&protocol=hls&type=match&name=video.colorTrc&list=bt709|bt470m|smpte240m|smpte170m|bt470bg|bt2020-10&isRequired=false)
Jul 27, 2023 22:31:12.199 [140167471598392] DEBUG - [Req#513/Transcode] TranscodeUniversalRequest: using augmented profile Android
Jul 27, 2023 22:31:12.200 [140167471598392] DEBUG - [Req#513/Transcode] Downloading document http://127.0.0.1:32400/library/metadata/3819?includeBandwidths=1&offset=-1&X-Plex-Incomplete-Segments=1&X-Plex-Session-Identifier=XXXXX-com-plexapp-android
Jul 27, 2023 22:31:12.211 [140167471598392] DEBUG - [Req#513/Transcode/Req#515] We're going to try to auto-select an audio stream for account 1.
Jul 27, 2023 22:31:12.211 [140167471598392] DEBUG - [Req#513/Transcode/Req#515] Selecting best audio stream for part ID 7901 (language: fr)
Jul 27, 2023 22:31:12.211 [140167471598392] DEBUG - [Req#513/Transcode/Req#515] We're going to try to auto-select a subtitle.
Jul 27, 2023 22:31:12.211 [140167471598392] DEBUG - [Req#513/Transcode/Req#515] Selected a foreign audio track:
Jul 27, 2023 22:31:12.211 [140167471598392] DEBUG - [Req#513/Transcode/Req#515] Audio Stream: 16937, Subtitle Stream: 107851
Jul 27, 2023 22:31:12.214 [140167471598392] DEBUG - [Req#513/Transcode] Streaming Resource: Added session 0x7f7b4897f168:XXXXX-com-plexapp-android
Jul 27, 2023 22:31:12.214 [140167471598392] DEBUG - [Req#513/Transcode] Streaming Resource: Reached Decision id=3819 codes=(MDE=1000,Direct play OK.) media=(id=7886 part=(id=7901 decision=direct play protocol=* streams=(Video=(id=16936 decision= width=720 height=400) Audio=(id=16937 decision= channels=0 rate=0) Subtitle=(id=107851 decision=ignore languageCode= location=embedded))))
Jul 27, 2023 22:31:12.216 [140167496534840] DEBUG - Completed: [192.168.1.15:56364] 200 GET /video/:/transcode/universal/decision?advancedSubtitles=text&audioBoost=180&autoAdjustQuality=0&directPlay=1&directStream=1&directStreamAudio=1&fastSeek=1&hasMDE=1&location=lan&maxVideoBitrate=200000&mediaBufferSize=74944&mediaIndex=0&partIndex=0&path=%2Flibrary%2Fmetadata%2F3819&protocol=*&session=XXXXX-com-plexapp-android&skipSubtitles=1&subtitleSize=200&videoBitrate=200000&videoQuality=100&videoResolution=3840x2160 (18 live) #513 TLS GZIP 18ms 2829 bytes (pipelined: 4)

(I tried to remove personal data in theses)

From what I understand by reading quickly, it’s the client that asks for subtitles to be burned (but .. why?). The burned subtitles settings is set on “auto”.

I hope there’s a solution, in the meantime, I forced video transcoding to disabled, but I don’t want to keep it disabled.

Best,

Any help? Because it’s really annoying, sometimes when I seek in the same (playing) file, it tries to transcode (and fails because transcoding is disabled), while it shouldn’t …
Plex Android TV is now 9.28.0.3162 (75a3f28).

In the previous logs, the transcode/universal/decision request seems to differ by:

  • directPlay=0 / directPlay=1
  • subtitles=burn / skipSubtitles=1

But why? If I try enough, the file can be read in the end.

No autoclose :slight_smile: