Now the stupid bug forces Plex to switch to transcode instead of DirectPlay after 15-30secs. Theory of cause: transcode is probably initiated because of switching to DASH, why switching to DASH occurs nobody knows. When you take resolution steps with MP4, DASH is never used, but HTTP is used as it should be with MKV source.
Please address this issue. This is annoying issue and is ignored for several months now.
TL;DR: Plex team needs MS to fix a bug in Xbox OS before Plex can begin working on their end of a fix for this issue. MS has their fix in the pipeline.
TL;DR: Plex team needs MS to fix a bug in Xbox OS before Plex can begin working on their end of a fix for this issue. MS has their fix in the pipeline.
Thanks for prompt reply. Though people say that MP4/AC3 is not a solution, I assume this may caused by different Xbox+network+Plex server configurations. Letâs wait and see how it performs after fix.
Nope, no dice. Moussa did say that there was a platform issue coupled with a bug in the plex app. Hopefully whatever MS needed to fix has been and he can now correct it at the plex end.
Nope, no dice. Moussa did say that there was a platform issue coupled with a bug in the plex app. Hopefully whatever MS needed to fix has been and he can now correct it at the plex end.
HEVC failing to play and falling back to transcoding
Number 1 is the current platform bug looking for the fix, number 2 is the issue I believe is occurring on the Xbox One Xâs but leads almost instantly into number 1 preventing debugging.
HEVC failing to play and falling back to transcoding
Number 1 is the current platform bug looking for the fix, number 2 is the issue I believe is occurring on the Xbox One Xâs but leads almost instantly into number 1 preventing debugging.
Second one. I do not know, the reason, but switching to dash is obvious. And MP4/AC3 is using HTTP, then switching to dash should be the reason of transcoding - this what logic indicates to me. But bugs are not expected to be logical, right?
Repro is simple take any 4K/HEVC (will be HDR 99% of the times) movie, makemkv, launch on Xbox One X for 15-30 secs. if you need I can try to record repro.
@dxhelios said:
Second one. I do not know, the reason, but switching to dash is obvious. And MP4/AC3 is using HTTP, then switching to dash should be the reason of transcoding - this what logic indicates to me. But bugs are not expected to be logical, right?
Switching to dash is because HEVC is not a valid target for HLS streaming. So if remuxing occurs it needs to switch to DASH to support the HEVC. Basically what you are seeing is it tries to play the original stream as is, the player is rejecting the stream, the app sees the player reject the stream and automatically requests a remux to try and keep playing smoothly. This is where it would then get stuck because of the first bug. But it sounds like that the first bug may have been fixed with the preview.
Repro is simple take any 4K/HEVC (will be HDR 99% of the times) movie, makemkv, launch on Xbox One X for 15-30 secs. if you need I can try to record repro.
This is something we know is happening and how to get it to happen. The problem was that because it was falling back into a transcode it instantly fell into the first bug which meant we couldnât do any follow on debugging because it effectively got stuck immediately after the error.
@dxhelios said:
Second one. I do not know, the reason, but switching to dash is obvious. And MP4/AC3 is using HTTP, then switching to dash should be the reason of transcoding - this what logic indicates to me. But bugs are not expected to be logical, right?
Switching to dash is because HEVC is not a valid target for HLS streaming. So if remuxing occurs it needs to switch to DASH to support the HEVC. Basically what you are seeing is it tries to play the original stream as is, the player is rejecting the stream, the app sees the player reject the stream and automatically requests a remux to try and keep playing smoothly.
Now i am confused. I have never mentioned HLS. What HLS has to do with it? It is hard to capture behavior and after latest updates - todays console and Xbox One and I have also upgrade Plex Server today - Plex Xbox One player always displays stream type as dash⊠Bug is present but I will try to nail down the repro. Also when I perform Xbox to PC streaming while playing on Xbox One, HDR content is lost. I think most important first step is to either fix or doublecheck diagnostics stats on Xbox One - displayed information is incorrect - I need manually search through server client logs, this makes repro more difficult. Anyway, I will get back to you as soon as I create repro recording.
@dxhelios said:
Now i am confused. I have never mentioned HLS. What HLS has to do with it?
HLS is the default streaming protocol for almost every Plex App. Previously, there was a problem with the DASH protocol and HEVC streaming that prevented HEVC from working correctly. Because HLS doesnât support HEVC and DASH had a problem HEVC could not be streamed at all before. Now that HEVC in DASH is working HEVC can be streamed instead of force transcoded.
Since you are seeing the DASH Protocal that means your server is direct streaming the video and I would guess transcoding the audio. Most HEVC 4K videos I have seen have TrueHD audio which the Xbox currently cannot play so must be transcoded. Which is why you are seeing the Dash Protocol instead of HLS.
When direct playing you should see the protocol set to HTTP.
It is hard to capture behavior and after latest updates - todays console and Xbox One and I have also upgrade Plex Server today - Plex Xbox One player always displays stream type as dashâŠ
As I mentioned above if you are playing a 4K UHD video with TrueHD/HD audio it almost guaranteed to at a minimum direct stream the video which will switch the protocol from HLS to DASH. This is almost entirely dependent on the media being played along with the settings that are checked in the app.
Bug is present but I will try to nail down the repro.
We already know how to reproduce it, the problem is being able to do any debugging because of the other bug that isntantly locks the stream up.
Also when I perform Xbox to PC streaming while playing on Xbox One, HDR content is lost.
The transcoder does not support HDR to HDR transcoding yet. So anytime the video needs to be transcoded out of HEVC, HDR gets stripped out.
I think most important first step is to either fix or doublecheck diagnostics stats on Xbox One - displayed information is incorrect - I need manually search through server client logs, this makes repro more difficult.
The diagnostic stats on the Xbox One should be correct. If you are seeing something different from what the logs are saying let me know what it is and we can investigate why itâs displaying what it is.
@dxhelios said:
Now i am confused. I have never mentioned HLS. What HLS has to do with it?
that HEVC in DASH is working HEVC can be streamed instead of force transcoded.
Since you are seeing the DASH Protocal that means your server is direct streaming the video and I would guess transcoding the audio.
Clear, I meant DirectStream, not DirectPlay - my bad - updated title.
HLS = HTTP - it is clear now.
When direct playing you should see the protocol set to HTTP.
yes and that is what confused me - I see HTTP, then switch to DASH after 15 secs. I have recording - see below.
Bug is present but I will try to nail down the repro.
We already know how to reproduce it, the problem is being able to do any debugging because of the other bug that isntantly locks the stream up.
Also when I perform Xbox to PC streaming while playing on Xbox One, HDR content is lost.
The transcoder does not support HDR to HDR transcoding yet. So anytime the video needs to be transcoded out of HEVC, HDR gets stripped out.
I think most important first step is to either fix or doublecheck diagnostics stats on Xbox One - displayed information is incorrect - I need manually search through server client logs, this makes repro more difficult.
The diagnostic stats on the Xbox One should be correct. If you are seeing something different from what the logs are saying let me know what it is and we can investigate why itâs displaying what it is.
They are incorrect.
I have selected AC3 track. Stats show TrueHD.
Allow AC3 is set to false. Why? if it plays AC3
Allow EAC3 is set to false. Why? If Xbox supports Dolby Digital. Ok, maybe it is work in progress.
DirectPlay should not work. Stats show that DirectPlay is true.
Allow EAC3 is set to false. Why? If Xbox supports Dolby Digital. Ok, maybe it is work in progress.
DirectPlay should not work. Stats show that DirectPlay is true.
I spoke with the developers today to get some clarification/confirm what I was thinking.
The settings on the right is part of the shared back end. The allowAC3/eAC3 settings are not present in the Xbox Oneâs because the Xbox One so the diagnostic screen is displaying the default values. They do not actually affect the playback capability on the Xbox One. Because the xbox capabilities are already know there isnât a toggle for codecs it can play. (Codecâs it canât play shouldnât ever be a worry because theyâre already blacklisted by the MDE)
There is definitely something weird going on before hand, is it possible for you to post the log from when you start this video? I think it is only specific to the Xbox One X as I canât get anything similar to reproduce with the Xbox One S (And I donât have an X myself) and with what you gave us and the logs should clear up anything that should (or shouldnât be happening)
The issue where it starts to play in HDR, buffers, switches to transcording, then continues playing without HDR happens on the Xbox One S as well. I have both an X and an S and see the same behavior on both.
@TheRealDeria said:
The issue where it starts to play in HDR, buffers, switches to transcording, then continues playing without HDR happens on the Xbox One S as well. I have both an X and an S and see the same behavior on both.
Can you provide logs showing this?
The only way I can get that to happen on the S is using developer options to force something that should never be happening, so any other data points would be helpful. And even when I do force it into the mode either 1 of 2 things happens: It plays video with no audio and has 0 issues, or the video resets itself every 15 seconds but no actual buffering. The first behavior is what should happen with unsupported audio, the 2nd behavior is because the stream gets killed by the Xbox as it isnât something it is expecting to play. So any additional data points would be useful in determining what is happening as I canât get it to reproduce without forcing specific options that shouldnât be available âin the wildâ
@TheRealDeria said:
The issue where it starts to play in HDR, buffers, switches to transcording, then continues playing without HDR happens on the Xbox One S as well. I have both an X and an S and see the same behavior on both.
Can you provide logs showing this?
The only way I can get that to happen on the S is using developer options to force something that should never be happening, so any other data points would be helpful. And even when I do force it into the mode either 1 of 2 things happens: It plays video with no audio and has 0 issues, or the video resets itself every 15 seconds but no actual buffering. The first behavior is what should happen with unsupported audio, the 2nd behavior is because the stream gets killed by the Xbox as it isnât something it is expecting to play. So any additional data points would be useful in determining what is happening as I canât get it to reproduce without forcing specific options that shouldnât be available âin the wildâ
Sure. Let me collect the logs today. I understand scenario with unsupported audio and the issue (that is recorded) is generally fixed with converting to MP4/AC3 partially. You MUST have only one AC3 track and it should be MP4 container. I say partially because if you resume from sleep this may not work, if you switch from HDMI to headphones or back it may not work. I assume there are more bugs/issues related to how Plex works with the platform. I resolve most of the issues by restarting console, but this issue is annoying as requires unnecessary step of converting to MP4/AC3, it takes storage and time to perform.