yubang 发表于 2018-7-23 21:14:57

请教:rk3128 android5.1 播放视频失败

各位好,
我在用fireprime3128, 运行android5.1(firefly发布的源码编译出来的), 在板子上播放1080p的mp4 视频(用系统自带的播放器), 播放几秒后,会出现卡死的情况(每次必现),此时声音的播放是正常的(即画面卡死,声音正常走),串口不停地打印: (此时视频画面卡死,但板子还是正常运行,可以退出进行别的操作)
[   61.755623] vcodec_service: vpu_combo.10: power on
[   66.589689] vcodec_service: vpu_combo.10: resetting...
[   66.589762] vcodec_service: for 3288/3368...[   66.589785] vcodec_service: done
[   67.061479] vcodec_service: vpu_combo.10: resetting...
[   67.061531] vcodec_service: for 3288/3368...[   67.061546] vcodec_service: done
[   67.288361] vcodec_service: vpu_combo.10: resetting...
[   67.288449] vcodec_service: for 3288/3368...[   67.288465] vcodec_service: done
[   67.551937] vcodec_service: vpu_combo.10: resetting...


请问一下各位,有在3128 android5.1遇到同样的问题吗? 可以怎么解决?


所播放视频的信息:
1920 x 1080
H.264
25 frames per second
2093 kbps

yubang 发表于 2018-7-23 21:25:14

补充logcat的一些报错打印:
E/FFPlayerBase(139): change....mBufWidth = 1920 mBufHeight = 1088,tmpframe->DisplayWidth = 1920,tmpframe->DisplayHeight = 1080
D/FFPlayer(139): onDisplayEvent(): FIRST_FRAME
D/FFPlayer(139): *****************onDisplayEvent:audio flush set timeus=80014
D/FFPlayer(139): onDisplayEvent:resume audio decode
D/FFPlayer(139): ****************flush audio pts=0
D/FFPlayer(139): ****************flush audio pts=23219
D/FFPlayer(139): ****************flush audio pts=46439
D/FFPlayer(139): ****************flush audio pts=69659
D/FFPlayer(139): onDisplayEvent video delay time: 79985
E/AudioSink(139): received unknown event type: 1 inside CallbackWrapper !
D/FFPlayer(139): audiotime = 82710;videotime=80014;latenessUs=2696;rawpts=80000
E/FFPlayer(139): Hery, notify MEDIA_INFO_RENDERING_START 2696
D/FFPlayer(139): *****Channel Changed Time is 57390265
D/FFPlayer(139): onDisplayEvent(3148) render first frame
W/MediaPlayer( 1349): info/warning (3, 0)
D/DecodeVideo(139): commitHdl2Vpu dupshared_fd = 0x52 shared_fd = 0x30
D/FFPlayer(139): audiotime = 139034;videotime=120022;latenessUs=19012;rawpts=120000
D/DecodeVideo(139): commitHdl2Vpu dupshared_fd = 0x53 shared_fd = 0x31
D/DecodeVideo(139): commitHdl2Vpu dupshared_fd = 0x54 shared_fd = 0x32
D/DecodeVideo(139): commitHdl2Vpu dupshared_fd = 0x55 shared_fd = 0x33
D/DecodeVideo(139): commitHdl2Vpu dupshared_fd = 0x56 shared_fd = 0x34
E/H264_DEBUG(139): found stream error with status 00004101
E/H264_DEBUG(139): freeDpbMem invalid parameter
E/H264_DEBUG(139): freeDpbMem error in markErrorDpbSlot
E/H264_DEBUG(139): clear previousOut
E/H264_DEBUG(139): ERROR: SLICE_HEADER
D/H264_DEBUG(139): found resync point
E/H264_DEBUG(139): found stream error with status 00040100
E/H264_DEBUG(139): clear previousOut
E/H264_DEBUG(139): ERROR: SLICE_HEADER
D/H264_DEBUG(139): found resync point
E/H264_DEBUG(139): found stream error with status 00040100
E/H264_DEBUG(139): clear previousOut
E/H264_DEBUG(139): ERROR: SLICE_HEADER
D/H264_DEBUG(139): found resync point
E/H264_DEBUG(139): found stream error with status 00040100
E/H264_DEBUG(139): clear previousOut
E/H264_DEBUG(139): ERROR: SLICE_HEADER
D/H264_DEBUG(139): found resync point
E/H264_DEBUG(139): found stream error with status 00040100
E/H264_DEBUG(139): clear previousOut
E/H264_DEBUG(139): ERROR: SLICE_HEADER
D/H264_DEBUG(139): found resync point
E/H264_DEBUG(139): found stream error with status 00040100
E/H264_DEBUG(139): clear previousOut
E/H264_DEBUG(139): ERROR: SLICE_HEADER
页: [1]
查看完整版本: 请教:rk3128 android5.1 播放视频失败