Chromecast 4k Google TV Android 12 update just released has broken direct play

Plex switches the display mode, it doesn’t need any setting on the OS to be enabled, framerate matching on the OS also tries to switch the refresh rate the TV is using based on the video that is being played. If Plex switches display mode after Android OS attempts to switch refresh rate mode then you can end up with 2 systems attempting to keep things in sync. Either use the Plex setting to keep the display mode synced up, or just the Android OS to keep the TV’s refresh mode synced up.

Sadly there’s not much to go off in the logs, could you try disabling the subtitles and see if the problem still occurs? If so, don’t suppose you could share these two files with me via the Plex sharing system? (Username is sixones). I will then try to replicate.

Don’t suppose you have framerate matching on in the OS as well?

The only viable setting then is to enable framerate matching for Chromcast and disable it for Plex because there will be other streaming apps/players on the device that want to use the OS framerate matching, it’s very likely Plex is not the only app that people use.

Based on this Reddit thread, it seems that Plex (and Kodi) need to switch to a new Android 12 API, is that correct?
https://www.reddit.com/r/AndroidTV/comments/xro84w/current_state_of_frame_rate_matching_in_android/

Still happens whether or not subtitles are on or off. The issue is independent from the match frame rate bug. I have it both disabled from the app and os settings. Also the beta doesn’t fix it either. I can create a few 2 minute samples for both the 4k dv buffering and 1080p stuttering and share them by the evening.

And just making sure this is happening on the Chromecast with Google TV with Android TV 12

Kind of, its problematic though theres basically the old way of doing framerate matching where we get full control and decide what mode and resolution we select, or we tell Android the framerate of the video and Android will pick the mode it thinks is best for all apps that are currently running - only for the refresh rate and not the resolution.

The problem is, we want to be absolutely sure we select the correct refresh rate and a specific display mode that works best for the video being played. If you disable refresh rate switching inside of Plex, it should use the Android OS framerate matching already - as ExoPlayer does this for us.

I will double check in the morning to clarify this behaviour as we might be untentionally disabling it.

1 Like

If you could, that would be very helpful. Once you’ve created the samples can you double check that they reproduce the problem?

Ok I sent a share request with 6 samples, 3 1080p rips that have stutter and 3 DV rips which buffer after seeking. With the DV rips I made one in profile 8, one is in profile 7 FEL and another profile 7 MEL.

Also confirmed the samples do have the issue

1 Like

FWIW, Kodi has the same problem of choppy video and audio out of sync on Chromecast with Android 12, with audio pass-through enabled.

2 Likes

I tried disabling frameratematching in Android OS settings. Audio is stille out of sync. Before this latest beta these issues were not present.

That seems odd, the beta only changed how we detect that the TV display mode has been updated. If this is causing problems, the only solution would be to wait for Google to fix the HDMI mode change listener which they broke in the Android 12 update.

Thanks, will check them out today.

Did some more testing. In Android settings Match Framerate is enabled.
In Plex HDMI audio is passthrough.
If either Match Framerate or Match Screenresolution is on in Plex audio is out of sync. Disabling both and Audio is OK.

Aaah I tested, same thing with VLC too :sob:

Did you try with audio pass-through disabled?

How do things play when match framerate on the system is disabled?

Here’s a build that will enable Match Framerate support, to use the system level framerate matching you will need to disable Refresh and Resolution Switching inside of Plex.

Armv7: https://artifacts.plex.tv/android-experimental/9.12.0.36209-be19a65d/PlexForAndroid-9.12.0.36209-be19a65d-Armv7aGooglePlay.apk

1 Like

I will try actual beta 9.11.0.36101 disabling system match framerate and later with this new beta build 9.12.0.36209 and report here.

Thanks for your support and feedback @sixones

1 Like

I am on the beta version 9.11.0.36101. With Match Framerate set to Never in OS and Refresh Rate Switching and Resolution Switching set to Off in Plex. I get 1 second of video played in 30 seconds and then pauses for 30 seconds on any File that is H264 Level 4.1 with 4 Ref Frames when Direct Played. H264 Level 4.1 with 2 Ref Frames will play fine.

Hi all, just tested.

  • Beta 9.11.0.36101 disabling system match framerate: behaves the same.
  • Beta 9.12.0.36209 enabling system match framerate and disabling Plex match framerate: Plex DON’T match framerate.
  • Beta 9.12.0.36209 enabling or disabling system match framerate and enabling Plex match framerate: Plex DO match framerate.

With every of the above setups, Plex can play almost every Dolby Vision titles from begining, but it loses DV processing when jumping forward and backward or changing chapters.
No issues with other HDR or SDR titles, only with DV ones.

I’ve got my CCwGTV connected to my OLED TV and with ARC to my AVR with HDMI audio passthrough. No audio sync issues in my setup.

Thanks for help.

2 Likes

Thanks for reporting, I guess the systems match framerate isn’t beneficial for us compared to the manual switching we do.

Would you be able to share the logs of this happening?