-
-
Notifications
You must be signed in to change notification settings - Fork 809
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
opening any animation generates a $HOME/libopenh264-2.4.1-linux64.7.so
file
#17209
Comments
This is somewhat intended right now, we need to download openh264 at runtime to comply with their license, and we use it for video decoding. We do that ahead of opening a SWF because we have no way of blocking a SWF that happens to need it. There's a preference to disable it, and I believe it downloads the lib to be adjacent to Ruffle - but I may be wrong. I'd of course prefer if we had a better place for it, but... @torokati44 may be able to chime in with more details too |
Many thanks for your reply, @Dinnerbone. I wonder why Ruffle is not able to detect the installed version:
Place is fine. My Ruffle binary is at I’m not closing the issue yet, since I guess Ruffle should be detecting openh264 installed on the system. Many thanks for your help again. |
I don't know if we're allowed to. From the license:
I suppose that if you've installed it from somewhere, the provider may be liable for those fees, but I'm not sure. Patents are hard. :( |
Thanks Dinnerbone for your replies! <3 Just curious, does the file installed on your system match exactly with the one downloaded by Ruffle (as in, it has the same checksum)? If not, then honestly, I wouldn't risk loading and running it... Not because it's any more risky (from a security standpoint) than any other system utility/library/driver/etc that we're loading at runtime, but more from an API stability and reproducibility standpoint. Also, yeah, #*@& software patents, I hate that we have to do this this way. One alternative would be to use hardware decoding (VA-API, Vulkan Video, etc...), but I don't see the benefits to be worth the effort - especially considering the suboptimal likelihood that it will actually work well, or even at all, on any random user's computer. |
@Dinnerbone & @torokati44, many thanks for your replies. I completely disabled the feature. I’m afraid there is a size mismatch 1.7MB (downloaded file) vs 1.1MB (installed file from OS) (there is a hash mismatch too).
You could say that from almost any feature in a computer (I’d rather say). Closing the issue myself, since I don’t want to waste any from your time on this (rather patently stupid) issue. Many thanks for your help and for your work with Ruffle. |
Describe the bug
On Linux (using this nightly),1 I generate an empty
file.swf
and open it with Ruffle to get:Besides I have to press Ctrl+C to get the command line back, I always get a file named
$HOME/libopenh264-2.4.1-linux64.7.so
.Expected behavior
No file named
$HOME/libopenh264-2.4.1-linux64.7.so
should be generated.Content Location
touch file.swf
displays the issue (no real content to trigger the issue is needed).Affected platform
Desktop app
Operating system
Fedora 40 (Linux)
Footnotes
I think the version info might be wrong:
↩The text was updated successfully, but these errors were encountered: