最近刚入坑T113,跑的Tina Linux,用下面命令测试播放视频
tplayerdemo /tmp/test.mp4
默认视频是循环播放的。视频播放有卡死的情况,时间不定,视频不一样,情况也不一样。有些一两分钟就卡死了,而下面这个视频自动循环播放大概一两小时会卡死。
下面是出现卡死时截取的LOG:
TPlayerReset begin
xplayer:process message XPLAYER_COMMAND_RESET.
(AAC Decoder),line(44) : exit successs...
(AllwinnerAlibs),line(729) : ----dlclose so success!
(Allwinner Audio Middle Layer),line(907) : destroy_ResampleInfo!!
(Allwinner Audio Resample),line(68) : Destroy_ResampleInfo...
reset the player ok.
1:playVideo:0
before TPlayerSetDataSource,5165104:tmp/pexels-google-deepmind.mp4
xplayer:process message XPLAYER_COMMAND_SET_SOURCE.
setDataSource end
xplayer:process message XPLAYER_COMMAND_PREPARE.
ERROR : cedarc <DebugCheckConfig:301>: now cedarc log level:5
WARNING: cedarc <getSocIdString:1117>: cannot open /dev/sunxi_soc_info, it maybe ok!
TPlayerPrepare end
TPlayerSetHoldLastPicture()
xplayer:process message XPLAYER_COMMAND_START.
(Allwinner Audio Middle Layer),line(958) : Create Decoder!!=====
(Allwinner Audio Middle Layer),line(592) : AudioDec_Installaudiolib ok
(Allwinner Audio Middle Layer),line(595) : audio decoder init start ...
(AllwinnerAlibs),line(50) :
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Audio <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
tag : audiocodec-v1.2
branch: new
commit: 3ba65962c01cbf1280ddda19d843009b6ef8ce85
date : Tue Jan 8 16:25:27 2019 +0800
----------------------------------------------------------------------
(AllwinnerAlibs),line(679) : ----Loading so success!
(AllwinnerAlibs),line(877) : *************pAudioStreamInfo start******************
(AllwinnerAlibs),line(878) : eCodecFormat :id(4), name(aac low-complexy)
(AllwinnerAlibs),line(879) : eSubCodecFormat :0
(AllwinnerAlibs),line(880) : nChannelNum :2
(AllwinnerAlibs),line(881) : nBitsPerSample :16
(AllwinnerAlibs),line(882) : nSampleRate :48000
(AllwinnerAlibs),line(883) : nAvgBitrate :0
(AllwinnerAlibs),line(884) : nMaxBitRate :0
(AllwinnerAlibs),line(885) : nFileSize :0
(AllwinnerAlibs),line(886) : eAudioBitstreamSource:0
(AllwinnerAlibs),line(887) : eDataEncodeType :0
(AllwinnerAlibs),line(888) : nCodecSpecificDataLen:2
(AllwinnerAlibs),line(889) : pCodecSpecificData :0x14efd40
(AllwinnerAlibs),line(890) : nFlags :0
(AllwinnerAlibs),line(891) : nBlockAlign :0
(AllwinnerAlibs),line(892) : *************pAudioStreamInfo end ******************
(AAC Decoder),line(36) : init successs...
(Allwinner Audio Middle Layer),line(603) : AUDIO DECODE INIT OK...0
started.
ERROR : awplayer <__LayerQueueBuffer:969>: *** picNode is full when queue buffer
ERROR : awplayer <__LayerQueueBuffer:969>: *** picNode is full when queue buffer
*****tplayer:video decoded width = 1280,height = 720
*****tplayerdemo:video decoded width = 1280,height = 720real set to display rect:w = 1280,h = 720
warning: unknown callback from Tinaplayer.
*****tplayer:video width = 1280,height = 720
warning: unknown callback from Tinaplayer.
****player(0xb6f59610): first video pts = 125000*****
ERROR : awplayer <__LayerQueueBuffer:969>: *** picNode is full when queue buffer
ERROR : fbm.c <FbmReturnPicture:1043>: invalid frame status, a picture being returned, but bUsedByRende
r=0, bInValidPictureQueue=1, bAlreadyDisplayed=0.
ERROR : fbm.c <FbmReturnPicture:1044>: **picture[0x15381f0],id[9]
WARNING: cedarc <ReturnPicture:1698>: FbmReturnPicture return fail, it means the picture being returned it not one of this FBM.
WARNING: cedarc <waitInterruptDecoder:748>: wait ve interrupt timeout. ret = 0
tplayerdemo#
tplayerdemo# quit
tplayerdemo# COMMAND_QUIT
xplayer:process message XPLAYER_COMMAND_RESET.
(AAC Decoder),line(44) : exit successs...
(AllwinnerAlibs),line(729) : ----dlclose so success!
(Allwinner Audio Middle Layer),line(907) : destroy_ResampleInfo!!
(Allwinner Audio Resample),line(68) : Destroy_ResampleInfo...
^CGot signal 2, exiting ...
^CGot signal 2, exiting ...
^CGot signal 2, exiting ...
^CGot signal 2, exiting ...
^CGot signal 2, exiting ...
^CGot signal 2, exiting ...
视频卡死的时候都会出现下面这个提示:
WARNING: cedarc <waitInterruptDecoder:748>: wait ve interrupt timeout. ret = 0
然后quit命令也退出不了,Crtl+C 同样不行。百度谷歌都找了一遍也没找到同样的问题。看到有类似卡死的(但是没有上面ve interrupt timeout 的警告),说先打开音频通道的,我试过了也不行,照样卡死。
希望有大神能解惑。先在此谢过!