T113 MQ-R tplayerdemo播放视频问题
-
论坛t113 sdk,用tplayerdemo 测试播放视频,发现播放一次就停止了,
#quit 也无法退出播放,不确定是哪些配置影响,有知道得盆友吗?下面是播放视频得log
root@TinaLinux:/# tplayerdemo /mnt/exUDISK/01.mp4 WARNING: awplayer <cdx_log_set_level:30>: cdx Set log level to 3 DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-0 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-1 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-2 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-3 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-4 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-5 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-6 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-7 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-8 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-9 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-10 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-11 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-12 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-13 ok. DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry adecoder-14 fail! DEBUG : awplayer <CdxPluginLoadList:221>: have config 14 entry DEBUG : awplayer <CdxPluginLoadList:222>: start to open adecoder lib DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.aac comment is "aac_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_aacdec.so DEBUG : awplayer <AwStreamInit:107>: aw stream init... DEBUG : awplayer <AwStreamInit:150>: stream list size:8 INFO : awplayer <AwParserInit:441>: aw parser init... DEBUG : awplayer <AwParserInit:560>: aw parser size:17 DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.alac comment is "alac_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_alacdec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.amr comment is "amr_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_amrdec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.ape comment is "ape_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_apedec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.flac comment is "flac_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_flacdec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.mp3 comment is "mp3_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_mp3dec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.ogg comment is "ogg_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_oggdec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.wav comment is "wav_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_wavdec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.atrc comment is "atrc_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_atrcdec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.ra comment is "ra_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_radec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.sipr comment is "sipr_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_siprdec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.dsd comment is "dsd_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_dsddec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.g729 comment is "g729_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_g729dec.so DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.opus comment is "opus_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_opusdec.so DEBUG : awplayer <CdxPluginLoadList:202>: Load Plugin list vdecoder DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-0 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-1 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-2 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-3 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-4 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-5 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-6 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-7 ok. DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry vdecoder-8 ok. DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry vdecoder-9 fail! DEBUG : awplayer <CdxPluginLoadList:221>: have config 9 entry DEBUG : awplayer <CdxPluginLoadList:222>: start to open vdecoder lib DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.h264 comment is "h264_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawh264.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:79>: register h264 decoder success! DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.mjpeg comment is "mjpeg_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawmjpeg.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:84>: register mjpeg decoder success! DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg2 comment is "mpeg2_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg2.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:86>: register mpeg2 decoder success! DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4base comment is "mpeg4base_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4base.so WARNING: awplayer <DlOpenPlugin:112>: Invalid plugin,function CedarPluginVDInit not found. DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4dx comment is "mpeg4dx_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4dx.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:92>: register mpeg4dx decoder success! DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4h263 comment is "mpeg4h263_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4h263.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:79>: register mpeg4H263 decoder success! DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.mpeg4normal comment is "mpeg4normal_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawmpeg4normal.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:90>: register mpeg4Normal decoder success! DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.wmv3 comment is "wmv3_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawwmv3.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:74>: register vc1 decoder success! DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.h265 comment is "h265_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawh265.so DEBUG : awplayer <DlOpenPlugin:116>: plugin init : CedarPluginVDInit INFO : cedarc <CedarPluginVDInit:85>: register h265 decoder success! DEBUG : awplayer <CdxPluginLoadList:202>: Load Plugin list plugin DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry plugin-0 fail! DEBUG : awplayer <CdxPluginLoadList:221>: have config 0 entry DEBUG : awplayer <CdxPluginLoadList:222>: start to open plugin lib ****************************************************************************************** * This program implements a simple player, you can type commands to control the player. * To show what commands supported, t[ 121.645354] [SNDCODEC][sunxi_card_hw_params][620]:stream_flag: 0 ype 'help'. ****************************************************************************************** dd: writing '/dev/fb0': No space left on device 9601+0 records in 9600+0 records out argc = 2 argv[0] = tplayerdemo argv[1] = /mnt/exUDISK/01.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 date : Mon Jul 15 19:04:59 2019 +0800 Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a ------------------------------------------------------------------------------- DEBUG : awplayer <XPlayerCreate:239>: XPlayerCreate. DEBUG : awplayer <LogVersionInfo:34>: >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : CedarX-2.8.0 branch: master commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8 date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800) author: ---------------------------------------------------------------------- xplayer:process message XPLAYER_COMMAND_SET_AUDIOSINK. DEBUG : awplayer <LayerCreate:1164>: LayerCreate. DEBUG : awplayer <LayerCreate:1168>: init_ret = 0 DEBUG : awplayer <LayerCreate:1171>: init_mutex_count = 1 DEBUG : awplayer <LayerCreate:1192>: ==== callback: 0xb6f5bed8, pUser: 0xb6fee450 DEBUG : awplayer <LayerCreate:1210>: screen:w 800, screen:h 480 DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:638>: setVideoSurfaceTexture, surface = 0x19ddef0 DEBUG : awplayer <XPlayerThread:1997>: process message XPLAYER_COMMAND_SET_SURFACE. xplayer:process message XPLAYER_COMMAND_SET_SURFACE. DEBUG : awplayer <XPlayerThread:2061>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL. xplayer:process message XPLAYER_COMMAND_SET_SUBCTRL. DEBUG : awplayer <PlayerSetSubCtrl:750>: === PlayerSetSubCtrl DEBUG : awplayer <XPlayerSetDeinterlace:741>: set deinterlace DEBUG : awplayer <XPlayerThread:2077>: ==== process message XPLAYER_COMMAND_SET_DI. xplayer:process message XPLAYER_COMMAND_SET_DI. create player[0]:0xb6fee450 screen width:800,screen height:480 1:playVideo:0 before TPlayerSetDataSource,5242928:/mnt/exUDISK/01.mp4 DEBUG : awplayer <XPlayerSetDataSourceUrl:499>: setDataSource(url), url='/mnt/exUDISK/01.mp4' INFO : awplayer <XPlayerThread:1833>: process message XPLAYER_COMMAND_SET_SOURCE. xplayer:process message XPLAYER_COMMAND_SET_SOURCE. DEBUG : awplayer <XPlayerPrepare:791>: prepare DEBUG : awplayer <XPlayerThread:2093>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1 xplayer:process message XPLAYER_COMMAND_PREPARE. DEBUG : demuxComponent <DemuxThread:1826>: process message DEMUX_COMMAND_PREPARE. DEBUG : demuxComponent <DemuxThread:1893>: === prepare msg DEBUG : awplayer <CdxParserPrepare:818>: source uri 'file:///mnt/exUDISK/01.mp4' DEBUG : awplayer <__FileStreamCreate:534>: local file 'file:///mnt/exUDISK/01.mp4' DEBUG : awplayer <__FileStreamConnect:392>: *************impl->size=2180038 DEBUG : awplayer <__FileStreamConnect:404>: impl->filePath=fd://9?offset=0&length=2180038 DEBUG : awplayer <__FileStreamConnect:486>: :16:[00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00] DEBUG : awplayer <__FileStreamGetMetaData:363>: redriect url 'file:///mnt/exUDISK/01.mp4' INFO : awplayer <ParserTypeGuess:672>: I think it's something about 'mov', type id(0) DEBUG : CdxMovParser <__CdxMovParserProbe:1327>: --- probe: it is mov parser DEBUG : awplayer <CdxParserCreate:767>: Good, it's 'mov' INFO : CdxMovParser <__CdxMovParserOpen:1232>: mov parser is not support multi-stream yet!!! DEBUG : CdxMovParser <__CdxMovParserOpen:1261>: --- c->bSeekAble = 1 DEBUG : awplayer <CdxParserCreate:773>: parser type(0) DEBUG : Mov Id3 Test <_MovParseFtyp:3732>: ---- compatible = isomiso2avc1mp41 DEBUG : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 654, height = 368 DEBUG : Mov Id3 Test <_MovParseMdhd:1995>: -- language = eng DEBUG : Mov Id3 Test <_MovParseStsd:1386>: stsd width = 640, height = 368 DEBUG : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0 DEBUG : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 0, height = 0 DEBUG [ 122.016557] VE: enable hw clock : Mov Id3 Test <_MovParseMdhd:1[ 122.020258] enable_cedar_hw_clk,552 995>: -- language = eng DEBUG [ 122.028835] VE: VE real_freq=576000000 [ 122.028835] : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0 DEBUG : Mov Id3 Test <_MovParseStbl:1755>: ============ sbgp DEBUG : Mov Id3 Test <_MovParseSbgp:667>: ========= grouping_type:0x6c6c6f72 DEBUG : CdxMovParser <__CdxMovParserInit:1204>: ***** mov open success!! DEBUG : demuxComponent <DemuxThread:1930>: --- demux->shiftedTimeUrl = DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:809>: Get mediainfo DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:840>: --- codecformat = 115 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:855>: ---- frame rate = 24000, st->time_scale: 12288, st->sample_duration: 512 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:864>: width = 640, height = 368 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:867>: extradataSize = 35 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:897>: ********* audio 0************ DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:898>: ****eCodecFormat: 4 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:899>: ****eSubCodecFormat: 0 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:900>: ****nChannelNum: 2 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:901>: ****nBitsPerSample: 16 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:902>: ****nSampleRate: 44100 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:903>: ****nAvgBitrate: 130304 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:904>: ****nMaxBitRate: 130304 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:905>: ****extradataSize 5 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:906>: *************************** DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:951>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0 DEBUG : awplayer <CdxMovSetStream:408>: == stss_size: 3 DEBUG : awplayer <CdxMovSetStream:430>: mvhd = 29584, DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:968>: -- mov duration = 29584 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:975>: ****video_avg_bitrate: 589000 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2 DEBUG : demuxComponent <PrintMediaInfo:487>: *********PrintMediaInfo begin********* DEBUG : demuxComponent <PrintMediaInfo:508>: fileSize = 2180038, bSeekable = 1, duration = 29584, audioNum = 1, videoNum = 1, subtitleNum = 0 DEBUG : demuxComponent <PrintMediaInfo:528>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 640, nHeight = 368, nFrameRate = 24000, nFrameDuration = 0, bIs3DStream = 0 DEBUG : demuxComponent <PrintMediaInfo:547>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 44100 DEBUG : demuxComponent <PrintMediaInfo:563>: *********PrintMediaInfo end********* DEBUG : awplayer <initializePlayer:1529>: mVideoRotateDegree = 0 DEBUG : awplayer <initializePlayer:1538>: rotate degree level = 0 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 DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:257>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32 DEBUG : awplayer <VideoRenderCompSetWindow:454>: video render component setting window: 0x19ddef0 DEBUG : awplayer <handleSetWindow:375>: process MESSAGE_ID_SET_WINDOW message, p->pPicture(0) DEBUG : awplayer <__LayerResetNativeWindow:1016>: LayerResetNativeWindow : 0 DEBUG : awplayer <__LayerControl:1100>: layer control cmd = 259 DEBUG : awplayer <VideoRenderCompSetDeinterlace:310>: video render component setting deinterlace: 0x19dc350 DEBUG : awplayer <PlayerConfigDropDelayFrame:2014>: PlayerConfigDropDelayFrame DEBUG : awplayer <PlayerConfigDropDelayFrame:2017>: VideoDecCompSetDropDelayFrames DEBUG : audioDecItf <AudioDecCompCreate:206>: libadecoder.so dlopen success, to load internal symbols... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(ParserRequestBsBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(ParserUpdateBsBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(BsQueryQuality) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamDataSize) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferSize) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferMaxFrameNum) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioPCMDataSize) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DecRequestPcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DecUpdatePcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PlybkUpdatePcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmPts) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PcmQueryQuality) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioDecoderSeek) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(InitializeAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(ResetAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DecodeAudioStream) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DestroyAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(CreateAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(SetRawPlayParam) link success... DEBUG : audioRender <AudioRenderCompSetAudioSink:195>: audio render component setting AudioSink setDataSource end DEBUG : awplayer <XPlayerPrepare:791>: prepare DEBUG : awplayer <XPlayerThread:2093>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4 xplayer:process message XPLAYER_COMMAND_PREPARE. INFO : awplayer <XPlayerThread:2130>: xxxxxxxxxx video size: width = 640, height = 368 *****tplayer:video width = 640,height = 368 warning: unknown callback from Tinaplayer. TPLAYER_NOTIFY_PREPARED,has prepared. DEBUG : awplayer <XPlayerThread:2148>: let XPlayerPrepare return TPlayerPrepare end DEBUG : awplayer <LayerSetDisplayRect:1267>: Layer set display rect,(0 0, 800x480) TPlayerSetHoldLastPicture() DEBUG : awplayer <VideoRenderSetHoldLastPicture:580>: video render component setting hold last picture(bHold=1). DEBUG : awplayer <XPlayerStart:821>: start DEBUG : awplayer <__LayerCtrlHoldLastPicture:747>: LayerCtrlHoldLastPicture, bHold = 1 DEBUG : awplayer <XPlayerThread:2282>: process message XPLAYER_COMMAND_START. xplayer:process message XPLAYER_COMMAND_START. DEBUG : awplayer <PlayerStart:802>: player start DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start (Allwinner Audio Middle Layer),line(958) : Create Decoder!!===== DEBUG : audioDecItf <handleStart:1065>: Create libadecoder success... (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) : eC[ 122.718781] random: crng init done odecFormat :id(4), name([ 122.724405] random: 7 urandom warning(s) missed due to ratelimiting aac low-complexy) (AllwinnerAlibs),line(879) : eSubCodecFormat :0 (AllwinnerAlibs),line(880) : nChannelNum :2 (AllwinnerAlibs),line(881) : nBitsPerSample :16 (AllwinnerAlibs),line(882) : nSampleRate :44100 (AllwinnerAlibs),line(883) : nAvgBitrate :130304 (AllwinnerAlibs),line(884) : nMaxBitRate :130304 (AllwinnerAlibs),line(885) : nFileSize :0 (AllwinnerAlibs),line(886) : eAudioBitstreamSource:0 (AllwinnerAlibs),line(887) : eDataEncodeType :0 (AllwinnerAlibs),line(888) : nCodecSpecificDataLen:5 (AllwinnerAlibs),line(889) : pCodecSpecificData :0x1a09a40 (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 DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start DEBUG : awplayer <handleStart:640>: video render handleStart:p->eStatus = 0 DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start INFO : audioRender <handleStart:295>: audio render process start message. DEBUG : demuxComponent <DemuxThread:2115>: process message DEMUX_COMMAND_START. started. DEBUG : audioRender <initSoundDevice:478>: init sound device. DEBUG : audioRender <initSoundDevice:486>: set sound devide param, sample rate = 44100, channel num = 2. WARNING: awplayer <callbackProcess:3692>: message 0x40a not handled. DEBUG : awplayer <RenderGetVideoFbmBufInfo:1468>: video buffer info: nWidth[640],nHeight[384],nBufferCount[8],ePixelFormat[4] DEBUG : awplayer <RenderGetVideoFbmBufInfo:1471>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0] DEBUG : awplayer <__LayerControl:1100>: layer control cmd = 257 DEBUG : awplayer <__LayerControl:1102>: get the fbm buf info DEBUG : awplayer <__LayerControl:1104>: fbmBufInfo->bProgressiveFlag = 1 DEBUG : awplayer <__LayerControl:1110>: lc->mNumHoldByLayer = 3 DEBUG : awplayer <__LayerSetDisplayPixelFormat:660>: Layer set expected pixel format, format = 4 DEBUG : awplayer <__LayerSetDisplayBufferSize:612>: __LayerSetDisplayBufferSize:width = 640,height = 384 DEBUG : awplayer <__LayerSetDisplayBufferCount:989>: LayerSetBufferCount: count = 8 DEBUG : awplayer <__LayerControl:1100>: layer control cmd = 260 DEBUG : awplayer <__LayerControl:1113>: get the fbm buf info DEBUG : awplayer <__LayerControl:1119>: b10BitPicFlag = 0, nLbcLossyComMod = 2, bIsLossy = 1, bRcEn = 0 DEBUG : awplayer <__LayerGetBufferNumHoldByGpu:1004>: num hold by gpu is 3 DEBUG : awplayer <SetGpuBufferToDecoder:1510>: SetGpuBufferToDecoder:nNumHoldByLayer = 3,p->nGpuBufferNum = 8 DEBUG : awplayer <setLayerBuffer:144>: setLayerBuffer:Fmt(4),(640 384, 0 x 0) DEBUG : awplayer <setLayerBuffer:147>: Disp(640x384)buf_cnt(8),ProFlag(0),SoftDecFlag(0) DEBUG : awplayer <setLayerBuffer:255>: SunxiMemPalloc mHoldLastPictureBuf successfully,with = 1920,height = 1088 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[0]:0xb58aa000 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[1]:0xb587b000 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[2]:0xb584c000 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[3]:0xb581d000 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[4]:0xb57ee000 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[5]:0xb57bf000 DEBUG : awplayer <CallbackProcess:3172>: first audio pts = 0 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[6]:0xb5790000 DEBUG : awplayer <setLayerBuffer:340>: the_lbc:cmp_ratio=500, buffer size=192000 DEBUG : awplayer <setLayerBuffer:350>: SunxiMemPalloc buf[7]:0xb5761000 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:787>: numNotHoldByLayer = 5,lc->nGpuBufferCount = 8 ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer DEBUG : awplayer <callbackProcess:3521>: *************decoded nWidth = 640,nHeight = 368******** *****tplayer:video decoded width = 640,height = 368 *****tplayerdemo:video decoded width = 640,height = 368real set to display rect:w = 640,h = 368 warning: unknown callback from Tinaplayer. INFO : awplayer <callbackProcess:3537>: xxxxxxxxxx video size : width = 640, height = 368 *****tplayer:video width = 640,height = 368 warning: unknown callback from Tinaplayer. DEBUG : awplayer <CallbackProcess:3046>: first video pts = 0 ****player(0xb6f75970): first video pts = 0***** DEBUG : audioRender <startSoundDevice:708>: start sound device. ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer WARNING: audioRender <checkSampleRate:647>: sample rate change from 44100 to 44100. WARNING: audioRender <checkSampleRate:649>: channel num change from 2 to 2. WARNING: audioRender <checkSampleRate:651>: bitPerSample num change from 16 to 16. WARNING: audioRender <checkSampleRate:653>: if need direct out put flag change from 0 to 1. WARNING: audioRender <checkSampleRate:655>: data type change from 1 to 1. WARNING: audioRender <checkSampleRate:674>: start sound devide again because samplaRate or channelNum change 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[0x1a78a70],id[5] WARNING: cedarc <ReturnPicture:1698>: FbmReturnPicture return fail, it means the picture being returned it not one of this FBM. WARNING: awplayer <MovReadSample:1995>: read finish WARNING: awplayer <MovReadSample:1922>: return read finish WARNING: CdxMovParser <__CdxMovParserPrefetch:487>: Try to read sample failed! end of stream WARNING: awplayer <callbackProcess:3262>: eos... DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: eos DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: eos DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: eos tplayerdemo# quit tplayerdemo# COMMAND_QUIT WARNING: awplayer <XPlayerDestroy:345>: XPlayerDestroy WARNING: awplayer <XPlayerReset:1000>: reset... xplayer:process message XPLAYER_COMMAND_RESET. DEBUG : CdxMovParser <__CdxMovParserForceStop:1043>: -- mov ForceStop end WARNING: Id3Base <EraseId3:1059>: id3 has already been free DEBUG : awplayer <CdxMovClose:213>: mov close stream = 0x19ddb50 DEBUG : awplayer <__FileStreamClose:167>: FileStreamClose DEBUG : awplayer <PlayerStop:951>: ****** PlayerStop DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: stop
-
@mhcsoft
你的能够正常播放视频?我的播放,就提示错误,挂掉了start play 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 :512000 (AllwinnerAlibs),line(884) : nMaxBitRate :512000 (AllwinnerAlibs),line(885) : nFileSize :0 (AllwinnerAlibs),line(886) : eAudioBitstreamSource:0 (AllwinnerAlibs),line(887) : eDataEncodeType :0 (AllwinnerAlibs),line(888) : nCodecSpecificDataLen:2 (AllwinnerAlibs),line(889) : pCodecSpecificData :0x10c1500 (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:962>: *** picNode is full when queue buffer ERROR : awplayer <__LayerQueueBuffer:962>: *** 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(0xb6ea1880): first video pts = 0***** ERROR : awplayer <__LayerQueueBuffer:962>: *** 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[0x1133a78],id[6] WARNING: cedarc <ReturnPicture:1698>: FbmReturnPicture return fail, it means the picture being returned it not one of this FBM.
-
@daming123 可以,你这个是tina吗
-
@mhcsoft 是的,你的也是 Tina tplayerdemo?
-
@mhcsoft 你的也报错了,你试试播放一个长的视频文件,播放不完的
-
@daming123 我只有几分钟的视频,长的视频是多长,发我试试
-
@daming123 ```
我的播放也挂了,换个视频就不行了 ommit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8 date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800) author: ---------------------------------------------------------------------- xplayer:process message XPLAYER_COMMAND_SET_AUDIOSINK. DEBUG : awplayer <LayerCreate:1164>: LayerCreate. DEBUG : awplayer <LayerCreate:1168>: init_ret = 0 DEBUG : awplayer <LayerCreate:1171>: init_mutex_count = 1 DEBUG : awplayer <LayerCreate:1192>: ==== callback: 0xb6f61ed8, pUser: 0xb6ff4450 DEBUG : awplayer <LayerCreate:1210>: screen:w 800, screen:h 480 DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:638>: setVideoSurfaceTexture, surface = 0xb79ef0 DEBUG : awplayer <XPlayerThread:1997>: process message XPLAYER_COMMAND_SET_SURFACE. xplayer:process message XPLAYER_COMMAND_SET_SURFACE. DEBUG : awplayer <XPlayerThread:2061>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL. xplayer:process message XPLAYER_COMMAND_SET_SUBCTRL. DEBUG : awplayer <PlayerSetSubCtrl:750>: === PlayerSetSubCtrl DEBUG : awplayer <XPlayerSetDeinterlace:741>: set deinterlace DEBUG : awplayer <XPlayerThread:2077>: ==== process message XPLAYER_COMMAND_SET_DI. xplayer:process message XPLAYER_COMMAND_SET_DI. create player[0]:0xb6ff4450 screen width:800,screen height:480 1:playVideo:0 before TPlayerSetDataSource,5324848:60.mp4 DEBUG : awplayer <XPlayerSetDataSourceUrl:499>: setDataSource(url), url='60.mp4' INFO : awplayer <XPlayerThread:1833>: process message XPLAYER_COMMAND_SET_SOURCE. xplayer:process message XPLAYER_COMMAND_SET_SOURCE. setDataSource end DEBUG : awplayer <XPlayerPrepare:791>: prepare DEBUG : awplayer <XPlayerThread:2093>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1 xplayer:process message XPLAYER_COMMAND_PREPARE. DEBUG : demuxComponent <DemuxThread:1826>: process message DEMUX_COMMAND_PREPARE. DEBUG : demuxComponent <DemuxThread:1893>: === prepare msg DEBUG : awplayer <CdxParserPrepare:818>: source uri 'file://60.mp4' DEBUG : awplayer <__FileStreamCreate:534>: local file 'file://60.mp4' DEBUG : awplayer <__FileStreamConnect:392>: *************impl->size=369302598 DEBUG : awplayer <__FileStreamConnect:404>: impl->filePath=fd://9?offset=0&length=369302598 DEBUG : awplayer <__FileStreamConnect:486>: :16:[00 00 00 20 66 74 79 70 69 73 6f 6d 00 00 02 00] DEBUG : awplayer <__FileStreamGetMetaData:363>: redriect url 'file://60.mp4' INFO : awplayer <ParserTypeGuess:672>: I think it's something about 'mov', type id(0) DEBUG : CdxMovParser <__CdxMovParserProbe:1327>: --- probe: it is mov parser DEBUG : awplayer <CdxParserCreate:767>: Good, it's 'mov' INFO : CdxMovParser <__CdxMovParserOpen:1232>: mov parser is not support multi-stream yet!!! DEBUG : CdxMovParser <__CdxMovParserOpen:1261>: --- c->bSeekAble = 1 DEBUG : awplayer <CdxParserCreate:773>: parser type(0) DEBUG : Mov Id3 Test <_MovParseFtyp:3732>: ---- compatible = isomiso2avc1mp41 DEBUG : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 1920, height = 1080 DEBUG : Mov Id3 Test <_MovParseMdhd:1995>: -- language = und DEBUG : Mov Id3 Test <_MovParseStsd:1386>: stsd width = 1920, height = 1080 DEBUG : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0 DEBUG : Mov Id3 Test <_MovParseTkhd:2189>: tkhd width = 0, height = 0 DEBUG : Mov Id3 Test <_MovParseMdhd:1995>: -- language = und DEBUG : Mov Id3 Test <_MovParseStsz:878>: -- sample_size = 0 DEBUG : CdxMovParser <__CdxMovParserInit:1204>: ***** mov open success!! DEBUG : demuxComponent <DemuxThread:1930>: --- demux->shiftedTimeUrl = DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:809>: Get mediainfo DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:840>: --- codecformat = 115 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:855>: ---- frame rate = 30000, st->time_scale: 15360, st->sample_duration: 512 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:864>: width = 1920, height = 1080 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:867>: extradataSize = 33 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:897>: ********* audio 0************ DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:898>: ****eCodecFormat: 4 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:899>: ****eSubCodecFormat: 0 DEBUG : CdxMovParse[ 36.108977] VE: enable hw clock r <__CdxMovParserGetMediaInfo:90[ 36.112928] enable_cedar_hw_clk,552 0>: ****nChannelNum: 2 DEBU[ 36.121531] VE: VE real_freq=576000000 [ 36.121531] G : CdxMovParser <__CdxMovParserGetMediaInfo:901>: ****nBitsPerSample: 16 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:902>: ****nSampleRate: 44100 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:903>: ****nAvgBitrate: 192060 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:904>: ****nMaxBitRate: 192060 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:905>: ****extradataSize 4 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:906>: *************************** DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:951>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0 DEBUG : awplayer <CdxMovSetStream:408>: == stss_size: 49 DEBUG : awplayer <CdxMovSetStream:430>: mvhd = 146300, DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:968>: -- mov duration = 146300 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:975>: ****video_avg_bitrate: 20194000 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:1000>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2 DEBUG : demuxComponent <PrintMediaInfo:487>: *********PrintMediaInfo begin********* DEBUG : demuxComponent <PrintMediaInfo:508>: fileSize = 369302598, bSeekable = 1, duration = 146300, audioNum = 1, videoNum = 1, subtitleNum = 0 DEBUG : demuxComponent <PrintMediaInfo:528>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1920, nHeight = 1080, nFrameRate = 30000, nFrameDuration = 0, bIs3DStream = 0 DEBUG : demuxComponent <PrintMediaInfo:547>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 44100 DEBUG : demuxComponent <PrintMediaInfo:563>: *********PrintMediaInfo end********* DEBUG : awplayer <initializePlayer:1529>: mVideoRotateDegree = 0 DEBUG : awplayer <initializePlayer:1538>: rotate degree level = 0 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 DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:257>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32 DEBUG : awplayer <VideoRenderCompSetWindow:454>: video render component setting window: 0xb79ef0 DEBUG : awplayer <handleSetWindow:375>: process MESSAGE_ID_SET_WINDOW message, p->pPicture(0) DEBUG : awplayer <__LayerResetNativeWindow:1016>: LayerResetNativeWindow : 0 DEBUG : awplayer <__LayerControl:1100>: layer control cmd = 259 DEBUG : awplayer <VideoRenderCompSetDeinterlace:310>: video render component setting deinterlace: 0xb78350 DEBUG : awplayer <PlayerConfigDropDelayFrame:2014>: PlayerConfigDropDelayFrame DEBUG : awplayer <PlayerConfigDropDelayFrame:2017>: VideoDecCompSetDropDelayFrames DEBUG : audioDecItf <AudioDecCompCreate:206>: libadecoder.so dlopen success, to load internal symbols... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(ParserRequestBsBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(ParserUpdateBsBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(BsQueryQuality) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamDataSize) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferSize) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioStreamBufferMaxFrameNum) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioPCMDataSize) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DecRequestPcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DecUpdatePcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PlybkUpdatePcmBuffer) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PlybkRequestPcmPts) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(PcmQueryQuality) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(AudioDecoderSeek) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(InitializeAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(ResetAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DecodeAudioStream) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(DestroyAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(CreateAudioDecoder) link success... DEBUG : audioDecItf <AudioDecCompCreate:221>: func(SetRawPlayParam) link success... DEBUG : audioRender <AudioRenderCompSetAudioSink:195>: audio render component setting AudioSink TPlayerPrepare end DEBUG : awplayer <LayerSetDisplayRect:1267>: Layer set display rect,(0 0, 800x480) TPlayerSetHoldLastPicture() DEBUG : awplayer <VideoRenderSetHoldLastPicture:580>: video render component setting hold last picture(bHold=1). DEBUG : awplayer <XPlayerStart:821>: start DEBUG : awplayer <__LayerCtrlHoldLastPicture:747>: LayerCtrlHoldLastPicture, bHold = 1 DEBUG : awplayer <XPlayerThread:2282>: process message XPLAYER_COMMAND_START. xplayer:process message XPLAYER_COMMAND_START. DEBUG : awplayer <PlayerStart:802>: player start DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start (Allwinner Audio Middle Layer),line(958) : Create Decoder!!===== DEBUG : audioDecItf <handleStart:1065>: Create libadecoder success... (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 :44100 (AllwinnerAlibs),line(883) : nAvgBitrate :192060 (AllwinnerAlibs),line(884) : nMaxBitRate :192060 (AllwinnerAlibs),line(885) : nFileSize :0 (AllwinnerAlibs),line(886) : eAudioBitstreamSource:0 (AllwinnerAlibs),line(887) : eDataEncodeType :0 (AllwinnerAlibs),line(888) : nCodecSpecificDataLen:4 (AllwinnerAlibs),line(889) : pCodecSpecificData :0xbbbd90 (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 DEBUG : awplayer <BaseCompPostAndWait:61>: video render receive cmd: start DEBUG : awplayer <handleStart:640>: video render handleStart:p->eStatus = 0 DEBUG : awplayer <BaseCompPostAndWait:61>: audio render receive cmd: start INFO : audioRender <handleStart:295>: audio render process start message. DEBUG : demuxComponent <DemuxThread:2115>: process message DEMUX_COMMAND_START. started. DEBUG : audioRender <initSoundDevice:478>: init sound device. DEBUG : audioRender <initSoundDevice:486>: set sound devide param, sample rate = 44100, channel num = 2. WARNING: awplayer <callbackProcess:3692>: message 0x40a not handled. DEBUG : awplayer <RenderGetVideoFbmBufInfo:1468>: video buffer info: nWidth[1920],nHeight[1088],nBufferCount[8],ePixelFormat[4] DEBUG : awplayer <RenderGetVideoFbmBufInfo:1471>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0] DEBUG : awplayer <__LayerControl:1100>: layer control cmd = 257 DEBUG : awplayer <__LayerControl:1102>: get the fbm buf info DEBUG : awplayer <__LayerControl:1104>: fbmBufInfo->bProgressiveFlag = 1 DEBUG : awplayer <__LayerControl:1110>: lc->mNumHoldByLayer = 3 DEBUG : awplayer <__LayerSetDisplayPixelFormat:660>: Layer set expected pixel format, format = 4 DEBUG : awplayer <__LayerSetDisplayBufferSize:612>: __LayerSetDisplayBufferSize:width = 1920,height = 1088 DEBUG : awplayer <CallbackProcess:3172>: first audio pts = 0 DEBUG : awplayer <__LayerSetDisplayBufferCount:989>: LayerSetBufferCount: count = 8 DEBUG : awplayer <__LayerControl:1100>: layer control cmd = 260 DEBUG : awplayer <__LayerControl:1113>: get the fbm buf info DEBUG : awplayer <__LayerControl:1119>: b10BitPicFlag = 0, nLbcLossyComMod = 2, bIsLossy = 1, bRcEn = 0 DEBUG : awplaye�
-
@mhcsoft 我就是网上下载 了一个1080p的,电影,然后就播放了几分钟就不行了。
你注意看,你前面发Log报错在这里
ERROR : awplayer <__LayerQueueBuffer:962>: *** picNode is full when queue buffer
WARNING: audioRender checkSampleRate:647: sample rate change from 44100 to 44100.
WARNING: audioRender checkSampleRate:649: channel num change from 2 to 2.
WARNING: audioRender checkSampleRate:651: bitPerSample num change from 16 to 16.
WARNING: audioRender checkSampleRate:653: if need direct out put flag change from 0 to 1.
WARNING: audioRender checkSampleRate:655: data type change from 1 to 1.
WARNING: audioRender checkSampleRate:674: start sound devide again because samplaRate or channelNum change
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[0x1a78a70],id[5] -
@daming123 是特定片源出问题吗?可否提供一下问题片源?
-
@mhcsoft 有没有换一个视频试试,能否正常退出
-
我放几秒就卡死求指点
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号