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

flutter_ffmpeg pub get error #46

Open
devsakil opened this issue May 4, 2023 · 2 comments
Open

flutter_ffmpeg pub get error #46

devsakil opened this issue May 4, 2023 · 2 comments
Labels

Comments

@devsakil
Copy link

devsakil commented May 4, 2023

The plugin flutter_ffmpeg uses a deprecated version of the Android embedding.

To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.
exit code 0

@harshhhh15
Copy link

This is a warning message that indicates that the flutter_ffmpeg plugin is using a deprecated version of the Android embedding, which means it may not work properly with future versions of Flutter. The warning message suggests that you check if the plugin supports the Android V2 embedding, and if not, consider removing it.

To check if the plugin supports the Android V2 embedding, you can refer to the plugin's documentation or contact the plugin author. If the plugin does not support the V2 embedding, you can consider removing it and looking for an alternative that supports the latest Android embedding.

If you are the plugin author, you can refer to the Flutter documentation on migrating plugins to the V2 embedding to update your plugin. The migration process involves making changes to the plugin's Android code and updating the plugin's pubspec.yaml file to use the flutter.plugin.platforms key.

@Artx-II
Copy link
Member

Artx-II commented May 12, 2023

This warning happens because current flutter_ffmpeg package is a fork of the original one with modifications for SongTube and has never been updated before.

I will leave this issue open because sooner or later this package needs to be updated, and it will require a fair bit of changes on SongTube's ffmpeg wrapper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants