D1s Tina SDK 2.0中tplayer问题
-
1.使用的板子是芒果派MQ-R
2.刷入的镜像是基于Tina SDK 2.0构建,并打了Tina_d1x_append补丁。
3.使用tplayerdemo /root/test.mp4指令,可以播放视频,播放完成后,直接卡死。输入指令quit,也无效。部分打印logo如下:
root@TinaLinux:/usr/bin# tplayerdemo /root/test.mp4 WARNING: awplayer <cdx_log_set_level:30>: cdx Set log level to 6 INFO : cedarc <CedarPluginVDInit:79>: register h264 decoder success! INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success! INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success! INFO : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success! INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success! INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success! INFO : cedarc <CedarPluginVDInit:74>: register vc1 decoder success! INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success! INFO : cedarc <CedarPluginVDInit:70>: register vp6Soft decoder success! INFO : cedarc <CedarPluginVDInit:88>: register Wmv12Soft decoder success! ****************************************************************************************** * This program implements a simple player, you can type commands to control the player. * To show what commands supported, type 'help'. ****************************************************************************************** dd: writing '/dev/fb0': No space left on device 6001+0 records in 6000+0 records out argc = 2 argv[0] = tplayerdemo argv[1] = /root/test.mp4 may be is one file:cut down suffix is:.mp4 find the matched type:.mp4 create player:0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : tina3.5 branch: tina-dev[SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0 date : Mon Jul 15 19:04:59 2019 +0800 Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a ------------------------------------------------------------------------------- xplayer:process message XPLAYER_COMMAND_SET_AUDVE: enable hw clock IOSINK. xplayer:process messageenable_cedar_hw_clk,552 XPLAYER_COMMAND_SET_SURFACE. xplayer:process message XPLAYER_CVE: VE real_freq=576000000 OMMAND_SET_SUBCTRL. xplayer:process message XPLAYER_COMMAND_SET_DI. create player[0]:0xfec29d0 screen width:800,screen height:480 1:playVideo:0 before TPlayerSetDataSource,94712:/root/test.mp4 xplayer:process message XPLAYER_COMMAND_SET_SOURCE. xplayer:process message XPLAYER_COMMAND_PREPARE. INFO : cedarc <log_set_level:43>: Set log level to 5 from /vendor/etc/cedarc.conf ERROR : cedarc <DebugCheckConfig:301>: now cedarc log level:5 setDataSource end xplayer:process message XPLAYER_COMMAND_PREPARE. *****tplayer:video width = 640,height = 480 warning: unknown callback from Tinaplayer. TPLAYER_NOTIFY_PREPARED,has prepared. TPlayerPrepare end TPlayerSetHoldLastPicture() xplayer:process message XPLAYER_COMMAND_START. (Allwinner Audio Middle Layer),line(971) : Create Decoder!!===== (Allwinner Audio Middle Layer),line(603) : AudioDec_Installaudiolib ok (Allwinner Audio Middle Layer),line(606) : 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(700) : ----Loading so success! (AllwinnerAlibs),line(902) : *************pAudioStreamInfo start****************** (AllwinnerAlibs),line(903) : eCodecFormat :id(4), name(aac low-complexy) (AllwinnerAlibs),line(904) : eSubCodecFormat :0 (AllwinnerAlibs),line(905) : nChannelNum :2 (AllwinnerAlibs),line(906) : nBitsPerSample :16 (AllwinnerAlibs),line(907) : nSampleRate :44100 (AllwinnerAlibs),line(908) : nAvgBitrate :128135 (AllwinnerAlibs),line(909) : nMaxBitRate :128135 (AllwinnerAlibs),line(910) : nFileSize :0 (AllwinnerAlibs),line(911) : eAudioBitstreamSource:0 (AllwinnerAlibs),line(912) : eDataEncodeType :0 (AllwinnerAlibs),line(913) : nCodecSpecificDataLen:2 (AllwinnerAlibs),line(914) : pCodecSpecificData :0x3fe8064dc0 (AllwinnerAlibs),line(915) : nFlags :0 (AllwinnerAlibs),line(916) : nBlockAlign :0 (AllwinnerAlibs),line(917) : *************pAudioStreamInfo end ****************** (AAC Decoder),line(36) : init successs... (Allwinner Audio Middle Layer),line(614) : 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 = 640,height = 480 *****tplayerdemo:video decoded width = 640,height = 480real set to display rect:w = 640,h = 480 warning: unknown callback from Tinaplayer. *****tplayer:video width = 640,height = 480 warning: unknown callback from Tinaplayer. ****player(0xfec4db0): first video pts = 66733***** ERROR : awplayer <__LayerQueueBuffer:969>: *** picNode is full when queue buffer ERROR : fbm.c <FbmReturnPicture:1043>: invalid frame status, a picture being returned, but bUsedByRender=0, bInValidPictureQueue=1, bAlreadyDisplayed=0. ERROR : fbm.c <FbmReturnPicture:1044>: **picture[0x3fe4001f08],id[8] WARNING: cedarc <ReturnPicture:1698>: FbmReturnPicture return fail, it means the picture being returned it not one of this FBM. tplayerdemo# tplayerdemo# tplayerdemo# tplayerdemo# tplayerdemo# quit tplayerdemo# COMMAND_QUIT xplayer:process message XPLAYER_COMMAND_RESET. ^CGot signal 2, exiting ...
-
请问这个问题现在解决了吗,我也遇到了这个问题
-
播放之前建立音频通路、或者关闭音频输出播放
-
@yteraa 感谢大佬,提前打开音频通路后解决了
-
@quanzhiddd 请教:如何打开音频通道?
多谢 -
@quanzhiddd 同问,如何打开音频通路~~
-
@soso90
我有点好奇,这个不是要配上asound.conf 就行了嘛。make menuconfig -> Allwinner -> alsa-conf-aw
勾上,舒服一下 -
@tevet 你好,我的这个选项是配置着的,现象和楼主一样
-
@lyzzhdj 需要用到tinymix组件,在menuconfig中搜索,然后打开。以打开LINEOUT双通道喇叭为例,依次在终端中输入
tinymix set 15 31 tinymix set 17 1 tinymix set 18 1 tinymix set 31 1
-
我根据 quanzhiddd的提示,用TEVET 提到的ALSA组件中的amixer实现了,具体命令是
amixer -Dhw:audiocodec cset name='LINEOUT Switch' 1
刚接触linux对系统不熟悉,多谢2位的帮助
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号