Open ritesh94 opened 6 years ago
Confirmed this bug. You can use ffmpeg 3.2.1-1.3 with javacv 1.3 for the moment.
@CrazyOrr Using the above version with other Gradle dependencies give me an Unsatisfied link error
Caused by: java.lang.UnsatisfiedLinkError: org.bytedeco.javacpp.avutil
Try the latest version of JavaCV and ffmpeg, with 64-bit support, has this issue fixed already:
dependencies {
...
def javacvVersion = '1.4.2'
def ffmpegVersion = '4.0.1'
compile(group: 'org.bytedeco', name: 'javacv-platform', version: javacvVersion) {
exclude group: 'org.bytedeco.javacpp-presets'
}
compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: "${ffmpegVersion}-${javacvVersion}"
compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: "${ffmpegVersion}-${javacvVersion}", classifier: 'android-arm' // for 'armeabi-v7a'
compile group: 'org.bytedeco.javacpp-presets', name: 'ffmpeg', version: "${ffmpegVersion}-${javacvVersion}", classifier: 'android-arm64' // for 'arm64-v8a'
}
Tried the latest version of JavaCV and ffmpeg, with 64-bit support, But problem remaining.
setting the pixel format:
build.gradle
Tried the following too, but no luck: 1.
2.