-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The codecs and media frameworks support meta-tracker #1464
Comments
The problem is that there are games like Obduction that need Windows Media Foundation/Windows Media Feature support as they use a dll not installed otherwise by a wmv player like WMP. #327 So its not just being able to play a video, they literally need this dll (and whatever else is tied to it) to playback the video. UE4 games all have the option of needing this dll if it is used in a Windows release for video playback. Possibly Unity games as well. Although, as long as some version of it can be found by the game (and used), it could even just be a mock one that uses a different means. While, some games seem to be able to get by with WMP installed as far as I can tell from various posts on the internet, it would be better to go the whole mile and support more than just simple wmv format. WMV is a part of a whole pie. |
@byte1024 Oh, I didn't know that more might be needed beside just fixing "simple" .wmv file playback. I understand your point correctly:
|
It looks like there might even be more. The only log I found in all the links you posted (here: #137) needs quartz.dll to find system codecs and uses fmod for in-game sound. The log for that one shows some stuff used in quartz.dll can't be found:
That's all I noticed in that log, but its easier to find this stuff when you know the filename of the video being played since a search goes right to it if its found in the log. And an explanation that Wine's quartz.dll is fake and missing stuff. And the corresponding log entry shows this is still true: Some seem to say quartz is a part of the WMP install, but quartz is also DirectShow (DirectX media) which was replaced with WMF that I mentioned. https://en.wikipedia.org/wiki/DirectShow and Microsoft also mentions WMF in the what's new section of DirectShow: https://docs.microsoft.com/en-us/windows/desktop/directshow/whats-new-in-directshow Its a media pie, all these pieces are a part of it, but Wine has been failing on them and now Proton is too. |
Wine has a directshow implementation, which depends on gstreamer. Since we can't depend on the system having gstreamer installed, we will need to build and ship it with Proton. Worse, we also would need to ship the codecs, which may have patent/licensing issues. It hasn't been looked into yet. Wine does not have a MF implementation yet. There's some work being done on it, but it's not nearly ready. If anyone is looking to contribute to Wine, that may be a decent place to get started. |
+1 I have tried a lot of different configurations. Tried Proton 3.16-4 beta and 3.7-8 |
VLC has it’s own codecs, afaik. |
+1 it affects all Blazblue games. I tried manually installing quartz into their prefixes which doesn't work with a proton prefix but with a normal wine one. |
this also effects the new RE2 |
Hello @james-munson, the libraries you've shared are not free and it's problematic to redistribute them. |
The pattern is to be expected if it’s not converted yet. Sounds like video and sound were separate from each other. And the queue is slow, I added (or tried to) some videos three weeks ago and they are still not converted yet. |
Guilty Gear X2 #Reload (314030) the opening video was fixed, it can be watched as soon as you open the game, or in the gallery screen, but there is an video on gallery called Extra, that show the colors bars: as you can see the color bars dont fill in the whole screen, i suppose they should? waiting a few seconds on the title screen do work (activate some presentation between 2 characters fighting.) the game is slow, im pretty sure that my computer can run it faster than that (even on protons, an old version was able to start the fights but not to play the videos) i will try to close a few windows to see if i can get an better performance or maybe its a bug on the new version of proton. btw: waiting on the buged video (colors bars) may crash the game. i forgot to mention, before you open the game, you have to chose if you want to open the game or configure the settings, the configure settings windows isnt completely rendered, and you cant resize, you cant read what is writen on the right side of this window. |
This seems to be a problem for Spyro Reignited Trilogy. MP4 video formats don't play back, it just skips over them. Something related to mfplat.dll |
Ditto on Spyro having problems This game really should not be deck verified if it doesn't work out of the box yet |
Guilty Gear X2 #Reload (314030) |
Hello @FanderWasTaken, your comment was removed because your workaround references a legally problematic workaround. |
Do you have demo which play sounded video at start? In various formats: wmv+wma pro, wmw+wma etc. It was very useful at automated testing. |
There was a regression with Rogue Heroes: Ruins of Tasos (787810) which worked prior to April 2024. I thought I'd mention it here due to the following appearing in the logs:
|
With the release of Kingdom Hearts on Steam, I've found that attempting to play the games on Fedora 40 doesn't load the FMVs still, despite the issue apparently being absent on the Steam Deck as reported by multiple outlets. I've already installed all ffmpeg and Multimedia group codecs and tried to force the games to run through Proton GE 9.0-7. The videos do not render. |
The game has deck specific repos for the cutscenes, this won't download those ones but can you launch the game with SteamDeck=1 %command%? Would like to know if they're just compressed or a different codec. |
This completely solved the issue! Played immediately in Re: Chain of Memories. Thank you so much! |
So the video codecs are completely fine and non proprietary, the player itself is what fails? What's up with that? This would make the metal gear collection and KH both games that use the same cutscene files internally but require a special command to switch the player? Bypass something? I have no idea. |
@kisak-valve Apologies, but is it possible to look into why SteamDeck=1 allows the same supposedly proprietary videos to play in the Kingdom Hearts 1.5 + 2.5 collection? It's absolutely not changing what files its using and this same behavior can also be observed with the metal gear master collection digital comics. |
@Bitwolfies May I inquire as to what exactly you have installed? Because simply setting Is it somehow possible to download and play the Steam Deck depot on desktop Linux? Edit: Apologies, the question was supposed to be targeted at @powerofthe69 |
FWIW, that isn't surprising at all. There's about a million ways old and new to play media on Windows; some have a working implementation in WINE/Proton, some don't (thus the "media frameworks" in the thread title). Some game engines do in fact have (debug) options that allow choosing the playback method, and often switching to a different one is all that's required to make videos work on Linux. Any codec issues are orthogonal, on top of that. |
Honestly, I'm not entirely sure which codec the game is using. I have ffmpeg-full installed from the rpmfusion repos, and I installed the DNF group "Multimedia" to be safe. Between the two, I'd assume they have any necessary codecs bundled up. I didn't need to find a hack to enable the Steam Deck repos. |
Has anyone already tried the variable "SteamDeck=1" on the epic version? |
I finally tried it for myself, and yes, SteamDeck=1 allowed playback of video files. I cannot recall exactly at this second but I opened one of the videos in a hex editor, and it mentioned another video player software, one you integrate into your applications. The videos don't appear to be normal MP4's, nothing I have will play them outside the game itself, and mediainfo won't tell me anything about them. So we have a bunch of MP4's that can't be played on their own, but can in game either using a built in windows player, or potentially a fallback one when steamdeck=1 is enabled. |
How did you pass this variable to the Epic version? Are you using Epic as non steam or Heroic? Because i got black screen when using Heroic. |
You can get the Deck repos if you use something like steam depot manager or boot steam in developer mode and type the right command to download the repo. However, I can confirm the only changes to the deck videos is simply they're compressed, no other changes were made. |
Sorry, I never attempted this on epic, it was meant to be a general post. |
Do you have any ideas to see how to do it for the Epic version? could you check the executables and cutscenes to see if there is anything that could be done? |
If you want to use local decoding via a privately-maintained or community fork of Proton that contains ffmpeg and a full gstreamer installation (there are good reasons one may not want or cannot use the server-side transcoding solution being pushed), I suggest outright disabling the media-converter plugin which seems to get in the way and cause skips in cases where local decoding would work even if |
To all who read this issue report and thread:
I've migrated the tables to my repository at https://github.com/HonkingGoose/proton_codecs_media_support_tracker
If you want to update a table entry, you can open a pull request there. 😉
This way I don't need to keep track of changes all by myself.
Proton 5.13-1 has improvements for some games. Some
quartz
games may start working now.Quote from @aeikum original comment here
Feature Request
I confirm:
contain this feature already.
Description
There are multiple games which use .wmv (Windows Media Video) files, for their cinematics/cutscenes. These files will not be played back in-game on a standard installation of the game using Proton.
Because I've seen multiple bug-reports with regards to .wmv file playback, I wanted to make a generic request, so it doesn't get lost in between all the specific game issues.
Justification
There are multiple games which have .wmv file playback issues, these games use .wmv for cutscenes, and so are a integral part of the story and experience of the games which use it.
For #137 the fix for .wmv files would probably make the game ready for official whitelist process.
There might be other games which would qualify for whitelisting too, after this feature has been implemented.
Integration into Proton would fix .wmv file playback for the games referenced below.
Risks
References
The old tables can be seen from the edit history. I recommend you use the newer tables in my repository though.
The text was updated successfully, but these errors were encountered: