报错信息如下:
[13:41:20.111]root@TinaLinux:/# tplayerdemo
[13:41:20.173]INFO : cedarc <log_set_level:43>: Set log level to 3 from /vendor/etc/cedarc.conf
[13:41:20.181]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-0 ok.
[13:41:20.181]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-1 ok.
[13:41:20.195]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-2 ok.
[13:41:20.206]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-3 ok.
[13:41:20.207]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-4 ok.
[13:41:20.216]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-5 ok.
[13:41:20.216]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-6 ok.
[13:41:20.226]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-7 ok.
[13:41:20.226]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-8 ok.
[13:41:20.240]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-9 ok.
[13:41:20.248]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-10 ok.
[13:41:20.248]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-11 ok.
[13:41:20.259]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-12 ok.
[13:41:20.259]DEBUG : awplayer <ReadPluginEntry:178>: read plugin entry adecoder-13 ok.
[13:41:20.273]DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry adecoder-14 fail!
[13:41:20.284]DEBUG : awplayer <CdxPluginLoadList:221>: have config 14 entry
[13:41:20.284]DEBUG : awplayer <CdxPluginLoadList:222>: start to open adecoder lib
[13:41:20.294]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.aac comment is "aac_adecoder"
[13:41:20.294]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_aacdec.so
[13:41:20.307]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.alac comment is "alac_adecoder"
[13:41:20.315]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_alacdec.so
[13:41:20.315]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.amr comment is "amr_adecoder"
[13:41:20.326]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_amrdec.so
[13:41:20.326]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.ape comment is "ape_adecoder"
[13:41:20.338]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_apedec.so
[13:41:20.350]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.flac comment is "flac_adecoder"
[13:41:20.350]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_flacdec.so
[13:41:20.361]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.mp3 comment is "mp3_adecoder"
[13:41:20.361]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_mp3dec.so
[13:41:20.373]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.ogg comment is "ogg_adecoder"
[13:41:20.381]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_oggdec.so
[13:41:20.381]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.wav comment is "wav_adecoder"
[13:41:20.394]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_wavdec.so
[13:41:20.394]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.atrc comment is "atrc_adecoder"
[13:41:20.406]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_atrcdec.so
[13:41:20.415]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.ra comment is "ra_adecoder"
[13:41:20.415]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_radec.so
[13:41:20.426]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.sipr comment is "sipr_adecoder"
[13:41:20.426]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_siprdec.so
[13:41:20.438]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.dsd comment is "dsd_adecoder"
[13:41:20.450]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_dsddec.so
[13:41:20.450]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.g729 comment is "g729_adecoder"
[13:41:20.461]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_g729dec.so
[13:41:20.472]DEBUG : awplayer <DlOpenPlugin:96>: plugin adecoder.opus comment is "opus_adecoder"
[13:41:20.472]DEBUG : awplayer <DlOpenPlugin:97>: plugin open lib: libaw_opusdec.so
[13:41:20.483]DEBUG : awplayer <CdxPluginLoadList:202>: Load Plugin list vdecoder
[13:41:20.483]DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry vdecoder-0 fail!
[13:41:20.494]DEBUG : awplayer <CdxPluginLoadList:221>: have config 0 entry
[13:41:20.494]DEBUG : awplayer <CdxPluginLoadList:222>: start to open vdecoder lib
[13:41:20.504]DEBUG : awplayer <CdxPluginLoadList:202>: Load Plugin list plugin
[13:41:20.504]DEBUG : awplayer <ReadPluginEntry:194>: read plugin entry plugin-0 fail!
[13:41:20.515]DEBUG : awplayer <CdxPluginLoadList:221>: have config 0 entry
[13:41:20.515]DEBUG : awplayer <CdxPluginLoadList:222>: start to open plugin lib
[13:41:20.526]DEBUG : awplayer <AwStreamInit:107>: aw stream init...
[13:41:20.540]DEBUG : awplayer <AwStreamInit:150>: s[ 286.038009] sunxi-codec-machine sndcodec: set codec dai sysclk:24576000.
[13:41:20.540]tream list size:9
[13:41:20.540]INFO : awplayer <AwParserInit:441>: aw parser init...
[13:41:20.548]DEBUG : awplayer <AwParserInit:560>: aw parser size:11
[13:41:20.548]
[13:41:20.562]******************************************************************************************
[13:41:20.562]* This program implements a simple player, you can type commands to control the player.
[13:41:20.573]* To show what commands supported, type 'help'.
[13:41:20.573]******************************************************************************************
[13:41:20.581]/dev/zero OR /dev/fb0 is not exit
[13:41:20.581]
[13:41:20.581]>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> tina_multimedia <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[13:41:20.581]tag : tina3.5
[13:41:20.594]branch: tina-dev
[13:41:20.594]date : Mon Jul 15 19:04:59 2019 +0800
[13:41:20.594]Change-Id: I5f6c8a88d7b387a312b7744797a0d5f8ab07ee7a
[13:41:20.607]-------------------------------------------------------------------------------
[13:41:20.607]DEBUG : tplayer <TPlayerCreate:203>: TPlayerCreate
[13:41:20.616]DEBUG : awplayer <XPlayerCreate:239>: XPlayerCreate.
[13:41:20.616]DEBUG : awplayer <LogVersionInfo:34>:
[13:41:20.626]>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> CedarX <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
[13:41:20.626]tag : CedarX-2.8.0
[13:41:20.626]branch: master
[13:41:20.626]commit: 967535b8ff6a073cb4f38e85a4ae5fa6008014d8
[13:41:20.640]date : Mon, 15 May 2017 01:30:22 +0000 (09:30 +0800)
[13:41:20.640]author:
[13:41:20.640]----------------------------------------------------------------------
[13:41:20.640]
[13:41:20.648]DEBUG : tsoundcontrol <TSoundDeviceCreate:147>: TinaSoundDeviceInit()
[13:41:20.668]DEBUG : tsoundcontrol <openSoundDevice:17>: openSoundDevice() in default style
[13:41:20.668]DEBUG : awplayer <LayerCreate:1144>: LayerCreate.
[13:41:20.681]DEBUG : awplayer <LayerCreate:1150>: init_mutex_count = 1,init_ret = 0
[13:41:20.681]DEBUG : awplayer <LayerCreate:1172>: ==== callback: 0x7f86d7d280, pUser: 0x3034f4e0
[13:41:20.691]DEBUG : awplayer <LayerCreate:1190>: screen:w -1, screen:h -1
[13:41:20.701]DEBUG : tsubtitlectrl <SubtitleCreate:84>: ==== pCallback: 0x7f86d7d140, pUser: 0x3034f4e0
[13:41:20.701]DEBUG : awplayer <XPlayerSetVideoSurfaceTexture:638>: setVideoSurfaceTexture, surface = 0x303723a0
[13:41:20.712]DEBUG : awplayer <XPlayerThread:1997>: process message XPLAYER_COMMAND_SET_SURFACE.
[13:41:20.723]DEBUG : awplayer <XPlayerThread:2060>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[13:41:20.723]DEBUG : awplayer <PlayerSetSubCtrl:750>: === PlayerSetSubCtrl
[13:41:20.734]DEBUG : awplayer <XPlayerSetDeinterlace:741>: set deinterlace
[13:41:20.734]DEBUG : awplayer <XPlayerThread:2075>: ==== process message XPLAYER_COMMAND_SET_SUBCTRL.
[13:41:20.744]screen width:-1,screen height:-1
[13:41:22.341]
[13:41:22.341]
[13:41:23.148]tplayerdemo#
[13:41:23.148]
[13:41:27.474]tplayerdemo# set url:rtsp://192.168.99.190:12554/123.sdp
[13:41:27.474]
[13:41:27.474]tplayerdemo# demoPlayer.mUrl = rtsp://192.168.99.190:12554/123.sdp
[13:41:27.490]DEBUG : awplayer <XPlayerSetDataSourceUrl:499>: setDataSource(url), url='rtsp://192.168.99.190:12554/123.sdp'
[13:41:27.502]INFO : awplayer <XPlayerThread:1833>: process message XPLAYER_COMMAND_SET_SOURCE.
[13:41:27.502]setDataSource end
[13:41:30.165]
[13:41:30.165]
[13:41:34.048]tplayerdemo# prepare
[13:41:34.048]
[13:41:34.048]tplayerdemo# DEBUG : awplayer <XPlayerPrepareAsync:771>: prepareAsync
[13:41:34.065]DEBUG : awplayer <XPlayerThread:2090>: process message XPLAYER_COMMAND_PREPARE. mPriData->mStatus: 1
[13:41:34.074]DEBUG : demuxComponent <DemuxThread:1826>: process message DEMUX_COMMAND_PREPARE.
[13:41:34.074]prepare
[13:41:34.074]DEBUG : demuxComponent <DemuxThread:1893>: === prepare msg
[13:41:34.085]DEBUG : awplayer <CdxParserPrepare:818>: source uri 'rtsp://192.168.99.190:12554/123.sdp'
[13:41:34.105]DEBUG : awplayer <__CdxRtspStreamCreate:2722>: source uri:(rtsp://192.168.99.190:12554/123.sdp)
[13:41:34.105]DEBUG : awplayer <__CdxRtspStreamCreate:2753>: create rtsp stream ok.
[13:41:34.105]Created new TCP socket 7 for connection
[13:41:34.131]Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
[13:41:34.141]Unable to determine our source address: This computer has an invalid IP address: 0.0.0.0
[13:41:34.141]DEBUG : awplayer <RtspSessionsSetup:1746>: RTP subsession 'audio/MPA'
[13:41:34.153]DEBUG : awplayer <RtspSessionsSetup:1796>: pSys->iTrack=1
[13:41:34.174]DEBUG : awplayer <RtspSessionsSetup:1811>: setup start: 0.000000 stop:0.000000
[13:41:34.174]DEBUG : awplayer <RtspPlay:1901>: play start: 0.000000 stop:0.000000
[13:41:34.185]DEBUG : awplayer <__CdxRtspStreamConnect:2628>: rtsp connect ok.
[13:41:34.185]DEBUG : CdxHlsParser <HlsParserProbe:3242>: HlsParserProbe = 0
[13:41:34.199]WARNING: tsParser <TSParserProbe:6527>: Probe data is not enough. probeData->len(9)
[13:41:34.199]ERROR : CdxOggParser <OggParserProbe:2430>: It is not ogg version 0.
[13:41:34.207]ERROR : _apepsr <CdxApeParserProbe:773>: pApe Probe Failed
[13:41:34.220]ERROR : awplayer <__FlacParserProbe:1178>: Flac probe failed.
[13:41:34.220]DEBUG : awplayer <__AmrParserProbe:390>: amr probe failed.
[13:41:34.220]DEBUG : _mp3psr <Mp3Probe:1690>: Mp3 score : 0
[13:41:34.231]WARNING: awplayer <__WavParserProbe:963>: Probe data is not enough.
[13:41:34.240]DEBUG : aac_parser <__AacParserProbe:1813>: aac probe score 0
[13:41:34.240]ERROR : _id3v2 <__Id3v2ParserProbe:320>: Probe ID3_header data is not enough.
[13:41:34.251]DEBUG : awplayer <CdxParserCreate:751>: increase probe size, and try again.
[13:41:34.251]DEBUG : CdxHlsParser <HlsParserProbe:3242>: HlsParserProbe = 0
[13:41:34.265]WARNING: tsParser <TSParserProbe:6527>: Probe data is not enough. probeData->len(9)
[13:41:34.274]ERROR : CdxOggParser <OggParserProbe:2430>: It is not ogg version 0.
[13:41:34.274]ERROR : _apepsr <CdxApeParserProbe:773>: pApe Probe Failed
[13:41:34.286]ERROR : awplayer <__FlacParserProbe:1178>: Flac probe failed.
[13:41:34.286]DEBUG : awplayer <__AmrParserProbe:390>: amr probe failed.
[13:41:34.298]DEBUG : _mp3psr <Mp3Probe:1690>: Mp3 score : 0
[13:41:34.298]WARNING: awplayer <__WavParserProbe:963>: Probe data is not enough.
[13:41:34.307]DEBUG : aac_parser <__AacParserProbe:1813>: aac probe score 0
[13:41:34.307]ERROR : _id3v2 <__Id3v2ParserProbe:320>: Probe ID3_header data is not enough.
[13:41:34.319]WARNING: awplayer <CdxParserCreate:761>: Sorry, I don't know what it is!
[13:41:34.331]WARNING: awplayer <CdxParserOpen:796>: should not be here.
[13:41:34.331]ERROR : awplayer <CdxParserPrepare:829>: open parser fail, uri(rtsp://192.168.99.190:12554/123.sdp)
[13:41:34.342]DEBUG : demuxComponent <DemuxThread:1907>: source.uri(rtsp://192.168.99.190:12554/123.sdp)
[13:41:34.354]ERROR : demuxComponent <DemuxThread:2108>: DEMUX_ERROR_IO
[13:41:34.354]erro type:TPLAYER_MEDIA_ERROR_IO
[13:41:34.354]TPLAYER_NOTIFY_MEDIA_ERROR
[13:41:34.354]recive err when preparing
[13:41:34.366]error: open media source fail.
[13:41:34.366]prepare fail
[13:42:57.024]
[13:42:57.024]
[13:43:04.874]tplayerdemo# set url:rtsp://192.168.99.190:12554/123.sdp^H^H^CGot signal 2, exiting ...
初步分析好像是从解码器中找音频流解码器没有找到,进一步分析好像是RTSP获取音频数据的问题?请问有遇到相同问题的朋友吗?