You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
在Assets目录下的同一个视频文件反复播放,间隔100毫秒(不同视频文件连续播放也会,即使增加播放时间间隔到2s),有一定的概率会出现:MediaExtractor exception:Failed to instantiate extractor
除了 Failed to instantiate extractor ,其他异常也很多。大部分没问题,偶尔就会出现异常
2 运行环境(手机型号,Android/iOS版本等)
Android 11 Google Pixel 3,但是其他所有手机也会这样,不同的系统版本都会
3 相关日志
2021-04-29 11:37:21.635 24084-26873/? E/AnimPlayer.HardDecoder: MediaExtractor exception e=java.io.IOException: Failed to instantiate extractor.
java.io.IOException: Failed to instantiate extractor.
at android.media.MediaExtractor.setDataSource(Native Method)
at com.tencent.qgame.animplayer.file.AssetsFileContainer.setDataSource(AssetsFileContainer.kt:42)
at com.tencent.qgame.animplayer.util.MediaUtil.getExtractor(MediaUtil.kt:40)
at com.tencent.qgame.animplayer.HardDecoder.startPlay(HardDecoder.kt:83)
at com.tencent.qgame.animplayer.HardDecoder.access$startPlay(HardDecoder.kt:28)
at com.tencent.qgame.animplayer.HardDecoder$start$1.run(HardDecoder.kt:44)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.os.HandlerThread.run(HandlerThread.java:67)
4 播放错误的文件(可选)
live_pk_begin.mp4
The text was updated successfully, but these errors were encountered:
issue 模版
1 问题描述(重现路径)
在Assets目录下的同一个视频文件反复播放,间隔100毫秒(不同视频文件连续播放也会,即使增加播放时间间隔到2s),有一定的概率会出现:MediaExtractor exception:Failed to instantiate extractor
2 运行环境(手机型号,Android/iOS版本等)
Android 11 Google Pixel 3,但是其他所有手机也会这样,不同的系统版本都会
3 相关日志
2021-04-29 11:37:21.635 24084-26873/? E/AnimPlayer.HardDecoder: MediaExtractor exception e=java.io.IOException: Failed to instantiate extractor.
java.io.IOException: Failed to instantiate extractor.
at android.media.MediaExtractor.setDataSource(Native Method)
at com.tencent.qgame.animplayer.file.AssetsFileContainer.setDataSource(AssetsFileContainer.kt:42)
at com.tencent.qgame.animplayer.util.MediaUtil.getExtractor(MediaUtil.kt:40)
at com.tencent.qgame.animplayer.HardDecoder.startPlay(HardDecoder.kt:83)
at com.tencent.qgame.animplayer.HardDecoder.access$startPlay(HardDecoder.kt:28)
at com.tencent.qgame.animplayer.HardDecoder$start$1.run(HardDecoder.kt:44)
at android.os.Handler.handleCallback(Handler.java:938)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:223)
at android.os.HandlerThread.run(HandlerThread.java:67)
4 播放错误的文件(可选)
live_pk_begin.mp4
The text was updated successfully, but these errors were encountered: