How to Tackle Media Foundation Issues in Games Right Now?

-

I’m looking for some advice on handling games that use Media Foundation, as I’m running into some challenges and can’t find clear, updated information. There was a time when attempts were made to reverse-engineer the Media Foundation libraries, but it seems like that project never really took off. Instead, Valve started re-encoding videos for their Steam releases. I also recall Proton-GE had builds that included Media Foundation support.

Currently, I’m struggling to get videos to play in a non-Steam game using Heroic or Lutris. The game appears to use the Cinepak codec within an AVI file, which I’ve barely researched. I’ve noticed that Wine 10 made some attempt since I caught the flicker of a video frame before the game crashed. I didn’t dive deeper into Wine yet, but I’m curious about why Proton-GE isn’t resolving my issue.

The game may potentially use something other than Media Foundation. I keep hitting a test pattern in Proton-GE when I expect a video, which reminds me of past experiences with Media Foundation problems. So I’m really hoping someone can shed light on the current state of Media Foundation in Proton. Shouldn’t it be functioning correctly, or am I merely facing a strange edge case? Would installing Media Foundation through Winetricks or a third-party script help, considering I’ve heard reports of issues with standard Winetricks installations?

2 Answers

WineWarrior88 -

Wine has improved its support for Media Foundation significantly. Some titles, like Blood West, began working seamlessly with cutscenes for me after updates. Not sure how Proton tracks those improvements, but it’s worth trying to see if things run smoothly right out of the box.

VideoVoyager77 -

That’s interesting! I remember Valve does some re-encoding on their end, especially for certain formats like WMV, to ensure videos work properly in their games. I thought they might handle all formats now since I haven’t faced issues with videos in Steam games recently.

CodecConqueror24 -

I had similar problems with Media Foundation a while back, but most of my games ended up using more standard codecs as time went on. It’s possible you’re running into a missing codec in GStreamer rather than a Media Foundation issue specifically. You might want to test the video’s playback in a GStreamer-enabled app to figure it out!

RecodeRanger8 -

Thanks for the tip! I tried with SMPlayer and even tested it with a raw `gst-launch` pipeline just to be sure. Both worked fine! Your suggestion about codec issues led me to re-encode one of the videos into H264, and now it’s starting to render the first frame. Looks like it could just be a quirky codec situation after all.

Leave A Reply

RECENT LINUX QUESTIONS

Is Gaming on Linux with Nvidia GPUs Really That Bad?
Concerns about gaming performance on Linux with Nvidia GPUs and the potential impact of switching from Windows. View Answer
Can I Use My Windows Games on an External HDD with Linux?
Can I use my external HDD with Linux after using it with Windows for gaming on my new Linux Mint computer? View Answer
Why Does Lutris Keep Crashing Due to High RAM Usage?
Is Lutris crashing due to high RAM usage? Explore solutions to fix game crashes and optimize your setup. View Answer
Thinking About Switching to Linux, Need Some Advice!
Is switching to Linux worth it? Consider dual booting while keeping AVG, Adobe, and Faceit compatible. View Answer
Can I Use My External Hard Drive with Linux After It Was Used with Windows?
Can I still use my external HDD with games on Linux after it was used with Windows? What should I know? View Answer
Dealing with VRR Flickering Issues on Bazzite
Experiencing VRR flicker on Bazzite with GTA5? Let's explore potential solutions for a smoother gaming experience. View Answer

RELATED QUESTIONS

Why can't I get Gamescope to run on EndeavourOS with Wayland?
How to resolve issues running Gamescope on EndeavourOS with KDE and Wayland on an Nvidia RTX 3080 laptop? View Answer
Can I Use My Windows Games on an External HDD with Linux?
Can I use my external HDD with Linux after using it with Windows for gaming on my new Linux Mint computer? View Answer
Why Does Lutris Keep Crashing Due to High RAM Usage?
Is Lutris crashing due to high RAM usage? Explore solutions to fix game crashes and optimize your setup. View Answer
Can I Use My External Hard Drive with Linux After It Was Used with Windows?
Can I still use my external HDD with games on Linux after it was used with Windows? What should I know? View Answer
Why does Dead by Daylight look so choppy even though it's locked at 90 FPS?
[Dead by Daylight] - Struggling to get Dead by Daylight's framerate right on a 180Hz monitor despite 90FPS locked? Let's troubleshoot together! View Answer
Having Issues with Doom: The Dark Ages Crashing on Start
Experiencing black screen issues with Doom: The Dark Ages on Linux? Here's how to potentially fix it. View Answer
Can I Play Overwatch on Linux?
[Overwatch] - Is it rational to play Overwatch on Linux given Blizzard's lack of native support and potential performance issues? View Answer
Which Proton Version is Best for Playing Doom: The Dark Ages?
[Doom: The Dark Ages] - Which proton version works best for Doom: The Dark Ages on AMD Ryzen 5 5500 & RX 7600? View Answer
Can I Connect Standalone Games to Steam and Play on My Steam Deck?
Can I link a game from my PC to Steam and play it on my Steam Deck without a launcher? View Answer
How's Black Mesa Running on the Steam Deck Right Now?
[Black Mesa] - How does Black Mesa perform on the Steam Deck? Insights on gameplay and performance issues shared by users. View Answer
Can I Play ZZZ on Linux Without Risking My Account?
[Mazemerizzz] - Can you play ZZZ on Linux without risking your account? Here's what you need to know. View Answer
Why Aren't My Steam Games Working on CachyOS?
[Plants vs Zombies: Garden Warfare 2 - Frosty Deluxe Edition] - Why do no Steam games work on CachyOS despite being rated 'gold' on protondb? View Answer