wseemann / FFmpegMediaMetadataRetriever

FFmpegMediaMetadataRetriever provides a unified interface for retrieving frame and meta data from an input media file.
1.73k stars 387 forks source link

App crash FFmpegMediaMetadataRetriever #279

Open bqfa opened 1 year ago

bqfa commented 1 year ago
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

talhacomak commented 1 year ago

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.