ffmpeg-kit icon indicating copy to clipboard operation
ffmpeg-kit copied to clipboard

Support Linux Platform in Flutter

Open jcoopeky opened this issue 2 years ago • 10 comments

Any plans to add Linux support for FFmpegKit Flutter?

jcoopeky avatar Nov 10 '22 17:11 jcoopeky

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 avatar Nov 10 '22 17:11 tanersener

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 avatar Nov 11 '22 04:11 RajLogistic

@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.

tanersener avatar Nov 11 '22 08:11 tanersener

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 avatar Jun 08 '23 00:06 quazar-omega

@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.

tanersener avatar Jun 11 '23 21:06 tanersener

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.

sgehrman avatar Jun 14 '23 08:06 sgehrman

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 avatar Jun 14 '23 09:06 quazar-omega

@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

quazar-omega avatar Jun 14 '23 09:06 quazar-omega

Need Linux support in FFmpegKit Flutter.

true2thepen avatar Aug 06 '23 18:08 true2thepen

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

Bonfra04 avatar Feb 11 '24 12:02 Bonfra04