Open someshswami9 opened 1 month ago
the error is from ssl library. but I can't reproduce it. btw, 'VT' must be before 'FFmpeg', otherwise i will never be used because 'FFmpeg' support all codecs supported by VT
Yes I tried removing all the options and used the registerWith(); did the flutter pub cache clean and rerun again on my android physical device but still got the same error
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(media open error, invalid or unsupported media, null, null)
<asynchronous suspension>
#1 VideoPlayerController.initialize (package:video_player/video_player.dart:434:19)
<asynchronous suspension>
#2 DibsicalPostCardState.initState.<anonymous closure> (package:dibs/widgets/dibsical_post_card.dart:146:50)
<asynchronous suspension>
Also I got the Codec reported err 0xfffffff4/NO_MEMORY, actionCode 0, while in state 5/STARTING from MediaCodec
Even I tried this for single video player not on list but still I am getting error of MdkVideoPlayerPlatform.create (package:fvp/src/video_player_mdk.dart:249:7)
can you show me the full log? do you have 2 kind of errors? from previous log, the exception is from ssl error, video can be loaded, so no decoder is used.
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(media open error, invalid or unsupported media, null, null)
https://github.com/wang-bin/fvp/issues/1 VideoPlayerController.initialize (package:video_player/video_player.dart:434:19)
https://github.com/wang-bin/fvp/issues/2 DibsicalPostCardState.initState. (package:dibs/widgets/dibsical_post_card.dart:146:50)
This problem is solved by using registerwith() inside the initstate of the item in the list view instead of using in main.dart. but the
Codec reported err 0xfffffff4/NO_MEMORY, actionCode 0, while in state 5/STARTING
This problem is consistent.
and also after some use I got this error and my app crashed
signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr -------- Abort message: 'terminating with uncaught exception of type std::__ndk1::bad_function_call: std::exception' x0 0000000000000000 x1 00000000000071dd x2 0000000000000006 x3 00000079e6f6cf50 x4 736f646277641f73 x5 736f646277641f73 x6 736f646277641f73 x7 7f7f7f7f7f7f7f7f x8 00000000000000f0 x9 0000007b202d0f28 x10 0000000000000001 x11 0000007b2034d344 x12 000000000912fd56 x13 00000a33c7ac23f0 x14 0017a89b8742bc00 x15 0000000034155555 x16 0000007b203b8a00 x17 0000007b20390e60 x18 0000007934d66000 x19 0000000000005651 x20 00000000000071dd x21 00000000ffffffff x22 ffffff80ffffffc8 x23 00000079e6f6d1a0 x24 00000079e6f6d080 x25 00000079e6f6d0c0 x26 00000079e6f6e000 x27 0000000000000001 x28 00000079e6f6d7a9 x29 00000079e6f6cfd0 lr 0000007b2033e084 sp 00000079e6f6cf30 pc 0000007b2033e0b0 pst 0000000000001000 17 total frames backtrace:
#01 pc 00000000000cece8 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libc++_shared.so (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
#02 pc 00000000000cee9c /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libc++_shared.so (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
#03 pc 00000000000e3c5c /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libc++_shared.so (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
#04 pc 00000000000e32f4 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libc++_shared.so (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
#05 pc 00000000000e3248 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libc++_shared.so (__cxa_throw+124) (BuildId: fcc246cbb373c5edee634b117c4b4564cc9becf3)
#06 pc 00000000000294e0 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libfvp_plugin.so (BuildId: 9fc17dff439d58b885586bc4001e857b847c9c94)
#07 pc 000000000002dd38 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libfvp_plugin.so (BuildId: 9fc17dff439d58b885586bc4001e857b847c9c94)
#08 pc 000000000002dce8 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libfvp_plugin.so (BuildId: 9fc17dff439d58b885586bc4001e857b847c9c94)
#09 pc 000000000002dc54 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libfvp_plugin.so (BuildId: 9fc17dff439d58b885586bc4001e857b847c9c94)
#10 pc 000000000002dbfc /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libfvp_plugin.so (BuildId: 9fc17dff439d58b885586bc4001e857b847c9c94)
#11 pc 00000000000f8354 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libmdk.so (BuildId: 814010d13f14ebf7683a39042b04ebee77a6a4df)
#12 pc 00000000000daa84 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libmdk.so (mdk::abi::FrameReader::update(mdk::abi::State, bool)+1060) (BuildId: 814010d13f14ebf7683a39042b04ebee77a6a4df)
#13 pc 00000000000db61c /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libmdk.so (BuildId: 814010d13f14ebf7683a39042b04ebee77a6a4df)
#14 pc 00000000000dabe0 /data/app/~~LzABsF8KiBHEldpIZHg1Cg==/com.truecopy.mydibs-iVL8j3iDM7fdHTW0tzWjBw==/lib/arm64/libmdk.so (BuildId: 814010d13f14ebf7683a39042b04ebee77a6a4df)
#15 pc 00000000000fd0f4 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208) (BuildId: 02a91a85343debb2911714273ff2b670)
#16 pc 0000000000096a04 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68) (BuildId: 02a91a85343debb2911714273ff2b670)
Lost connection to device.
please show me your full log, so i can see more details, including library version. your was fixed last month, upgrade fvp, run "flutter clean" and rebuild.
Using the fvp: ^0.18.0, did flutter clean dis pub cache clean, last month also not solved.
See the attached problem only happening when you scroll in list view builder s fastly. if I have to handle it from my side then let me know with some code sample, See it is working fine if I scroll slowly in my video listview then nothing is crashing but when I scroll faster in the list view then I am getting the attached pdf file. check last 2 3 pages for error.
Even I tried this for single video player not on list but still I am getting error of MdkVideoPlayerPlatform.create (package:fvp/src/video_player_mdk.dart:249:7)
This error is from ssl. But I'm not sure the exact reason. Maybe using another ssl library can fix the error.
Using the fvp: ^0.18.0, did flutter clean dis pub cache clean, last month also not solved.
After upgrading to new version, Abort message: 'terminating with uncaught exception of type std::__ndk1::bad_function_call: std::exception'
this error should disappear. I can do nothing without new log.
See the attached problem only happening when you scroll in list view builder s fastly. if I have to handle it from my side then let me know with some code sample, See it is working fine if I scroll slowly in my video listview then nothing is crashing but when I scroll faster in the list view then I am getting the attached pdf file. check last 2 3 pages for error.
Can you provide a list view example so I can test on my devices?
Describe the bug In a list view builder, I am using a stateful child which has the chewie(latest version) as a view player, In main.dart I am registered with given below
without options also I did as only used registerWith();
but what is happening is My video player is failed with error . not all videos are failed but some of them is randomly broke but the same URLs are working on my web protal (angular) and working fine all videos I can see.
Expected behavior From list view My any video should not be crashed.
Log
add the following lines before
registerWith()
and