F1C200s 用 tplayerdemo 播放视频,非常抖,关闭播放屏幕显示就正常了,请问这是什么问题呢?
-
root@TinaLinux:/mnt/exUDISK/abc# tplayerdemo set c200s audio pass through numid=23,iface=MIXER,name='head phone volume' ; type=INTEGER,access=rw---R--,values=1,min=0,max=63,step=0 : values=30 amixer: Control default element TLV read error: No such device or address WARNING: awplayer <log_set_level:30>: 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:178>: read plugin entry adecoder-14 ok. DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry adecoder-15 fail! DEBUG : awplayer <CdxPluginLoadList:221>: have config 15 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:97>: aw stream init... DEBUG : awplayer <AwStreamInit:131>: stream list size:6 INFO : awplayer <AwParserInit:399>: aw parser init... DEBUG : awplayer <AwParserInit:470>: 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.cook comment is "cook_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_cookdec.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:194>: read plugin entry vdecoder-8 fail! DEBUG : awplayer <CdxPluginLoadList:221>: have config 8 entry DEBUG : awplayer <CdxPluginLoadList:222>: start to open vdecoder lib DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.avs comment is "avs_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawavs.so ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libawavs.so' fail: Error loading shared library libawavs.so: No such file or directory DEBUG : awplayer <CdxPluginLoadList:231>: load vdecoder id vdecoder.avs fail! 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 warning: cedarc <VDecoderRegister:127>: register codec: '115:h264' 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 warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpeg' 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 warning: cedarc <VDecoderRegister:127>: register codec: '102:mpeg2' success. warning: cedarc <VDecoderRegister:127>: register codec: '103:mpeg2' 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 warning: cedarc <VDecoderRegister:127>: register codec: '105:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '106:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '107:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '10e:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '10f:mpeg4dx' 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 warning: cedarc <VDecoderRegister:127>: register codec: '104:mpeg4H263' success. warning: cedarc <VDecoderRegister:127>: register codec: '10b:mpeg4H263' success. warning: cedarc <VDecoderRegister:127>: register codec: '10d:mpeg4H263' 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 warning: cedarc <VDecoderRegister:127>: register codec: '10a:mpeg4Normal' success. warning: cedarc <VDecoderRegister:127>: register codec: '10c:mpeg4Normal' success. warning: cedarc <VDecoderRegister:127>: register codec: '108:mpeg4Normal' success. warning: cedarc <VDecoderRegister:127>: register codec: '109:mpeg4Normal' 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, type 'help'. ****************************************************************************************** >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : tina3.5 branch: tina-dev date : Mon Jul 15 19:04:59 2019 +0800 Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a ------------------------------------------------------------------------------- DEBUG : tplayer <TPlayerCreate:193>: TPlayerCreate DEBUG : awplayer <XPlayerCreate:219>: 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: ---------------------------------------------------------------------- DEBUG : tsoundcontrol <TSoundDeviceCreate:151>: TinaSoundDeviceInit() DEBUG : tsoundcontrol <openSoundDevice:17>: openSoundDevice() in dmix style DEBUG : awplayer <LayerCreate:958>: LayerCreate. DEBUG : awplayer <LayerCreate:978>: ==== callback: 0xb6f50e5c, pUser: 0xb6ff1e40 DEBUG : awplayer <LayerCreate:989>: screen:w 800, screen:h 480 DEBUG : tsubtitlectrl <SubtitleCreate:84>: ==== pCallback: 0xb6f50ccc, pUser: 0xb6ff1e40 DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:594>: setVideoSurfaceTexture, surface = 0x1178710 DEBUG : awplayer <XPlayerThread:1906>: process message XPLAYER_COMMAND_SET_SURFACE. DEBUG : awplayer <XPlayerThread:1967>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL. DEBUG : awplayer <PlayerSetSubCtrl:679>: === PlayerSetSubCtrl DEBUG : awplayer <XPlayerSetDeinterlace:695>: set deinterlace DEBUG : awplayer <XPlayerThread:1982>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL. dd: writing '/dev/fb0': No space left on device 6001+0 records in 6000+0 records out tplayerdemo# play url:/mnt/exUDISK/abc/3.mp4 tplayerdemo# demoPlayer.mUrl = /mnt/exUDISK/abc/3.mp4WARNING: awplayer <XPlayerReset:948>: reset... DEBUG : awplayer <PlayerStop:850>: ****** PlayerStop ERROR : awplayer <PlayerStop:855>: invalid stop operation, player already in stopped status. reset the player ok. DEBUG : awplayer <XPlayerSetDataSourceUrl:459>: setDataSource(url), url='/mnt/exUDISK/abc/3.mp4' INFO : awplayer <XPlayerThread:1743>: process message XPLAYER_COMMAND_SET_SOURCE. DEBUG : awplayer <XPlayerPrepare:744>: prepare DEBUG : awplayer <XPlayerThread:1996>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1 DEBUG : demuxComponent <DemuxThread:1784>: process message DEMUX_COMMAND_PREPARE. DEBUG : demuxComponent <DemuxThread:1851>: === prepare msg DEBUG : awplayer <CdxParserPrepare:728>: source uri 'file:///mnt/exUDISK/abc/3.mp4' DEBUG : awplayer <__FileStreamCreate:533>: local file 'file:///mnt/exUDISK/abc/3.mp4' DEBUG : awplayer <__FileStreamConnect:392>: *************impl->size=2646187646 DEBUG : awplayer <__FileStreamConnect:404>: impl->filePath=fd://7?offset=0&length=2646187646 DEBUG : awplayer <__FileStreamConnect:486>: :16:[00 00 00 14 66 74 79 70 69 73 6f 6d 00 00 00 01] DEBUG : awplayer <__FileStreamGetMetaData:363>: redriect url '(null)' WARNING: awplayer <__FileStreamGetMetaData:368>: key(stream.accessibleUri) not found... WARNING: awplayer <ParserTypeGuess:586>: Sorry, I don't know what it is! DEBUG : CdxMovParser <__CdxMovParserProbe:1298>: --- probe: it is mov parser DEBUG : awplayer <CdxParserCreate:677>: Good, it's 'mov' INFO : CdxMovParser <__CdxMovParserOpen:1206>: mov parser is not support multi-stream yet!!! DEBUG : CdxMovParser <__CdxMovParserOpen:1235>: --- c->bSeekAble = 1 DEBUG : awplayer <CdxParserCreate:683>: parser type(0) DEBUG : Mov Id3 Test <_MovParseFtyp:3713>: ---- compatible = isom DEBUG : Mov Id3 Test <_MovParseTkhd:2176>: tkhd width = 1280, height = 720 DEBUG : Mov Id3 Test <_MovParseMdhd:1982>: -- language = und DEBUG : Mov Id3 Test <_MovParseStsd:1377>: stsd width = 1280, height = 720 INFO : Mov Id3 Test <_MovParseStbl:1733>: !!!! careful ctts atom is tested yet DEBUG : Mov Id3 Test <_MovParseCtts:729>: track[0].ctts.entries = 167433 DEBUG : Mov Id3 Test <_MovParseStsz:874>: -- sample_size = 0 DEBUG : Mov Id3 Test <_MovParseTkhd:2176>: tkhd width = 0, height = 0 DEBUG : Mov Id3 Test <_MovParseMdhd:1982>: -- language = eng DEBUG : Mov Id3 Test <_MovParseStsz:874>: -- sample_size = 0 DEBUG : Mov Id3 Test <_MovParseTkhd:2176>: tkhd width = 0, height = 0 DEBUG : Mov Id3 Test <_MovParseMdhd:1982>: -- language = chi DEBUG : Mov Id3 Test <_MovParseStsz:874>: -- sample_size = 0 DEBUG : CdxMovParser <__CdxMovParserInit:1178>: ***** mov open success!! DEBUG : demuxComponent <DemuxThread:1888>: --- demux->shiftedTimeUrl = DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:800>: Get mediainfo DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:827>: --- codecformat = 115 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:842>: ---- frame rate = 23976, st->time_scale: 24000, st->sample_duration: 1001 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:851>: width = 1280, height = 720 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:854>: extradataSize = 40 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:882>: ********* audio 0************ DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:883>: ****eCodecFormat: 4 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:884>: ****eSubCodecFormat: 0 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:885>: ****nChannelNum: 2 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:886>: ****nBitsPerSample: 16 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:887>: ****nSampleRate: 48000 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:888>: ****nAvgBitrate: 131560 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:889>: ****nMaxBitRate: 169888 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:890>: ****extradataSize 5 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:891>: *************************** DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:882>: ********* audio 1************ DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:883>: ****eCodecFormat: 4 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:884>: ****eSubCodecFormat: 0 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:885>: ****nChannelNum: 2 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:886>: ****nBitsPerSample: 16 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:887>: ****nSampleRate: 48000 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:888>: ****nAvgBitrate: 136184 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:889>: ****nMaxBitRate: 171576 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:890>: ****extradataSize 5 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:891>: *************************** DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:934>: streamNum = 3, videoNum = 1, audioNum = 2, subtitleNum = 0 DEBUG : awplayer <CdxMovSetStream:397>: == stss_size: 1005 DEBUG : awplayer <CdxMovSetStream:416>: mvhd = 7047103, DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:947>: -- mov duration = 7047104 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:953>: ****video_avg_bitrate: 3004000 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:974>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 3 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:974>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 3 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:974>: --i = 2, stsd_type = 2, stream_index = 1, nb_streams = 3 DEBUG : demuxComponent <PrintMediaInfo:466>: *********PrintMediaInfo begin********* DEBUG : demuxComponent <PrintMediaInfo:480>: fileSize = 2646187646, bSeekable = 1, duration = 7047104, audioNum = 2, videoNum = 1, subtitleNum = 0 DEBUG : demuxComponent <PrintMediaInfo:498>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1280, nHeight = 720, nFrameRate = 23976, nFrameDuration = 0, bIs3DStream = 0 DEBUG : demuxComponent <PrintMediaInfo:516>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 48000 DEBUG : demuxComponent <PrintMediaInfo:516>: ***Audio[1]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 48000 DEBUG : demuxComponent <PrintMediaInfo:532>: *********PrintMediaInfo end********* DEBUG : awplayer <initializePlayer:1465>: mVideoRotateDegree = 0 DEBUG : awplayer <initializePlayer:1474>: rotate degree level = 0 debug : cedarc <LogVersionInfo:40>: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : CedarC-v1.1.9 branch: master commit: 1951abe1456450ea48bfd446e801861a1354e93c date : Wed May 30 18:59:36 2018 +0800 author: jenkins8080 patch : ---------------------------------------------------------------------- debug : cedarc <CreateVideoDecoder:215>:CreateVideoDecoder **** DEBUG : awplayer <VideoDecCompSetVideoStreamInfo:255>: ++++++++ pVconfig->bGpuBufValid = 1,nGpuAlignStride = 32 debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS *** debug : cedarc <InitializeVideoDecoder:344>:*** pVconfig->nVeFreq = 0 debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS *** debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz *** debug : cedarc <VeInitialize:1198>: ve init ok debug : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000 debug : cedarc <VeRelease:1253>: ve release ok warning: cedarc <InitializeVideoDecoder:428>:warning: the nDeInterlaceHoldingFrameBufferNum is 0 debug : cedarc <DecideStreamBufferSize:1897>:nBufferSize=1048576 debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz *** debug : cedarc <VeInitialize:1198>: ve init ok debug : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0 debug : cedarc <VeGetChipId:1385>: 00000000 debug : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264' debug : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0 debug : cedarc <GetSbmInterface:1705>:*********GetSbmInterface, nType=4 debug : cedarc <GetSbmInterfaceFrame:1663>:******* sbm-type: Frame******* debug : cedarc <SbmFrameInit:178>:************pSbm->sbmInterface.bUseNewVeMemoryProgram=0 debug : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20 debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS *** debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open DEBUG : awplayer <VideoRenderCompSetWindow:454>: video render component setting window: 0x1178710 DEBUG : awplayer <handleSetWindow:375>: process MESSAGE_ID_SET_WINDOW message, p->pPicture(0) DEBUG : awplayer <__LayerResetNativeWindow:819>: LayerResetNativeWindow : 0 DEBUG : awplayer <__LayerControl:903>: layer control cmd = 259 DEBUG : awplayer <VideoRenderCompSetDeinterlace:310>: video render component setting deinterlace: 0xb6f11970 DEBUG : awplayer <PlayerConfigDropDelayFrame:1762>: PlayerConfigDropDelayFrame DEBUG : awplayer <PlayerConfigDropDelayFrame:1765>: 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 <XPlayerPrepareAsync:724>: prepareAsync DEBUG : awplayer <XPlayerThread:1996>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 4 INFO : awplayer <XPlayerThread:2032>: xxxxxxxxxx video size: width = 1280, height = 720 DEBUG : tplayer <CallbackFromXPlayer:83>: video width = 1280,height = 720 *****tplayer:video width = 1280,height = 720 warning: unknown callback from Tinaplayer. TPLAYER_NOTIFY_PREPARED,has prepared. preparing... prepared ok TPlayerSetHoldLastPicture() DEBUG : awplayer <VideoRenderSetHoldLastPicture:580>: video render component setting hold last picture(bHold=1). start play DEBUG : awplayer <XPlayerStart:774>: start DEBUG : awplayer <__LayerCtrlHoldLastPicture:584>: LayerCtrlHoldLastPicture, bHold = 1 DEBUG : awplayer <XPlayerThread:2181>: process message XPLAYER_COMMAND_START. DEBUG : awplayer <PlayerStart:728>: player start DEBUG : awplayer <BaseCompPostAndWait:61>: video decoder receive cmd: start debug : cedarc <SbmFrameReset:588>:** wait for reset sem debug : cedarc <ProcessThread:1591>:*** post reset sem debug : cedarc <SbmFrameReset:590>:** wait for reset sem ok debug : cedarc <SbmFrameReset:595>:SbmFrameReset finish DEBUG : awplayer <BaseCompPostAndWait:61>: audio decoder receive cmd: start debug : cedarc <H264ProcessExtraData2:579>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0 (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 :48000 (AllwinnerAlibs),line(883) : nAvgBitrate :131560 (AllwinnerAlibs),line(884) : nMaxBitRate :169888 (AllwinnerAlibs),line(885) : nFileSize :0 (AllwinnerAlibs),line(886) : eAudioBitstreamSource:0 (AllwinnerAlibs),line(887) : eDataEncodeType :0 (AllwinnerAlibs),line(888) : nCodecSpecificDataLen:5 (AllwinnerAlibs),line(889) : pCodecSpecificData :0x119bec0 (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 : audioRender <initSoundDevice:478>: init sound device. DEBUG : audioRender <initSoundDevice:486>: set sound devide param, sample rate = 48000, channel num = 2. DEBUG : tsoundcontrol <TSoundDeviceSetFormat:197>: TinaSoundDeviceSetFormat(),sc->sound_status == 2 DEBUG : tsoundcontrol <TSoundDeviceSetFormat:199>: TinaSoundDeviceSetFormat() DEBUG : tsoundcontrol <TSoundDeviceSetFormat:205>: TinaSoundDeviceSetFormat()>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:4 WARNING: awplayer <callbackProcess:3560>: message 0x40a not handled. DEBUG : demuxComponent <DemuxThread:2043>: process message DEMUX_COMMAND_START. started. debug : cedarc <AvcSbmFrameCheckBitStreamType:320>:result: bStreamWithStartCode[0], with[0], whitout[1] debug : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1 DEBUG : awplayer <CallbackProcess:2906>: first audio pts = 0 debug : fbm.c <FbmCreateBuffer:133>:FbmCreate, total fbm number: 8, decoder needed: 5, nWidth=1280, nHeight=720 nAlignStride = 32 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:280>:*** calcute nLower2BitBufOffset = 0(0.00), stride = 0 debug : fbm.c <FbmCreateBuffer:379>:*** finish fbmCreateBuffer DEBUG : awplayer <RenderGetVideoFbmBufInfo:1468>: video buffer info: nWidth[1280],nHeight[736],nBufferCount[8],ePixelFormat[7] DEBUG : awplayer <RenderGetVideoFbmBufInfo:1471>: video buffer info: nAlignValue[32],bProgressiveFlag[1],bIsSoftDecoderFlag[0] DEBUG : awplayer <__LayerControl:903>: layer control cmd = 257 DEBUG : awplayer <__LayerControl:905>: get the fbm buf info DEBUG : awplayer <__LayerControl:907>: fbmBufInfo->bProgressiveFlag = 1 DEBUG : awplayer <__LayerControl:913>: lc->mNumHoldByLayer = 1 DEBUG : awplayer <__LayerSetDisplayPixelFormat:499>: Layer set expected pixel format, format = 7 DEBUG : awplayer <__LayerSetDisplayBufferSize:451>: __LayerSetDisplayBufferSize:width = 1280,height = 736 DEBUG : awplayer <__LayerSetDisplayBufferCount:792>: LayerSetBufferCount: count = 8 DEBUG : awplayer <__LayerGetBufferNumHoldByGpu:807>: num hold by gpu is 1 DEBUG : awplayer <SetGpuBufferToDecoder:1509>: SetGpuBufferToDecoder:nNumHoldByLayer = 1,p->nGpuBufferNum = 8 DEBUG : awplayer <setLayerBuffer:131>: setLayerBuffer:Fmt(7),(1280 736, 0 x 0) DEBUG : awplayer <setLayerBuffer:134>: Disp(1280x736)buf_cnt(8),ProFlag(0),SoftDecFlag(0) DEBUG : awplayer <setLayerBuffer:231>: SunxiMemPalloc mHoldLastPictureBuf successfully,with = 1920,height = 1088 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[0]:0xb5527000 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[1]:0xb538f000 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[2]:0xb51f7000 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[3]:0xb505f000 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[4]:0xb4ec7000 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[5]:0xb4d2f000 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[6]:0xb4b97000 DEBUG : awplayer <setLayerBuffer:244>: SunxiMemPalloc buf[7]:0xb4a33000 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <__LayerDequeueBuffer:624>: numNotHoldByLayer = 7,lc->nGpuBufferCount = 8 DEBUG : awplayer <callbackProcess:3396>: *************decoded nWidth = 1280,nHeight = 720******** DEBUG : tplayer <CallbackFromXPlayer:94>: video decoded width = 1280,height = 720 *****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. INFO : awplayer <callbackProcess:3412>: xxxxxxxxxx video size : width = 1280, height = 720 DEBUG : tplayer <CallbackFromXPlayer:83>: video width = 1280,height = 720 *****tplayer:video width = 1280,height = 720 warning: unknown callback from Tinaplayer. DEBUG : awplayer <CallbackProcess:2781>: first video pts = 83416 WARNING: audioRender <checkSampleRate:647>: sample rate change from 48000 to 48000. 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. DEBUG : tsoundcontrol <TSoundDeviceStop:263>: TinaSoundDeviceStop():sc->sound_status = 2 DEBUG : tsoundcontrol <TSoundDeviceStop:266>: Sound device already stopped. DEBUG : tsoundcontrol <TSoundDeviceSetFormat:197>: TinaSoundDeviceSetFormat(),sc->sound_status == 2 DEBUG : tsoundcontrol <TSoundDeviceSetFormat:199>: TinaSoundDeviceSetFormat() DEBUG : tsoundcontrol <TSoundDeviceSetFormat:205>: TinaSoundDeviceSetFormat()>>>sample_rate:48000,channel_num:2,sc->bytes_per_sample:4 DEBUG : awplayer <CallbackProcess:2906>: first audio pts = 39999 DEBUG : audioRender <startSoundDevice:708>: start sound device. DEBUG : tsoundcontrol <TSoundDeviceStart:216>: TinaSoundDeviceStart(): sc->sound_status = 2 DEBUG : tsoundcontrol <setSoundDeviceParams:66>: setSoundDeviceParams() ERROR : awplayer <__LayerQueueBuffer:765>: *** picNode is full when queue buffer DEBUG : awplayer <QueueBufferToShow:1360>: video pts(0.083) ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame error : fbm.c <FbmReturnPicture:932>:invalid frame status, a picture being returned, but bUsedByRender=0, bInValidPictureQueue=0, bAlreadyDisplayed=0. error : fbm.c <FbmReturnPicture:933>:**picture[0x120abd0],id[7] warning: cedarc <ReturnPicture:1525>:FbmReturnPicture return fail, it means the picture being returned it not one of this FBM. DEBUG : tsoundcontrol <setSoundDeviceParams:121>: alsa-init: chunksize set to 1024 DEBUG : tsoundcontrol <setSoundDeviceParams:130>: alsa-init: fragcount=8 DEBUG : tsoundcontrol <setSoundDeviceParams:140>: setSoundDeviceParams():sc->alsa_can_pause = 0 WARNING: awplayer <CallbackProcess:3653>: reset the timer to 0.040, time difference is -0.449 DEBUG : awplayer <QueueBufferToShow:1360>: video pts(1.001) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(2.002) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(3.003) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(4.004) ERROR : tsoundcontrol <TSoundDeviceGetCachedTime:418>: TinaSoundDeviceGetCachedTime(),ret = -32 , delay = 0 ERROR : tsoundcontrol <TSoundDeviceWrite:389>: MSGTR_AO_ALSA_WriteError,res = -32 ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : tsoundcontrol <TSoundDeviceGetCachedTime:418>: TinaSoundDeviceGetCachedTime(),ret = -32 , delay = 0 WARNING: awplayer <CallbackProcess:3653>: reset the timer to 4.360, time difference is -0.291 ERROR : tsoundcontrol <TSoundDeviceWrite:389>: MSGTR_AO_ALSA_WriteError,res = -32 ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : tsoundcontrol <TSoundDeviceGetCachedTime:418>: TinaSoundDeviceGetCachedTime(),ret = -32 , delay = 0 WARNING: awplayer <CallbackProcess:3653>: reset the timer to 4.480, time difference is -0.402 ERROR : tsoundcontrol <TSoundDeviceWrite:389>: MSGTR_AO_ALSA_WriteError,res = -32 ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : tsoundcontrol <TSoundDeviceGetCachedTime:418>: TinaSoundDeviceGetCachedTime(),ret = -32 , delay = 0 WARNING: awplayer <CallbackProcess:3653>: reset the timer to 4.600, time difference is -0.404 ERROR : tsoundcontrol <TSoundDeviceWrite:389>: MSGTR_AO_ALSA_WriteError,res = -32 ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : tsoundcontrol <TSoundDeviceGetCachedTime:418>: TinaSoundDeviceGetCachedTime(),ret = -32 , delay = 0 ERROR : tsoundcontrol <TSoundDeviceWrite:389>: MSGTR_AO_ALSA_WriteError,res = -32 ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame DEBUG : awplayer <QueueBufferToShow:1360>: video pts(5.547) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(6.006) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(7.007) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(8.008) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(9.009) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(10.010) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(11.011) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(12.012) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(13.013) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(14.014) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(15.015) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(16.016) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(17.017) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(18.018) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(19.019) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(20.020) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(21.021) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(22.022) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(23.023) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(24.024) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(25.025) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(26.026) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(27.027) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(28.028) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(29.029) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(30.030) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(31.031) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(32.032) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(33.033) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(34.034) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(35.035) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(36.036) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(37.037) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(38.038) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(39.039) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(40.040) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(41.041) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(42.000) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(43.001) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(44.002) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(45.003) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(46.004) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(47.005) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(48.006) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(49.007) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(50.008) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(51.009) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(52.010) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(53.011) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(54.012) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(55.013) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(56.014) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(57.015) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(58.016) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(59.017) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(60.018) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(61.019) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(62.020) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(63.021) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(64.022) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(65.023) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(66.024) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(67.025) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(68.026) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(69.027) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(70.028) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(71.029) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(72.030) ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : tsoundcontrol <TSoundDeviceGetCachedTime:418>: TinaSoundDeviceGetCachedTime(),ret = -32 , delay = 0 WARNING: awplayer <CallbackProcess:3653>: reset the timer to 73.480, time difference is -0.153 ERROR : tsoundcontrol <TSoundDeviceWrite:389>: MSGTR_AO_ALSA_WriteError,res = -32 ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame ERROR : awplayer <ProcessVideoSync:1305>: need to drop this frame DEBUG : awplayer <QueueBufferToShow:1360>: video pts(74.449) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(75.033) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(76.034) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(77.035) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(78.036) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(79.037) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(80.038) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(81.039) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(82.040) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(83.041) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(84.001) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(85.002) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(86.003) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(87.004) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(88.005) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(89.006) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(90.007) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(91.008) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(92.009) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(93.010) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(94.011) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(95.012) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(96.013) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(97.014) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(98.015) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(99.016) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(100.017) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(101.018) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(102.019) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(103.020) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(104.021) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(105.022) DEBUG : awplayer <QueueBufferToShow:1360>: video pts(106.023)
-
我之前也有这个问题
tplayer默认使用的是CreateVideoOutport创建的接口,这个可以直接显示Yuv图层,但是非常抖。
后来我就直接自己照着例程写解码程序然后再用scaler转yuv就不抖了 -
请教CreateVideoOutport 与 照着例程写解码程序然后再用scaler转yuv 有什么区别呢?
-
root@TinaLinux:/# decodertest /tmp/binghe.mp4 /tmp 0 NV21 2 10 WARNING: awplayer <log_set_level:30>: 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:178>: read plugin entry adecoder-14 ok. DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry adecoder-15 fail! DEBUG : awplayer <CdxPluginLoadList:221>: have config 15 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 <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.cook comment is "cook_adecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_cookdec.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:194>: read plugin entry vdecoder-8 fail! DEBUG : awplayer <CdxPluginLoadList:221>: have config 8 entry DEBUG : awplayer <CdxPluginLoadList:222>: start to open vdecoder lib DEBUG : awplayer <DlOpenPlugin:96>: plugin vdecoder.avs comment is "avs_vdecoder" DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libawavs.so ERROR : awplayer <DlOpenPlugin:103>: dlopen 'libawavs.so' fail: Error loading shared library libawavs.so: No such file or directory DEBUG : awplayer <CdxPluginLoadList:231>: load vdecoder id vdecoder.avs fail! 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 warning: cedarc <VDecoderRegister:127>: register codec: '115:h264' 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 warning: cedarc <VDecoderRegister:127>: register codec: '101:mjpeg' 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 warning: cedarc <VDecoderRegister:127>: register codec: '102:mpeg2' success. warning: cedarc <VDecoderRegister:127>: register codec: '103:mpeg2' 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 warning: cedarc <VDecoderRegister:127>: register codec: '105:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '106:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '107:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '10e:mpeg4dx' success. warning: cedarc <VDecoderRegister:127>: register codec: '10f:mpeg4dx' 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 warning: cedarc <VDecoderRegister:127>: register codec: '104:mpeg4H263' success. warning: cedarc <VDecoderRegister:127>: register codec: '10b:mpeg4H263' success. warning: cedarc <VDecoderRegister:127>: register codec: '10d:mpeg4H263' 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 warning: cedarc <VDecoderRegister:127>: register codec: '10a:mpeg4Normal' success. warning: cedarc <VDecoderRegister:127>: register codec: '10c:mpeg4Normal' success. warning: cedarc <VDecoderRegister:127>: register codec: '108:mpeg4Normal' success. warning: cedarc <VDecoderRegister:127>: register codec: '109:mpeg4Normal' 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 debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS *** debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz *** debug : cedarc <VeInitialize:1198>: ve init ok debug : ionAlloc <ion_alloc_open:175>:** phy offset = 40000000 debug : cedarc <VeRelease:1253>: ve release ok before strcpy(tmpUrl, url) before CdxParserPrepare() file:///tmp/binghe.mp4 DEBUG : awplayer <CdxParserPrepare:728>: source uri 'file:///tmp/binghe.mp4' DEBUG : awplayer <__FileStreamCreate:533>: local file 'file:///tmp/binghe.mp4' DEBUG : awplayer <__FileStreamConnect:392>: *************impl->size=1621069 DEBUG : awplayer <__FileStreamConnect:404>: impl->filePath=fd://4?offset=0&length=1621069 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 '(null)' WARNING: awplayer <__FileStreamGetMetaData:368>: key(stream.accessibleUri) not found... WARNING: awplayer <ParserTypeGuess:586>: Sorry, I don't know what it is! DEBUG : CdxMovParser <__CdxMovParserProbe:1298>: --- probe: it is mov parser DEBUG : awplayer <CdxParserCreate:677>: Good, it's 'mov' DEBUG : CdxMovParser <__CdxMovParserOpen:1235>: --- c->bSeekAble = 1 DEBUG : awplayer <CdxParserCreate:683>: parser type(0) DEBUG : Mov Id3 Test <_MovParseFtyp:3713>: ---- compatible = isomiso2avc1mp41 DEBUG : Mov Id3 Test <_MovParseTkhd:2176>: tkhd width = 1280, height = 720 DEBUG : Mov Id3 Test <_MovParseMdhd:1982>: -- language = und DEBUG : Mov Id3 Test <_MovParseStsd:1377>: stsd width = 1280, height = 720 INFO : Mov Id3 Test <_MovParseStbl:1733>: !!!! careful ctts atom is tested yet DEBUG : Mov Id3 Test <_MovParseCtts:729>: track[0].ctts.entries = 182 DEBUG : Mov Id3 Test <_MovParseStsz:874>: -- sample_size = 0 DEBUG : Mov Id3 Test <_MovParseTkhd:2176>: tkhd width = 0, height = 0 DEBUG : Mov Id3 Test <_MovParseMdhd:1982>: -- language = und DEBUG : Mov Id3 Test <_MovParseStsz:874>: -- sample_size = 0 DEBUG : Mov Id3 Test <_MovParseStbl:1746>: ============ sbgp DEBUG : Mov Id3 Test <_MovParseSbgp:663>: ========= grouping_type:0x6c6c6f72 DEBUG : CdxMovParser <__CdxMovParserInit:1178>: ***** mov open success!! before CdxParserGetMediaInfo() DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:800>: Get mediainfo DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:827>: --- codecformat = 115 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:842>: ---- frame rate = 24000, st->time_scale: 12288, st->sample_duration: 512 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:851>: width = 1280, height = 720 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:854>: extradataSize = 41 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:882>: ********* audio 0************ DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:883>: ****eCodecFormat: 4 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:884>: ****eSubCodecFormat: 0 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:885>: ****nChannelNum: 2 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:886>: ****nBitsPerSample: 16 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:887>: ****nSampleRate: 48000 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:888>: ****nAvgBitrate: 128867 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:889>: ****nMaxBitRate: 128867 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:890>: ****extradataSize 5 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:891>: *************************** DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:934>: streamNum = 2, videoNum = 1, audioNum = 1, subtitleNum = 0 DEBUG : awplayer <CdxMovSetStream:397>: == stss_size: 1 DEBUG : awplayer <CdxMovSetStream:416>: mvhd = 10022, DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:947>: -- mov duration = 10022 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:953>: ****video_avg_bitrate: 1294000 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:974>: --i = 0, stsd_type = 1, stream_index = 0, nb_streams = 2 DEBUG : CdxMovParser <__CdxMovParserGetMediaInfo:974>: --i = 1, stsd_type = 2, stream_index = 0, nb_streams = 2 DEBUG : awplayer <PrintMediaInfo:466>: *********PrintMediaInfo begin********* DEBUG : awplayer <PrintMediaInfo:480>: fileSize = 1621069, bSeekable = 1, duration = 10022, audioNum = 1, videoNum = 1, subtitleNum = 0 DEBUG : awplayer <PrintMediaInfo:498>: ***Video[0]*** eCodecFormat = 0x115, nWidth = 1280, nHeight = 720, nFrameRate = 24000, nFrameDuration = 0, bIs3DStream = 0 DEBUG : awplayer <PrintMediaInfo:516>: ***Audio[0]*** eCodecFormat = 0x4, eSubCodecFormat = 0x0, nChannelNum = 2, nBitsPerSample = 16, nSampleRate = 48000 DEBUG : awplayer <PrintMediaInfo:532>: *********PrintMediaInfo end********* before CreateVideoDecoder() debug : cedarc <LogVersionInfo:40>: >>>>>>>>>>>>>>>>>>>>>>>>>>>>> Cedar Codec <<<<<<<<<<<<<<<<<<<<<<<<<<<< tag : CedarC-v1.1.9 branch: master commit: 1951abe1456450ea48bfd446e801861a1354e93c date : Wed May 30 18:59:36 2018 +0800 author: jenkins8080 patch : ---------------------------------------------------------------------- debug : cedarc <CreateVideoDecoder:215>:CreateVideoDecoder **** before InitializeVideoDecoder() debug : cedarc <InitializeVideoDecoder:344>:*** pVconfig->nVeFreq = 0 debug : ionAlloc <__GetIonMemOpsS:985>:*** get __GetIonMemOpsS *** debug : ionAlloc <ion_alloc_open:134>:begin ion_alloc_open warning: cedarc <InitializeVideoDecoder:428>:warning: the nDeInterlaceHoldingFrameBufferNum is 0 debug : cedarc <DecideStreamBufferSize:1943>:nBufferSize=6291456 debug : cedarc <VeSetSpeed:1559>: *** set ve freq to 300 Mhz *** debug : cedarc <VeInitialize:1198>: ve init ok debug : cedarc <VideoEngineCreate:388>: *** pEngine->nIcVeVersion = 1663, decIpVersion = 0 debug : cedarc <VeGetChipId:1385>: 00000000 debug : cedarc <CreateSpecificDecoder:1209>: Create decoder '115:h264' debug : cedarc <VideoEngineCreate:481>: **************eCtlAfcbMode = 0 debug : cedarc <GetSbmInterface:1705>:*********GetSbmInterface, nType=4 debug : cedarc <GetSbmInterfaceFrame:1663>:******* sbm-type: Frame******* debug : cedarc <SbmFrameInit:178>:************pSbm->sbmInterface.bUseNewVeMemoryProgram=0 debug : cedarc <CdcMessageQueueCreate:47>:nMessageSize = 20 after InitializeVideoDecoder() initDecoder OK decoder input file: file:///tmp/binghe.mp4 decoder output directory: /tmp output pixel format: NV21 DecodeThread(), thread created parserThreadFunc(), thread created debug : cedarc <AvcSbmFrameCheckBitStreamType:320>:result: bStreamWithStartCode[0], with[0], whitout[1] data trunk number: 153, i = 101 DecodeThread() Decode Video Stream start .... debug : cedarc <H264ProcessExtraData2:579>: H264ProcessNaluUnit, bNeedFindSPS = 0, bNeedFindPPS = 0 debug : cedarc <H264DecodePictureScanType:2688>: here3:hCtx->bProgressice=1 debug : fbm.c <FbmCreateBuffer:133>:FbmCreate, total fbm number: 3, decoder needed: 3, nWidth=1280, nHeight=720 nAlignStride = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 0, maxNum = 3 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 1, maxNum = 3 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 2, maxNum = 3 debug : fbm.c <FbmCreateBuffer:379>:*** finish fbmCreateBuffer warning: cedarc <H264MallocBuffer:1235>: h264 scale down fbm buffer number need double check! debug : fbm.c <FbmCreateBuffer:133>:FbmCreate, total fbm number: 8, decoder needed: 3, nWidth=1280, nHeight=720 nAlignStride = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 0, maxNum = 8 debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 1, maxNum = 8 debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0 debug [ 263.504634] sunxi-ion ion.6: Fail to allocate buffer : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 2, maxNum = 8 debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 3, maxNum = 8 debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 4, maxNum = 8 debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 5, maxNum = 8 debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 6, maxNum = 8 debug : fbm.c <FbmAllocatePictureBuffer:1410>:pPicture->bEnableAfbcFlag = 0 debug : fbm.c <FbmCreateBuffer:226>:** call allocate pic buf, i = 7, maxNum = 8 error : ionAlloc <ion_alloc_palloc:335>:ION_IOC_ALLOC error error : fbm.c <FbmAllocatePictureBuffer:1407>:memory alloc fail, require 1382400 bytes for picture buffer. error : fbm.c <FbmCreateBuffer:294>:memory alloc fail, only 7 frames allocated, we need 8 frames. debug : cedarc <H264ProcessNaluUnit:2448>: malloc buffer error decoder return error. decoder exit decoder thread exit.... hevc parser receive other thread error. exit flag parser exit..... demoDecoder finish.decode frame: 0, cost 0 s WARNING: Id3Base <EraseId3:1059>: id3 has already been free DEBUG : awplayer <CdxMovClose:204>: mov close stream = 0xb6cc5d80 DEBUG : awplayer <__FileStreamClose:167>: FileStreamClose after CdxParserClose() debug : cedarc <ProcessThread:1656>: exit sbm thread debug : cedarc <VeRelease:1253>: ve release ok root@TinaLinux:/#
想试一下单解码, 也挂了:
[ 63.124981] sunxi-ion ion.6: Fail to allocate buffer [ 100.639605] sunxi-ion ion.6: Fail to allocate buffer [ 106.299117] sunxi-ion ion.6: Fail to allocate buffer [ 263.504634] sunxi-ion ion.6: Fail to allocate buffer
-
@yixiuge
这就尴尬了 -
@yixiuge 挂掉的原因是内存不足导致,可以打开缩放试一下,decodertest /tmp/binghe.mp4 /tmp 1 NV21 2 10
-
@houxiaoni
嗯,感谢, decodertest 这个问题解决了。请问 tplayerdemo 抖动的问题怎么解决了,现在我把 dclk 从 33Mhz降到 20Mhz,tplayerdemo 全屏播放不抖了,但是如果app里面用了 ui层和yuv层的话, 在yuv层附近ui层也会抖 .
-
@emperg 从log看,是alsa写错误发生后,出现了丢帧现象,抖动应该是丢帧导致的,可以尝试以下验证看看是哪里的问题:
① 在menuconfig中打开ONLY_DISABLE_AUDIO,验证是否audio导致丢帧;
② 看一下该视频的帧率是多少,会不会是帧率过高导致解码丢帧;也可以在vdecoder.c中打开宏AW_VDECODER_SPEED_INFO,看一下解码速度;
③ 有可能是pts错误导致丢帧,可以在vdecoder.c中打开宏DEBUG_SAVE_BITSTREAM,保存裸流,然后在PC端播放看看是否正常。 -
是这个对吗?
package/allwinner/tina_multimedia/libcedarx/libcore/playback/player.c:
#define CONFIG_DISABLE_AUDIO (0)
我改成1 先试一试.
-
禁用audio结果还是一样
#define CONFIG_DISABLE_AUDIO (1)
如果dlck 20M 就不抖:
[ 0.421611] pll_freq=297000000HZ, lcd_dclk_freq=20000000HZ, clk_div=14 [ 0.428986] ******************************* [ 0.433412] *** [ 0.435286] *** LCD Panel Parameter Check [ 0.439440] *** [ 0.441307] *** by guozhenjie [ 0.445503] *** [ 0.447374] ******************************** [ 0.451822] *** [ 0.453693] *** Interface: [ 0.456265] *** Parallel HV Panel [ 0.459989] *** Lcd Frm to RGB666 [ 0.463473] *** [ 0.465342] *** Timing: [ 0.467915] *** lcd_x: 800 [ 0.471190] *** lcd_y: 480 [ 0.474497] *** lcd_ht: 1056 [ 0.477862] *** lcd_hbp: 55 [ 0.481049] *** lcd_vt: 525 [ 0.484357] *** lcd_vbp: 35 [ 0.487546] *** lcd_hspw: 20 [ 0.490735] *** lcd_vspw: 10 [ 0.493953] *** lcd_frame_frq: 36Hz [ 0.497668] *** [ 0.499538] *** WRN03: Recommend "lcd_dclk_frq = 33" [ 0.504688] *** [ 0.506557] *** LCD Panel Parameter Check End [ 0.511064] *******************************
如果恢复到33Mhz就抖得不行:
-
这个视频文件的码率非常低,
60秒才 191K 大小,这是原视频文件:
-
@yixiuge
不信邪,把视频文件resize到 320x240,仍然抖得狠,既撕裂,又异位,人眼看到就是抖了,感觉是显示部分出问题了. -
这个这个YUV层打开就会抖,感觉还是显示驱动问题.
-
@yixiuge 老哥解决抖动问题了吗?我用tina解码也是这样
-
@yixiuge C200S播放抖动是DDR带宽的原因,当前的解决方案是降低图层的刷新率,sys_config.fex的lcd_dclk_freq默认是按60fps计算的,按30fps计算应该就可以了。
lcd_driver_name = "ili6122_800x480" lcd_if = 0 lcd_x = 800 lcd_y = 480 lcd_width = 164 lcd_height = 100 lcd_dclk_freq = 13
-
原来如此,谢谢大佬指教。
-
@yixiuge 这个问题解决了吗,我按照上面配置还是抖动
-
@iincity 降低帧率,用硬解直接显示。
-
@allwinnercoding 硬解?能不能具体说说如何做。现在tplayerdemo默认不是硬解吗
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号