Chromecast with Google TV Playback Issues

Hi there.

I am having issues with the Plex app on Chromecast with Google TV. Basically there are a large number of files where I get errors when I try to play them. The error I get is “an error occurred while attempting to play this video”

I don’t believe it to be a network issue as the Plex app on the Samsung TV works fine for the same files/episodes/movies as well as on devices like my phone.

Any help would be appreciated.

Many thanks.

Can you play one of the files you get the error with and then get the android logs

Sure, attached the logs. Error can be seen at the bottom. Thanks a lot @bigwheel.
plex logs.txt (1.0 MB)

Could you please provide a sample file? That way we can look into it more :slight_smile:

Sure, sample attached

Sample.zip (19.9 MB)

Thanks for sharing the logs and sample, it looks like an issue setting up the audio driver on your device for this video.

Would you be able to capture an Android bug report after replicating the issue in Plex and sharing it with me?

Thanks, I am having trouble finding how to extract a bug report from android tv. I go to Dev Options, select Bug Report then nothing else follows up after submitting. There’s no option to share to an email or anything. Can you help with this?

Ah yeah Android TV devices lack anyway to share them, do you have access to ADB on a computer? If so, you can grab them via adb pull /bugreports/filename or make a new one with adb bugreport > bugreport.txt. If not, then you should be able to access /bugreports via a file explorer on your device, and then use the file explorer to share them.

Hopefully have done it right…
BugReport.zip (5.4 MB)

That’s right! How did you get it in the end?

Sadly there doesn’t appear to be anything of interest in the logs that indicate an error. :sob:

If you used adb, can you try running; adb logcat > logs.txt and then replicate the issue on your device? There is some decoder error happening but there’s not enough information in our logs to say why it happens, just that the hardware decoder failed.

If possible as well, could you share the original file, or confirm if the issue happens in the sample you created?

I used adb. I have hopefully attached the correct logs
logs.txt (6.2 MB)

In terms of the issue, it’s only happening on my Chromecast with Google TV and its numerous video files (some work, some have the same issue). I don’t have any issues on my other devices.

Thanks that has a more detailed error in from the hardware decoder. It looks like there’s to many audio processes open and we can’t create a new one.

Would you be able to try this APK and see if it is still an issue, it doesn’t contain anything specific to do with audio but it does improve the player performance. If this doesn’t help, I will make a few other builds that limit our software decoder’s output to a lower number of channels and sample rate, as this could also be the cause.

Armv7: https://artifacts.plex.tv/android-experimental/9.9.0.34973-4dfa02f3/PlexForAndroid-9.9.0.34973-4dfa02f3-Armv7aGooglePlay.apk

Hey Sixones. I tried the APK but it had the same error unfortunately.

Is there anything else I can try my end? I am surprised if I am the only one that has this issue as I am using pretty standard hardware and setup.

Thanks for all your help though, it’s much appreciated

What kind of setup do you have for the Google TV? Might be worth trying a full reboot of the device or killing some other apps, I saw in your bug report that Twitch was holding an audio pipeline open, perhaps other apps are holding onto audio resources?

Can you reproduce on the sample? We’ve tried here on two different devices / setups but haven’t been able to reproduce with the sample.

I have Google TV attached to a Samsung Frame attached to a Sonos Beam Soundbar.

I agree, will try a wipe and reboot on the device. All of my testing and logging has been done by going straight into the Plex app not he device and not opening any other apps. For example, I’ve not used twitch in months. Will do a fresh boot and only load Plex and see what happens.