Video playback working on everything except Steam Deck

We have some preview video content that we render in our UI using unity’s Video Player. It works perfectly on Android, iOS, Switch, PC (via Steam) and PS4 - but not on Steam Deck.

On the Deck we get either a rainbow-coloured test card (newer model Deck) or a strange shearing effect:

8878605--1212840--upload_2023-3-15_15-28-43.png

Everything else about the game works just fine.

Could it be video resolution? Aspect ratio? Format? We’ve ticked ‘transcode’ and it made no difference.

Can you share a little bit more info? On what version of Unity are you? What video format are you using? Are you building for Linux or are you using something like Wine to run the game?

My assumption is you are maybe playing an mp4 using Wine and the bridge between MediaFoundation and GStreamer broke somewhere. You said you tried transcoding but did you change the codec to VP8 instead of auto?

All we’re actually doing at the moment is running the version we build and upload for PC Steam on a (couple of) Steam Decks. We haven’t yet properly focused on it as a platform.

I’ll try changing the codec for the next build - thanks very much!

VP8 has worked; thank you!

1 Like

Would there be a solution in which we dont have to change the codec? Maybe exporting the video in another format? Fix this broken bridge somehow?