This repository was archived by the owner on Jun 23, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
Crash on android 5 (ffmpegkit version 6.0.LTS) #809
Copy link
Copy link
Closed
Labels
androidAffect Android platformAffect Android platformbugSomething isn't workingSomething isn't workingfixed-in-v6.0-1libraryAffects the libraryAffects the libraryv6.0
Description
When i upgraded ffmpeg-kit from 5.1.LTS to 6.0.LTS, ffmpeg-kit caused a crash when executing. It worked fine on android 5.0 before.
Command:
"-y -ss 0.0 -to 9.798 -i \"/storage/emulated/0/Movies/lts/lts_20230818_164826.mp4\" -filter_complex \"[0:v:0] scale=540:960,setsar=1/1[v0];[0:a:0]atempo=1.0,volume=1.0[a0]; [v0] [a0] concat=n=1:v=1:a=1[conv][cona]" -map "[conv]" -map "[cona]\" -c:v libx264 -force_key_frames 'expr:gte(t,n_forced*1)' -preset ultrafast -r 30 -shortest /storage/emulated/0/Movies/lts/lts_20230828_220513_edited.mp4"
Crash log:
java.lang.Error: FFmpegKit failed to start on brand: samsung, model: SM-J320G, device: j3xlte, api level: 22, abis: armeabi-v7a armeabi, 32bit abis: armeabi-v7a armeabi, 64bit abis: .
at com.arthenica.ffmpegkit.NativeLoader.loadLibrary(NativeLoader.java:50)
at com.arthenica.ffmpegkit.NativeLoader.loadFFmpegKit(NativeLoader.java:189)
at com.arthenica.ffmpegkit.FFmpegKitConfig.<clinit>(FFmpegKitConfig.java:145)
at com.arthenica.ffmpegkit.FFmpegKit.executeAsync(FFmpegKit.java:207)
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "ANativeWindow_release" referenced by "libavutil.so"...
at java.lang.Runtime.loadLibrary(Runtime.java:372)
at java.lang.System.loadLibrary(System.java:988)
at com.arthenica.ffmpegkit.NativeLoader.loadLibrary(NativeLoader.java:48)
at com.arthenica.ffmpegkit.NativeLoader.loadFFmpegKit(NativeLoader.java:189)
at com.arthenica.ffmpegkit.FFmpegKitConfig.<clinit>(FFmpegKitConfig.java:145)
at com.arthenica.ffmpegkit.FFmpegKit.executeAsync(FFmpegKit.java:207)

Metadata
Metadata
Assignees
Labels
androidAffect Android platformAffect Android platformbugSomething isn't workingSomething isn't workingfixed-in-v6.0-1libraryAffects the libraryAffects the libraryv6.0