FFmpegMediaMetadataRetriever
FFmpegMediaMetadataRetriever copied to clipboard
App crash FFmpegMediaMetadataRetriever
val retriever = FFmpegMediaMetadataRetriever()
retriever.setDataSource(filePath)
Got below error
Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 27118 (Thread-14), pid 18324 (pp.myplayer)
Process name is com.playerapp.myplayer, not key_process
Cmdline: com.playerapp.myplayer
pid: 18324, tid: 27118, name: Thread-14 >>> com.playerapp.myplayer <<<
#01 pc 0000000000031e04 /data/app/~~1vxJzZtgGEdayQjr5CVtEQ==/com.playerapp.myplayer-XHF5OQmaTAQjE2tkYDKbTw==/base.apk!libswscale.so (sws_setColorspaceDetails+1772
)
Device : OPPO CPH2213 (OPPO F19 Pro+ 5G) OS: Android 13
I have an UnsatisfiedLinkError: dlopen failed: cannot locate symbol "avcodec_get_name" error at 'val retriever = FFmpegMediaMetadataRetriever()' line. Tested on Android 10, arm64-v8a architecture smartphone.