Transcoding issue with server side BW limits

Server Version#: v1.32.8.7639

Plex music not transcoding automatically when server bandwidth limit is configured.

My app ask the server for transcoding decision by passing a proper profile

Jan 17, 2024 07:07:43.948 [36196] DEBUG - Request: [127.0.0.1:58730 (WAN)] GET /music/:/transcode/universal/decision?path=%2Flibrary%2Fmetadata%2F22237&protocol=hls&directPlay=1&directStream=1&fastSeek=1 (6 live) #179f39 TLS GZIP Signed-in Token (xxxx) (asus ASUS-I004D)
Jan 17, 2024 07:07:43.948 [36196] DEBUG - [Req#179f39/Transcode] TranscodeUniversalRequest: adapting profile with augmentation data: add-limitation(scope=musicCodec&scopeName=flac&type=upperBound&name=audio.samplingRate&value=192000)+add-limitation(scope=musicCodec&scopeName=mp3&type=upperBound&name=audio.samplerate&value=192000)+add-limitation(scope=musicCodec&scopeName=ogg&type=upperBound&name=audio.samplingRate&value=192000)+add-limitation(scope=musicCodec&scopeName=opus&type=upperBound&name=audio.samplingRate&value=192000)+add-limitation(scope=musicCodec&scopeName=wav&type=upperBound&name=audio.samplingRate&value=192000)+add-direct-play-profile(type=musicProfile&container=mp4,mp3,flac,ogg,wav&videoCodec=*&audioCodec=flac,opus,mp3,ogg,alac,aac,vorbis,pcm,wav&protocol=*)+add-transcode-target(type=musicProfile&container=flac&audioCodec=flac&protocol=http&context=streaming)+add-transcode-target(type=musicProfile&container=mp3&audioCodec=mp3&protocol=http&context=streaming)

And everything works fine for all the cases of the media not fitting the limitations I pass.

But when the server have a forced BW limit the answer is incorrect:

Jan 17, 2024 07:07:43.952 [36196] DEBUG - [Req#179f39/Transcode] Streaming Resource: Calculated bandwidth of 3375kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 2000kbps
Jan 17, 2024 07:07:43.952 [36196] DEBUG - [Req#179f39/Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Jan 17, 2024 07:07:43.952 [36196] DEBUG - [Req#179f39/Transcode] Streaming Resource: Could not fit playback within bandwidth limit of 2000kbps
Jan 17, 2024 07:07:43.952 [36196] DEBUG - [Req#179f39/Transcode] Streaming Resource: Reached Decision id=22237 codes=(General=2000,Neither direct play nor conversion is available. Direct Play=1000,Direct play OK. Transcode=4005,Cannot convert this item. No conversion audio and video encoders could be found in app profile.)
Jan 17, 2024 07:07:43.952 [25488] DEBUG - Completed: [127.0.0.1:58730] 200 GET /music/:/transcode/universal/decision?path=%2Flibrary%2Fmetadata%2F22237&protocol=hls&directPlay=1&directStream=1&fastSeek=1 (6 live) #179f39 TLS GZIP 4ms 662 bytes (pipelined: 3)

It does not propose to transcode with a BW limit, and the answer contains at the same time that it can direct Play but that it can’t direct play too …

If I manually passed a BW limit of 2000 then it would work, unfortunately the answer does not say anything about the forced server limit and it’s value to be able to workaround client side.

Any insight about how to address this ?

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