video-transcoder icon indicating copy to clipboard operation
video-transcoder copied to clipboard

I am getting error while adding dependency of FFMpeg

Open sunil-singh-chaudhary opened this issue 5 years ago • 4 comments

ERROR: Failed to resolve: protect:android-ffmpeg:release

dependency error pls help how to resolve it

sunil-singh-chaudhary avatar Jun 20 '19 10:06 sunil-singh-chaudhary

How do you want to build? Gradle? Android Studio?

licaon-kter avatar Jun 20 '19 10:06 licaon-kter

i am trying to build and now getting error with the dependency i use this dependency implementation 'nl.bravobit:android-ffmpeg:1.1.7@aar' instead of this implementation 'protect:android-ffmpeg:release@aar' but now getting more errors in android studio

sunil-singh-chaudhary avatar Jun 20 '19 10:06 sunil-singh-chaudhary

The ffmpeg android dependency is from https://github.com/brarcher/ffmpeg-android. There should be a binary build of that project included in https://github.com/brarcher/ffmpeg-android-java, when is then included in Video Transcoder. Building with gradle should work without issue, as that is how I build releases. Do you have local changes you are trying to include, or are you simply building from the master branch?

brarcher avatar Jun 22 '19 01:06 brarcher

YES actually i find the solution . for others who hv the same error it mainly due to new build.gradle dependency nl.bravobit:android-ffmpeg:1.1.7@aar insist of you can use ### nl.bravobit:android-ffmpeg:1.1.1@aar

sunil-singh-chaudhary avatar Jun 22 '19 04:06 sunil-singh-chaudhary