Remote Quality enforced for uknown reason?

Server Version#: 1.21.1.383

Hi,

I have a Plex Running on Qnap TS-231P2 and since it’s not capable of hardware or software transcode I want to avoid transcode completely. Therefore, I have set the following on the Server already

Settings => Quality => Video Quality Maximum
Settings => Remote Access => No upload speed limit and 'Limit remote stream bitrate: Original'
Settings => Debug => 'Enable Direct Play'

Also, verified and under the Remote Access tab I got remote access configured properly plus port forward set on my router correctly so Plex Relay doesn’t come into the picture.

Still, when I try to play movies from different clients like iPad, iPhone etc I get the follow error message

Jan 03, 2021 20:31:21.610 [0x71fff440] DEBUG - [Transcode] MDE: Selected protocol hls; container: mpegts
Jan 03, 2021 20:31:21.610 [0x71fff440] DEBUG - [Transcode] MDE: analyzing media item 2645
Jan 03, 2021 20:31:21.610 [0x71fff440] DEBUG - [Transcode] MDE: Zuhanás a szerelembe (1984): Direct Play is disabled
Jan 03, 2021 20:31:21.610 [0x71fff440] DEBUG - [Transcode] MDE: Zuhanás a szerelembe (1984): media must be transcoded in order to use the hls protocol
Jan 03, 2021 20:31:21.610 [0x71fff440] DEBUG - [Transcode] MDE: Zuhanás a szerelembe (1984): no direct play video profile exists for http/mkv/h264/eac3
Jan 03, 2021 20:31:21.611 [0x71fff440] DEBUG - [Transcode] MDE: Cannot direct stream audio stream due to codec eac3 when profile only allows mp3
Jan 03, 2021 20:31:21.611 [0x71fff440] DEBUG - [Transcode] MDE: Zuhanás a szerelembe (1984): selected media 0 / 2645
> Jan 03, 2021 20:31:21.612 [0x71fff440] DEBUG - [Transcode] Streaming Resource: Calculated bandwidth of 1860kbps exceeds bandwidth limit. Changing decision parameters provided by client to fit bandwidth limit of 1000kbps
Jan 03, 2021 20:31:21.612 [0x71fff440] DEBUG - [Transcode] Streaming Resource: Determining preferred transcode encoders through transcode only decision.
Jan 03, 2021 20:31:21.613 [0x71fff440] DEBUG - [Transcode] Scaled up video bitrate to 1498Kbps based on 1.500000x fudge factor.
Jan 03, 2021 20:31:21.613 [0x71fff440] DEBUG - [Transcode] Scaled up video bitrate to 1498Kbps based on 1.500000x fudge factor.
Jan 03, 2021 20:31:21.614 [0x71fff440] DEBUG - [Transcode] Streaming Resource: Reducing playback quality for 952kbps stream bitrate: video resolution to 720x346, audio channels to 2, quality to 5, disable video DS as 1513kbps is > the 835kbps available
Jan 03, 2021 20:31:21.615 [0x71fff440] DEBUG - [Transcode] Scaled up video bitrate to 1498Kbps based on 1.500000x fudge factor.
Jan 03, 2021 20:31:21.615 [0x71fff440] DEBUG - [Transcode] Clipped max bitrate to 835Kbps based on client-requested limit

Despite the fact that I have set Original or Maximum quality on the server at every possible option and the same on all my clients (tried 3 different clients) it still tries to transcode the remote stream. Any idea or suggestion?

thanks!

There’s no server-side playback quality setting.
What you’re referring at is the quality settings of the Plex Web app (as a player).

Can you confirm there’s no video quality restrictions applied in the respective iOS clients?
Settings > Quality > Video Quality

Thanks for getting back. I can confirm on the client side I have the relevant settings (Original/Maximum quality) applied.

This is from iOS but I can confirm the same client settings from a Roku Stick+

This is the error message during the playback

What information is showing in the “now playing” tile for that playback on the Plex server dashboard? If there’s no quality restriction set on your client but Plex considers there’s a 1 Mbps restriction this could be related to some indirect/relayed streaming…
Exemplary screenshot from the "now playing" section

Problem is I can’t verify anything from ‘now playing’ option as the movie never plays. I’m suspecting also. Plex Relay kicking in which is throttling down the bandwidth however, port forwarding is done properly I can reach the port from the outside world and remote access is configured ok too.

Do you have a way to verify if Plex Relay comes into the picture or not?

The now playing tile should show up even if the playback is buffering/stopping…
Beyond that only a deep look into your logs might unearth the truth about why the remote access is wonky (if that’s the cause of your problem).

I think you are right! Looking at the logs it seems we do have Plex Relay kicking-in here - searching in other threads if that loopback IP (127.0.0.1) appearing in the logs of a remote stream indicating that the connections is relayed through. Can you please confirm this?

Jan 03, 2021 20:31:21.422 [0x71fff440] DEBUG - Request: [127.0.0.1:47798 (WAN)] GET /video/:/transcode/universal/decision?protocol=hls&mediaIndex=0&waitForSegments=1 (12 live) TLS

If that’s the case any suggestion how can I troubleshoot why the stream is relayed?

thanks a bunch!

No idea… at least not based on single lines of logs :wink:
The loopback requests should be fine. The NetworkService / publishing lines should be more interesting as for the remote access setup.

sorry here are the logs…(File removed)

I just tried to play the movie at 16:35

Looks like Plex is losing its remote connection after a little over 1 hour.
From what I see, your NAS has 2 LAN ports… do both of them have an IP reservation in your LAN? Have you set one to be the preferred port to be used by Plex and can you verify the port forward is using that LAN port’s internal IP?

If you checked the option Disable transcoding on the server, uncheck it.

Thanks both actually managed to get closer. It seems the issue is around the client side particularly the network connectivity.

If I put my iOS device on LTE//4G it Direct Plays

If I put my iOS device on my home network it forces the server to transcode and in the activity window on the server I see indirect connectivity as opposed to remote stream connectivity (I assume indirect means Plex Relay?)

so whenever coming from behind my Router it forces the server to transcode the stream…

Mod-Edit: decreased the screenshot previews to make it easier to see the full post at once :wink:

Can you please share the settings of Plex on your iOS device?
I’m particularly interested in Settings > Quality > Video Quality (preferably for remote and local).

Are the PMS and your WLAN AP in the same subnet of your home network?

Yes here you go. I only found “Quality” settings and these settings appear there. I dont see any Local settings under Quality

image

The Plex Server is in a different location than where I am currently = all my streams are remote.

Image is a bit blurry so I have reuploaded it

image

Are you using a VPN to connect to the remote server from your home network?

Check this… I think this is the reason. It’s not in the iOS app’s main settings but after I launch a movie and the playback settings there

image

It doesnt let me select Original (greyed out) as its stating that I dont have a direct connection to the server? No I am not using any VPN.

For a start, unplug eth1 unless having a managed switch, properly configured.
Then reboot QNAP

And something odd in the logs here:

Jan 04, 2021 12:13:36.191 [0x70c35440] DEBUG - File "/share/5000C500AFDAC2DD_DATA/.qpkg/PlexMediaServer/Resources/Plug-ins-6c22540d5" changed: -1 => 2020-12-17 21:00:27 (1608235227)

Never EVER seen a pool with the name 5000C500AFDAC2DD_DATA

STRONGLY suggest you start to backup stuff, and then seek QNAP Tech Support

IMHO, your QNAP is in a very bad state

1 Like

I actually think it’s due to Double NAT… here’s how my network look like:

(ISP)=====>(ISP ROUTER IN NOT BRIDGE MODGE)=====>(MY OWN TP LINK ROUTER)======>Plex server

I came across this article how to fix the Double NAT issue if I can’t have the ISP router set to bridge mode which is the case for me. I will give it a try tomorrow.

Plex Dual NAT fix

Thanks Dane I’ll look into the QNAP side too