-
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
Enable ffmpeg by default and build FAudio with it #2082
Enable ffmpeg by default and build FAudio with it #2082
Conversation
This is so ld can find ffmpeg when required by faudio.
wine LDFLAGS: Add lib path to -rpath-link
A possible optimization would be to remove FFmpeg from this repo and link to the Steam Runtime’s copy instead. The licensing limitations are the same for both projects, that would just make it so we’re building one less thing in Proton. I’d also need to tweak FAudio a bit to use WMAERROR even when HAVE_FFMPEG is defined; not difficult but would make the user experience nicer when it’s not there. |
The Steam Runtime seems to have a super old version of Libav (a fork of FFMpeg). I'm not sure if FAudio will be able to link to it. |
changed to current branch and cleaned up conflicts, + added ffmpeg to dist: target |
Any progress? |
@soredake Have the patents expired yet? |
By the way, which patents are they? |
IANAL but I think some of them fall under the VC-1 bundle, but the complete list is unknown. ASF expired a few years ago though! https://patents.google.com/patent/US6041345 EDIT: Was looking at the application status, which is always today... |
WMA v2 is old. It looks like the decoder in ffmpeg is over 17 years old, and I would expect any patents on the process or format to be even older. Aren't US patents limited to 20 years from the filing date? Is there someone in the community who knows which patents make WMA decoding unsuitable for inclusion in Wine? It would be a pity to reject a useful audio decoder based on speculation or FUD. At the very least, knowing which patents we're afraid of would allow planning a date for making progress. |
I'm by no means an expert, but I found https://wiki.multimedia.cx/index.php/Windows_Media_Audio mentioning https://patents.google.com/patent/US20050015246A1/en?oq=20050015246 and https://patents.google.com/patent/US20050015259A1/en?oq=20050015259 which both seem to be still valid until early 2026. |
@tgurr Both seems related to audio encoder algorithm, not decoder. |
Also, ffmpeg's WMA decoder (including WMAv2, used for xWMA games) already existed for several years before the dates on those patents. Another reason to doubt that they apply here. |
Debian/ubuntu ship ffmpeg and faudio with ffmpeg support enabled. |
I have an issue with ffmpeg proton builds in Skyrim SE. No sound is played except the intro logo. It works fine in official proton with xaudio and the required hacks. |
FAudio now only needs |
Closing this as the functionality has now been replaced with gstreamer |
It was suggested that I make a PR with the necessary changes for faudio to be built with ffmpeg in proton and enabled in wine, so here we are.