react-native-video-processing
react-native-video-processing copied to clipboard
signal 6 (SIGABRT)
Current Behavior
App crashes on Android when loading VidePlayer component for some videos, but works fine for other videos:
signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 05-15 17:21:10.817 20034 20034 F DEBUG : r0 00000000 r1 00004dd8 r2 00000006 r3 00000008 05-15 17:21:10.818 20034 20034 F DEBUG : r4 00004da2 r5 00004dd8 r6 c7f78278 r7 0000010c 05-15 17:21:10.818 20034 20034 F DEBUG : r8 00000000 r9 00000002 sl 00000000 fp b04c2428 05-15 17:21:10.818 20034 20034 F DEBUG : ip 00000000 sp c7f78268 lr e976c417 pc e979c97c cpsr 200b0010 05-15 17:21:10.820 20034 20034 F DEBUG : 05-15 17:21:10.820 20034 20034 F DEBUG : backtrace: 05-15 17:21:10.820 20034 20034 F DEBUG : #00 pc 0004a97c /system/lib/libc.so (tgkill+12) 05-15 17:21:10.820 20034 20034 F DEBUG : #01 pc 0001a413 /system/lib/libc.so (abort+54) 05-15 17:21:10.820 20034 20034 F DEBUG : #02 pc 00041288 /data/app/com.coworkers-wIWMj34Dali4XYFg-oRfEw==/lib/arm/libswscale.so (sws_setColorspaceDetails+832)
I'm guessing this has something to do with the FFMPEG library issue when using FileDescriptors:
https://github.com/wseemann/FFmpegMediaMetadataRetriever/issues/123
Is anybody else facing this issue?
My file path looks like: content://media/external/video/media/232
Expected Behavior
App should not abort
Your Environment
software | version |
---|---|
react-native-video-processing | current (master branch) |
react-native | 0.53.3 |
node | 9.5.0 |
the same as you,but in my case is the video file error
@zivids Were will able to fix this issue?
@barbaragomes I used FFmpegMediaMetadataRetriever to got video thumbnails bitmap,it crash frequently.Then I saved bitmap to phone and read from local,it works! But if the video file error, it also crash. So I think the FFmpegMediaMetadataRetriever something wrong
same issue :(