ffmpeg-kit
ffmpeg-kit copied to clipboard
Support Linux Platform in Flutter
Any plans to add Linux support for FFmpegKit Flutter?
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.
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?
@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.
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
@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
.
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.
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? 😝
@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
Need Linux support in FFmpegKit Flutter.
Hello, any updates on this? also flutter windows support would be neat btw