页次: 1
lyf25146 说:D12X或D133 能播放视频吗?MP4格式之类的?
可以的,用官方的视频转换工具转换一下就能播放。
工具下载地址:
https://gitee.com/artinchip/tools/blob/master/AiVideo-1.0.0_setup.zip
用的是D133官网的开发板,烧录了demo88-nor镜像,播放SD卡已经转换好的MP4,就显示下来错误,请问是怎么回事?
aic /> player_demo -i /sdcard/sample.mp4
file_path_len:18
file path: /sdcard/sample.mp4
debug : aic_mpp <player_demo_test:603>: loop:0,index:0,path:/sdcard/sample.mp4
parser for (/sdcard/sample.mp4)
[OMX_DemuxerIndexParamContentURI:350]pParser=0x300ccd24,contentURI:/sdcard/sample.mp4
aic_parser_init time: 10582 us
[component_event_handler:131]OMX_EventPortFormatDetected
[OMX_DemuxerIndexParamContentURI:407]OMX_EventPortFormatDetected
01 64 00 1e ff e1 00 18 67 64 00 1e ac b4 05 01 ed 80 88 00 00 03 00 08 00 00 03 01 d0 78 b1 75 01 00 05 68 ef 0f 2c 8b fd f8 f8 00 [OMX_VideoRenderSetConfig:700]pVideoRenderDataType->render->init ok
[OMX_ClockConfigTimeClockState:231]nWaitMask:0x3,sClockState:1
[start_play:307]aic_player_start ok
debug : aic_mpp <start_play:315>: aic_player_get_media_info duration:34d1d3,file_size:78874
debug : aic_mpp <start_play:317>: has_audio:1,has_video:1,width:640,height:480,
bits_per_sample:16,nb_channel:2,sample_rate:44100
debug : aic_mpp <start_play:334>: screen_width:1024,screen_height:600
Media size 640 x 480, Display offset (112, 0) size 800 x 600
debug : aic_mpp <start_play:348>: aic_player_set_disp_rect ok
debug : aic_mpp <set_volume:189>: volume:100
[start_play:369]aic_player_play ok
cpu_loading:0.70
error : aic_mpp <check_last_frame:827>: last picture error, decoded_mb: 0, total_mbs: 1200
error : aic_mpp <set_error_from_ref_list:788>: ref error, so cur error
cpu_loading:4.50
页次: 1