Skip to content
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

Support Linux Platform in Flutter #624

Open
jcoopeky opened this issue Nov 10, 2022 · 10 comments
Open

Support Linux Platform in Flutter #624

jcoopeky opened this issue Nov 10, 2022 · 10 comments
Labels
enhancement New feature or request flutter Affect flutter platform library Affects the library linux Affects linux platform v5.1 Affects v5.1 release

Comments

@jcoopeky
Copy link

Any plans to add Linux support for FFmpegKit Flutter?

@tanersener
Copy link
Collaborator

There are not too many people asking for Linux support on flutter. So, it's not a high priority item on our list.

We want to support it, since we have a native C++ API. But we have a problem, distributing Linux binaries. There is no standard way to distribute a library on Linux. Each distribution has its own package manager. And, publishing ffmpeg-kit for each distribution is quite an expensive solution that we try to avoid. We need a more sustainable solution for that.

@tanersener tanersener added flutter Affect flutter platform library Affects the library linux Affects linux platform v5.1 Affects v5.1 release enhancement New feature or request labels Nov 10, 2022
@RajLogistic
Copy link

i added this package
ffmpeg_kit_flutter_min_gpl: ^5.1.0 and i am getting platfrom exception error in iOS but works fine in android.
can anyone have idea about this?

@tanersener
Copy link
Collaborator

@RajLogistic I'm sorry but your issues & messages don't have enough detail to be able to make a comment. I suggest reading #215 if you are blocked and need help about it.

@quazar-omega
Copy link

Perhaps it could be packaged as a Flatpak, since Flutter apps are usually not distributed through official repos to begin with, but rather go through Flathub or the Snap store.
I don't know exactly what packaging something like this entails, but looking at existing Flatpak runtimes like the FFmpeg one and apps like Wine could be useful as a reference

@tanersener
Copy link
Collaborator

@quazar-omega We tried creating a snap for ffmpeg-kit last year. Unfortunately, we hit some issues and couldn't solve them. So, we stopped working on it. We may revisit snap in the future, when snap gets more mature.

Our research showed that Flatpak suits desktop applications more. And, since ffmpeg-kit is a library we haven't invested any time on Flatpak.

@sgehrman
Copy link

I would like linux support too. I like flatpak over snap, but would rather just have a rewrite in pure dart without all the GPL garbage. 2023 and we are still fighting arbitrary restrictions from autistic license geeks from the 80s.

@quazar-omega
Copy link

quazar-omega commented Jun 14, 2023

Most of FFmpeg is licensed under the LGPL v2.1, so it shouldn't be a concern for applications that make use of it as is. Also that bad mouthing of free software is a little out of place here, don't you think? 😝

@quazar-omega
Copy link

@tanersener There is a way to package libraries too, now I'm not knowledgeable about this, I only have the information of a user, so maybe if we can get the help of someone more experienced here it would be great.
But as I said, it might be possible to package this as a runtime, you only put libraries for other Flatpak applications to use in there, here's an initial source, what I don't know for sure is if a Flutter app can rely on a such a library. Unfortunately the most I can do right now is try to find somewhere to ask

@true2thepen
Copy link

Need Linux support in FFmpegKit Flutter.

@Bonfra04
Copy link

Hello, any updates on this? also flutter windows support would be neat btw

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request flutter Affect flutter platform library Affects the library linux Affects linux platform v5.1 Affects v5.1 release
Projects
Status: No status
Development

No branches or pull requests

7 participants