----- re: Why enforce transcoding just because the user choose a quality bitrate limit ?
I see at least one good reason which is about the remote servers playback as your Internet bandwith might not allow to playback 21 mbits bitrate movies.
I'm sorry, but that statement shows that you didn't fully understand how I meant that it should work.
I regret seeming to go on a rant here, but I want my suggestion to be completely understood before it is rejected.
If you still decide to reject it I will accept that, but right now I need to clarify what I meant.
My suggestion was that the quality bitrate limits should be enforeced CORRECTLY, which is currently not the case.
Such a correct implementation would allow "Direct Play" of media with LOWER bitrate than the chosen bitrate limit.
Naturally the test for CODEC compatibility should still enforce transcoding for incompatible media, but that is a separate condition,
which should be applied in addition to the test for the bitrate condition.
To express it like in programming:
IF (bitrate_too_high OR codec_unsupported) THEN goto transcode ELSE goto direct_play.
That method will work well both with quality settings for some bitrate limit or for unlimited "Direct Play".
(the latter case being handled as a 21 Mbps bitrate limit due to RPi limitations).
It's impossible for such an implementation to cause playback at a rate higher than the specified limit.
(Unless PMS has failed to report the correct bitrate, in which case all our methods falter.)
I think it's not bad to keep the old style principle as long as you still have the choice of using it or not.
That choice does not exist if the 'old style' is implemented, since it enforces transcoding for everything when any bitrate limit is used.
So any user who needs a specific limit is deprived of the ability to 'Direct Play' media that would fit below that limit.
(Unless they choose to fiddle with the quality settings each and every time.)
The always transode flag is already existing and its when you define the always transcode bitrate settings in preferences / network.
Huh ? I never saw any "Always transcode bitrate" settings in any menu.
What I see in that menu are settings for "Local video quality" and "Remote video quality".
While it's true that PHT has no separate 'Direct Play'/Transcode option, and forces transcoding for all set bitrates, this does NOT make it correct. I consider it an incorrect design leading to worsened playback quality for all cases where a video would have worked fine with 'Direct Play' without exceeding the limit set by the user. That design choice is probably due to the strange goal of the PHT project to minimize the number of configurable options. (I just don't get it, but they have stated that goal many times)
For comparison you can check the 'Kepler' client for Android, which does have an explicit 'Direct Play' option, which when set makes the client behave like I suggested you do it for RasPlex, as the 'Direct Play' only applies if both the CODEC and the bitrate conditions are satisfied. And users who want everything transcoded can get this by disabling the separate 'Direct Play' option. But without a separate option the client should use the method that allows the maximum quality compatible to each setting.
----- re: Bringing up the issue of scant pre-play media info via API with the PMS programmers
I agree and i will eventually put a ticket for such a request if we need some additional info in the future. As of now given the feedback that we had in this post even if its limited, the implemented solution should fit all the mentionned needs i think.
I agree, though I also think it would be a good idea to open an issue ticket about it right away.
That way there's a chance that the API will have been extended if/when we really need such features in future.
Let's see what the reality check is when the next version is out and then we can try to adjust things.
Even though we're having a good support for Plex Inc, we're not one of their priorities which is quite understandable, so such a feature request might take some time to be coming, should it be coming :)
Agreed, but this lack of the API is not just our concern. It's bound to affect all clients.
Still, there's no real hurry here, since most clients have managed fairly well so far.
----- re: Looking forward to next RasPlex release
Yeah that shouldn't be too long now. we will probably release a 0.4.0 rc1 as quite a bunch of things have changed since 9.9.20 to see how things go and depending on feedback, we'll see how much things need to be fixed before 0.4.0.
The finish line is one sight now :)
I'll be sure to participate in the testing of that release candidate as soon as it's available
Best regards: dlanor