Skip to content
This repository was archived by the owner on Jun 23, 2025. It is now read-only.
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

@maom87

Description

@maom87

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) 
Screen Shot 2023-08-29 at 14 58 00

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions