rurico / flutter_video_compress

Generate a new file by compressed video, and provide metadata. Get video thumbnail from a video path, supports JPEG/GIF. To reduce app size not using FFmpeg in IOS.
MIT License
188 stars 73 forks source link

App crash when selecting video from gallery #95

Closed justyouzxy closed 4 years ago

justyouzxy commented 4 years ago

devices:iphone 7plus OS:12.1 其他手机没问题,7plus一直会crash

( "0 libswiftCore.dylib 0x0000000105553c28 $ss17_assertionFailure4file4line5flagss5NeverOs12StaticStringV_A2HSus6UInt32VtFySRys5UInt8VGXEfU_yAMXEfU_yAMXEfU_Tf4xxxnn_n + 356", "1 libswiftCore.dylib 0x0000000105553c28 $ss17_assertionFailure4file4line5flagss5NeverOs12StaticStringV_A2HSus6UInt32VtFySRys5UInt8VGXEfU_yAMXEfU_yAMXEfU_Tf4xxxnn_n + 356", "2 libswiftCore.dylib 0x0000000105553e60 $ss17_assertionFailure4file4line5flagss5NeverOs12StaticStringV_A2HSus6UInt32VtFySRys5UInt8VGXEfU_Tf4xxxnn_n + 0", "3 libswiftCore.dylib 0x0000000105354118 $ss17_assertionFailure4file4line5flagss5NeverOs12StaticStringV_A2HSus6UInt32VtF + 340", "4 video_compress 0x00000001052c73c4 $s14video_compress12AvControllerC8getTrackySo07AVAssetF0CSgSo10AVURLAssetCF + 460", "5 video_compress 0x00000001052ccf40 $s14video_compress24SwiftVideoCompressPluginC16getMediaInfoJsonySDySSypSgGSSF + 440", "6 video_compress 0x00000001052cd9f8 $s14video_compress24SwiftVideoCompressPluginC12getMediaInfo33_7D7252D69F84E8D88FBF790A59CD25A7LLyySS_yypSgXEtF + 236", "7 video_compress 0x00000001052ca008 $s14video_compress24SwiftVideoCompressPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctF + 4840", "8 video_compress 0x00000001052cb534 $s14video_compress24SwiftVideoCompressPluginC6handle_6resultySo17FlutterMethodCallC_yypSgctFTo + 152", "9 Flutter 0x0000000102d87270 45-[FlutterMethodChannel setMethodCallHandler:]_block_invoke + 116", "10 Flutter 0x0000000102d1e07c _ZN7flutter15PlatformViewIOS21HandlePlatformMessageEN3fml6RefPtrINS_15PlatformMessageEEE + 504", "11 Flutter 0x0000000102d7788c _ZNSt3110function6__funcIZN7flutter5Shell29OnEngineHandlePlatformMessageEN3fml6RefPtrINS2_15PlatformMessageEEEE4$_32NS_9allocatorIS8_EEFvvEEclEv + 80", "12 Flutter 0x0000000102d2e928 _ZN3fml15MessageLoopImpl10FlushTasksENS_9FlushTypeE + 1616", "13 Flutter 0x0000000102d30c8c _ZN3fml17MessageLoopDarwin11OnTimerFireEP16CFRunLoopTimerPS0_ + 32", "14 CoreFoundation 0x00000001e555c804 0x00000001e54b0000 + 706564", "15 CoreFoundation 0x00000001e555c534 0x00000001e54b0000 + 705844", "16 CoreFoundation 0x00000001e555bd68 0x00000001e54b0000 + 703848", "17 CoreFoundation 0x00000001e5556c44 0x00000001e54b0000 + 683076", "18 CoreFoundation 0x00000001e55561cc CFRunLoopRunSpecific + 436", "19 GraphicsServices 0x00000001e77cd584 GSEventRunModal + 100", "20 UIKitCore 0x00000002127cd054 UIApplicationMain + 212", "21 Runner 0x0000000100521f30 main + 80", "22 libdyld.dylib 0x00000001e5016bb4 0x00000001e5016000 + 2996" )