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

MissingPluginException(No implementation found for method listen on channel flutter.arthenica.com/ffmpeg_kit_event) #258

Open
AtharvShinde2004 opened this issue Feb 18, 2025 · 1 comment

Comments

@AtharvShinde2004
Copy link

I have not added ffmpeg_kit package in my pubspec.yaml still it throws this error then i came to know that video trimmer uses this package which is auto downloading the ffmpeg package with latest version of 6.0.3, i tried lots of fixes but it wont fixed then when i researched i came to know that the ffmpeg is retired from flutter.

  1. What now?
  2. How can we fix this error?
  3. Is this error fixable?
  4. How will video trimmer will deal with ffmpeg retirement?
======== Exception caught by services library ======================================================
The following MissingPluginException was thrown while activating platform stream on channel flutter.arthenica.com/ffmpeg_kit_event:
MissingPluginException(No implementation found for method listen on channel flutter.arthenica.com/ffmpeg_kit_event)

When the exception was thrown, this was the stack: 
#0      MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:368:7)
<asynchronous suspension>
#1      EventChannel.receiveBroadcastStream.<anonymous closure> (package:flutter/src/services/platform_channel.dart:715:11)
<asynchronous suspension>
@karthikeyan9952
Copy link

Go to C:\Users\{username}\AppData\Local\Pub\Cache\hosted\pub.dev\video_trimmer-4.0.2

Then open the pubspec.yaml file

You can find the implementation of ffmpeg_kit_flutter

Replace the ffmpeg_kit_flutter with the following code

  ffmpeg_kit_flutter:
    git:
      url: https://github.com/MSOB7YY/ffmpeg-kit
      path: flutter/flutter

Example

Image

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

No branches or pull requests

2 participants