sbis04 / video_trimmer

Flutter video trimmer package
https://pub.dev/packages/video_trimmer
MIT License
440 stars 271 forks source link

Duplicate class I'm already using ffmpeg_kit_flutter_audio in my code: 5.1.0-LTS for audio conversion #190

Closed appstarsbiblia closed 1 year ago

appstarsbiblia commented 1 year ago

I'm already using ffmpeg_kit_flutter_audio in my code: 5.1.0-LTS for audio conversion, when you put the video_trimmer general the error, is there any way to solve it?

FAILURE: Build failed with an exception.

BUILD FAILED in 21s Exception: Gradle task assembleDebug failed with exit code 1

paulowender commented 1 year ago

I had this issue, but after remove dependence_override of my pubspec this issue has solved.

appstarsbiblia commented 1 year ago

i use it to convert audio inside my application, i try to use the package that ffmpeg-kit-https-5.1 but it doesn't have the libmp3lame library, so i can't use it!

appstarsbiblia commented 1 year ago

How do I remove? dependence_override

paulowender commented 1 year ago

image

I added this line before and had the problem, so I commented out the line and the problem was solved.

appstarsbiblia commented 1 year ago

I managed to download the entire project from video_trimmer, inside I changed the ffmpeg_kit_flutter: ^5.1.0-LTS to ffmpeg_kit_flutter_audio: ^5.1.0-LTS in my project I called the following!

ffmpeg_kit_flutter_audio: 5.1.0-LTS video_trimmer: path: ./video_trimmer

It's working!

sbis04 commented 1 year ago

Closing this issue (assuming it's solved)