alexa / avs-device-sdk

An SDK for commercial device makers to integrate Alexa directly into connected products.
https://developer.amazon.com/alexa/alexa-voice-service
Apache License 2.0
1.26k stars 602 forks source link

avs-device-sdk play ape format audio fail #1348

Closed xulu0611 closed 5 years ago

xulu0611 commented 5 years ago

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.

Briefly summarize your issue:

Now I test play ape format audio is good in gstreamer platfrom. but when i play ape format audio by avs -device-sdk, that shows error like that" 2019-05-12 02:42:46.568 [ 3] E MediaPlayer:handleBusMessageError:source=decoder,error=Your GStreamer installation is missing a plug-in.,debug=../../../gst-plugins-base-1.10.4/gst/playback/gstdecodebin2.c(45 92)\: gst_decode_bin_expose ()\: /GstPipeline\:audio-pipeline/GstDecodeBin\:decoder\: no suitable plugins found\: Couldn't set avdemux_ape1 to PAUSED " Now i do not the reason, please help me check. thanks .

gst-launch-1.0 play is good. /tmp # gst-launch-1.0 filesrc location=test.ape !decodebin !audioconvert !audioresample !alsasink gst-launch-1.0 filesrc location=test.ape !decodebin !audioconvert !audior esample !alsasink Setting pipeline to PAUSED ... [sws][huawei_sws_init] CgtVersion=armcc, ReleaseVer=iMedia Audio V100R006C00 ARMv7 SWS 4.0, ReleaseTime=01:42:28 Jun 27 2018 XML_Length_Check:30160 XML_Length_Check:30183 sws_read_config_file read error:read_size=517 length=1026 sws_read_config_file read error:read_size=517 length=1026 [sws][huawei_sws_init] sws_ReadConfigFromXML ok, xml[0] para be used Pipeline is PREROLLING ... Redistribute latency... Pipeline is PREROLLED ... Setting pipeline to PLAYING ...

when i play ape format audio by avs -device-sdk, some error shows: 2019-05-12 02:42:46.034 [ 21] 1 AudioPlayer:start getResourceUrl, url=http://lfspearkdev03.hwcloudtest.cn/resource/test/test.ape, playBehavior=2, type=3 2019-05-12 02:42:46.034 [ 21] 1 AudioPlayer:getResourceUrl success, url=http://lfspearkdev03.hwcloudtest.cn/resource/test/test.ape 2019-05-12 02:42:46.034 [ 1c] I DirectiveRouter:handleDirective:messageId=123456789,action=calling 2019-05-12 02:42:46.034 [ 1c] 0 AudioPlayer:handleDirective:name=Play,messageId=123456789 2019-05-12 02:42:46.034 [ 1c] 0 AudioPlayer:handleDirective:strInfo=audioplay receive handleDirective! name\=Play m_currentActivity\=IDLE m_focus\=2 m_micState\=1 m_pausedByManual\=0 m_isSettingNet\=0 2019-05-12 02:42:46.034 [ 1c] 1 AudioPlayer:handlePlayDirective 2019-05-12 02:42:46.034 [ 1c] 9 AudioPlayer:PLAY:payload={"playBehavior"\:"REPLACE_ENQUEUED"\,"audioItem"\:{"audioItemId"\:"ADcGNVA8"\,"stream"\:{"url"\:"http\://lfspearkdev03.hwcloudtest.cn/resource/test/te st.ape"\,"streamFormat"\:"AUDIO_MPEG"\,"offsetInMilliseconds"\:1\,"expiryTime"\:""\,"progressReport"\:{"progressReportDelayInMilliseconds"\:0\,"progressReportIntervalInMilliseconds"\:0}\,"token"\:"5264668"\, "expectedPreviousToken"\:""}}} 2019-05-12 02:42:46.035 [ 1c] E JsonUtils:findNodeFailed:reason=missingDirectChild,child=type 2019-05-12 02:42:46.035 [ 1c] 1 AudioPlayer:getAudioType 2019-05-12 02:42:46.035 [ 1c] E TimeUtils:convert8601TimeStringToUnixFailed:unexpected time string length:=0 2019-05-12 02:42:46.035 [ 1c] E JsonUtils:findNodeFailed:reason=missingDirectChild,child=meta 2019-05-12 02:42:46.035 [ 1c] 0 DirectiveProcessor:onHandlingCompeted:messageId=123456789,directiveBeingPreHandled=(nullptr) 2019-05-12 02:42:46.035 [ 1c] 0 CapabilityAgent:removingMessageIdFromMap:messageId=123456789 2019-05-12 02:42:46.035 [ 1c] 0 AudioPlayer:HandlePlaySupplement:playBehavior=REPLACE_ENQUEUED,m_token=5264668,stream.token=5264668,m_offset=0,stream.offset=1 2019-05-12 02:42:46.035 [ 15] 0 AudioPlayer:can find item.:token=5264668 2019-05-12 02:42:46.035 [ 15] 1 AudioPlayer:executePlay:playBehavior=REPLACE_ENQUEUED 2019-05-12 02:42:46.036 [ 15] 1 FocusManager:acquireChannel:channelName=Content,interface=AudioPlayer 2019-05-12 02:42:46.036 [ 22] 0 AudioPlayer:onFocusChanged:strInfo=audioplay receive onFocusChanged! newFocus\=0 oldfocus\=2 m_currentActivity\=IDLE m_micState\=1 m_pausedByManual\=0 m_isSettingNet\=0 m_expe ctSpeechStatus\=0 2019-05-12 02:42:46.037 [ 15] 0 AudioPlayer:executeOnFocusChanged:strInfo=audioplay executeOnFocusChanged! newFocus\=0 oldfocus\=2 m_currentActivity\=IDLE m_micState\=1 m_pausedByManual\=0 m_isSettingNet\=0 2019-05-12 02:42:46.037 [ 15] 1 AudioPlayer:executeOnFocusChanged:action=playNextItem 2019-05-12 02:42:46.038 [ 15] 1 AudioPlayer:playNextItem:m_audioItems.size=1 2019-05-12 02:42:46.038 [ 15] 0 AudioPlayer:cancelTimers 2019-05-12 02:42:46.038 [ 15] 0 AudioPlayer:playNextItem:setMetadata=BITRATE_128K,m_musicid=0 2019-05-12 02:42:46.038 [ 15] 9 AudioPlayer:settingUrlSource:offset=1 2019-05-12 02:42:46.038 [ 15] 9 MediaPlayer:setSourceCalled sourceType url:url=http\://lfspearkdev03.hwcloudtest.cn/resource/test/test.ape,m_mediaPlayerName=AudioMediaPlayer 2019-05-12 02:42:46.038 [ 3] 0 MediaPlayer:handleSetSourceForUrlCalled 2019-05-12 02:42:46.038 [ 3] 9 MediaPlayer:tearDownTransientPipelineElements:m_currentId=0 2019-05-12 02:42:46.065 [ 3] I InProcessAttachmentWriter:result: :file count=7,oldestFileName=/tmp/tmpwav/20190512095030 2019-05-12 02:42:46.065 [ 3] I InProcessAttachmentWriter:create file:m_fileName=/tmp/tmpwav/20190512104246 2019-05-12 02:42:46.065 [ 3] 0 MediaPlayer:handleSetSourceCalled 2019-05-12 02:42:46.065 [ 3] 9 MediaPlayer:tearDownTransientPipelineElements:m_currentId=0 2019-05-12 02:42:46.067 [ 3] 9 BaseStreamSource:initNoAudioFormat 2019-05-12 02:42:46.068 [ 2f] 9 LibCurlHttpContentFetcher:LibCurlHttpContentFetcher setObserver:obs=0xb1815e04 2019-05-12 02:42:46.078 [ 15] 9 MediaPlayer:playCalled:m_mediaPlayerName=AudioMediaPlayer,id=4 2019-05-12 02:42:46.080 [ 3] 0 MediaPlayer:handlePlayCalled:idPassed=4,currentId=4 2019-05-12 02:42:46.081 [ 15] E IntervalCalculator:getIntervalStart:interval=0,offset=1,*intervalStart=0xa24fc680:failure, returning false 2019-05-12 02:42:46.082 [ 30] 0 LibCurlHttpContentFetcher:getcontentType:start time=3411,delayTime=3471 2019-05-12 02:42:46.126 [ 3] 9 AttachmentReaderSource:handleSeekData:offset=0 2019-05-12 02:42:46.132 [ 3] 0 MediaPlayer:handlePlay:startingState=PLAYING,stateReturn=ASYNC 2019-05-12 02:42:46.132 [ 3] 0 MediaPlayer:handlePlayCalled:test2=1 2019-05-12 02:42:46.132 [ 3] 0 MediaPlayer:handlePlayCalled:test2=3 2019-05-12 02:42:46.319 [ 30] 9 LibCurlHttpContentFetcher:getcontentType:responseCode=200,url=http\://lfspearkdev03.hwcloudtest.cn/resource/test/test.ape 2019-05-12 02:42:46.319 [ 30] 9 LibCurlHttpContentFetcher:needRetry == false, break 2019-05-12 02:42:46.319 [ 30] 9 LibCurlHttpContentFetcher:getContent:contentType=application/octet-stream,url=http\://lfspearkdev03.hwcloudtest.cn/resource/test/test.ape 2019-05-12 02:42:46.319 [ 2f] 9 PlaylistParser:PlaylistParser:contentType=application/octet-stream,url=http\://lfspearkdev03.hwcloudtest.cn/resource/test/test.ape,length=-1 2019-05-12 02:42:46.319 [ 2f] 9 PlaylistParser:foundNonPlaylistURL 2019-05-12 02:42:46.320 [ 2f] 3 UrlContentToAttachmentConverter:onPlaylistEntryParsed:status=SUCCESS 2019-05-12 02:42:46.320 [ 2f] 9 LibCurlHttpContentFetcher:~LibCurlHttpContentFetcher in 2019-05-12 02:42:46.320 [ 2f] 9 LibCurlHttpContentFetcher:~LibCurlHttpContentFetcher curl exit automatically! 2019-05-12 02:42:46.320 [ 2f] 9 LibCurlHttpContentFetcher:~LibCurlHttpContentFetcher out 2019-05-12 02:42:46.320 [ 3] 9 MediaPlayer:State Change:oldState=NULL,newState=READY,pendingState=PLAYING 2019-05-12 02:42:46.320 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.321 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.321 [ 31] 9 UrlContentToAttachmentConverter:writeUrlContentIntoStream:info=beginning 2019-05-12 02:42:46.321 [ 31] 9 LibCurlHttpContentFetcher:LibCurlHttpContentFetcher setObserver:obs=0xb181ef3c 2019-05-12 02:42:46.322 [ 32] 0 LibCurlHttpContentFetcher:m_delayTime :m_delayTime=3531 2019-05-12 02:42:46.331 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.342 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.352 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.373 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.393 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.444 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.497 [ 31] 9 UrlContentToAttachmentConverter:writeUrlContentIntoStreamSuccess 2019-05-12 02:42:46.497 [ 31] 9 LibCurlHttpContentFetcher:~LibCurlHttpContentFetcher in 2019-05-12 02:42:46.497 [ 32] E SdsWriter:writer memcpy_s beforeWrap failed 2019-05-12 02:42:46.498 [ 32] I InProcessAttachmentWriter:get wav file :m_fileName=/tmp/tmpwav/20190512104246 2019-05-12 02:42:46.544 [ 3] E SdsReader:reader memcpy_s beforeWrap failed 2019-05-12 02:42:46.545 [ 3] 9 AttachmentReaderSource:handleReadData:size=4096 2019-05-12 02:42:46.545 [ 3] 9 AttachmentReaderSource:handleReadData:buffer=buffer 2019-05-12 02:42:46.545 [ 3] 9 AttachmentReaderSource:handleReadData:size=4096 2019-05-12 02:42:46.545 [ 3] 9 AttachmentReaderSource:handleReadData:buffer=buffer 2019-05-12 02:42:46.546 [ 3] 9 AttachmentReaderSource:handleReadData:size=4096 2019-05-12 02:42:46.546 [ 3] 9 AttachmentReaderSource:handleReadData:buffer=buffer 2019-05-12 02:42:46.546 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.546 [ 3] 9 AttachmentReaderSource:handleReadData:size=0 2019-05-12 02:42:46.567 [ 3] 9 AttachmentReaderSource:handleReadData:size=4096 2019-05-12 02:42:46.567 [ 3] 9 AttachmentReaderSource:handleReadData:buffer=buffer 2019-05-12 02:42:46.568 [ 3] E MediaPlayer:handleBusMessageError:source=decoder,error=Your GStreamer installation is missing a plug-in.,debug=../../../gst-plugins-base-1.10.4/gst/playback/gstdecodebin2.c(45 92)\: gst_decode_bin_expose ()\: /GstPipeline\:audio-pipeline/GstDecodeBin\:decoder\: no suitable plugins found\: Couldn't set avdemux_ape1 to PAUSED 2019-05-12 02:42:46.568 [ 3] 0 MediaPlayer:callingOnPlaybackError:type=MEDIA_ERROR_INTERNAL_DEVICE_ERROR,error=GST_MESSAGE_ERROR\: Your GStreamer installation is missing a plug-in.,currentId=4 2019-05-12 02:42:46.568 [ 3] 0 AudioPlayer:onPlaybackError:type=MEDIA_ERROR_INTERNAL_DEVICE_ERROR,error=GST_MESSAGE_ERROR\: Your GStreamer installation is missing a plug-in.,id=4 2019-05-12 02:42:46.568 [ 3] 9 MediaPlayer:tearDownTransientPipelineElements:m_currentId=0 2019-05-12 02:42:46.571 [ 15] E AudioPlayer:executeOnPlaybackError:id=4,type=MEDIA_ERROR_INTERNAL_DEVICE_ERROR,error=GST_MESSAGE_ERROR\: Your GStreamer installation is missing a plug-in. 2019-05-12 02:42:46.572 [ 15] E MediaPlayer:validateSourceAn 1 dIdFailed:reason=sourceIdMismatch 2019-05-12 02:42:46.572 [ 15] 0 EventBuilder:buildJsonEventString:messageId=3e27807a-66ac-411f-8ea2-f12ee8819041,namespace=AudioPlayer,name=PlaybackFailed 2019-05-12 02:42:46.573 [ 15] 9 HTTP2Transport:enqueueRequest:jsonContent={"event"\:{"header"\:{"namespace"\:"AudioPlayer"\,"name"\:"PlaybackFailed"\,"messageId"\:"3e27807a-66ac-411f-8ea2-f12ee8819041"}\,"pa yload"\:{"token"\:"5264668"\,"type"\:"3"\,"currentPlaybackState"\:{"token"\:"5264668"\,"type"\:"3"\,"offsetInMilliseconds"\:0\,"playerActivity"\:"IDLE"}\,"error"\:{"type"\:"MEDIA_ERROR_INTERNAL_DEVICE_ERROR" \,"message"\:"gst error\: GST_MESSAGE_ERROR\: Your GStreamer installation is missing a plug-in."}}}} 2019-05-12 02:42:46.573 [ 15] E AVSChrlog:createChrLogInfo:ulEventID=989007000,tmLastTime=3411 2019-05-12 02:42:46.573 [ 15] 1 AudioPlayer:executeOnPlaybackStopped:id=4 2019-05-12 02:42:46.573 [ 15] 0 AudioPlayer:cancelTimers 2019-05-12 02:42:46.573 [ 15] 1 FocusManager:releaseChannel:channelName=Content 2019-05-12 02:42:46.576 [ 22] 0 AudioPlayer:onFocusChanged:strInfo=audioplay receive onFocusChanged! newFocus\=2 oldfocus\=0 m_currentActivity\=IDLE m_micState\=1 m_pausedByManual\=0 m_isSetting Net\=0 m_expectSpeechStatus\=0 2019-05-12 02:42:46.579 [ 3] 9 BaseStreamSource:~BaseStreamSource 2019-05-12 02:42:46.580 [ 3] 9 UrlContentToAttachmentConverter:doShutdown 2019-05-12 02:42:46.581 [ 3] I InProcessAttachmentWriter:close file :file name=/tmp/tmpwav/20190512104246 2019-05-12 02:42:46.576 [ 22] 0 AudioPlayer:onFocusChanged:strInfo=audioplay receive onFocusChanged! newFocus\=2 oldfocus\=0 m_currentActivity\=IDLE m_micState\=1 m_pausedByManual\=0 m_isSet i019-05-12 02:42:46.581 [ f] 0 HTTP2Transport:processNextOutgoingMessage:jsonContent={"event"\:{"header"\:{"namespace"\:"AudioPlayer"\,"name"\:"PlaybackFailed"\,"messageId"\:"3e27807a-66ac-4 ngNet\=0 m_expectSpeechStatus\=0 2019-05-12 02:42:46.579 [ 3] 9 BaseStreamSource:~BaseStreamSource 2019-05-12 02:42:46.580 [ 3] 9 UrlContentToAttachmentConverter:doShutdown 2019-05-12 02:42:46.581 [ 3] I InProcessAttachmentWriter:close file :file name=/tmp/tmpwav/20190512104246 2019-05-12 02:42:46.576 [ 22] 0 AudioPlayer:onFocusChanged:strInfo=audioplay receive onFocusChanged! newFocus\=2 oldfocus\=0 m_currentActivity\=IDLE m_micState\=1 m_pausedByManual\=0 m_isSettingNet\=0 m_expectSpeechSt atus\=0 2019-05-12 02:42:46.579 [ 3] 9 BaseStreamSource:~BaseStreamSource 2019-05-12 02:42:46.580 [ 3] 9 UrlContentToAttachmentConverter:doShutdown 2019-05-12 02:42:46.581 [ 3] I InProcessAttachmentWriter:close file :file name=/tmp/tmpwav/20190512104246 2019-05-12 02:42:46.581 [ 3] I InProcessAttachmentWriter:receive wav file over:strInfo=get wav file [/tmp/tmpwav/20190512104246] over\, total size is [37488]. 2019-05-12 02:42:46.581 [ f] 0 HTTP2Transport:processNextOutgoingMessage:jsonContent={"event"\:{"header"\:{"namespace"\:"AudioPlayer"\,"name"\:"PlaybackFailed"\,"messageId"\:"3e27807a-66ac-411f-8ea2-f12ee8819041"}\," payload"\:{"token"\:"5264668"\,"type"\:"3"\,"currentPlaybackState"\:{"token"\:"5264668"\,"type"\:"3"\,"offsetInMilliseconds"\:0\,"playerActivity"\:"IDLE"}\,"error"\:{"type"\:"MEDIA_ERROR_INTERNAL_DEVICE_ERROR"\,"messa ge"\:"gst error\: GST_MESSAGE_ERROR\: Your GStreamer installation is missing a plug-in."}}}},uriPathExtension= 2019-05-12 02:42:46.584 [ f] 1 HTTP2Stream:initPost get event name:eventHeader={"namespace"\:"AudioPlayer"\,"name"\:"PlaybackFailed"\,"messageId"\:"3e27807a-66ac-411f-8ea2-f12ee8819041"},eventName=PlaybackFailed 2019-05-12 02:42:46.584 [ f] 9 HTTP2Transport:insertActiveStream:handle=0x8de00018 2019-05-12 02:42:46.585 [ 15] 0 AudioPlayer:executeOnFocusChanged:strInfo=audioplay executeOnFocusChanged! newFocus\=2 oldfocus\=0 m_currentActivity\=IDLE m_micState\=1 m_pausedByManual\=0 m_isSettingNet\=0 2019-05-12 02:42:46.587 [ 32] E SdsWriter:writeFailed:reason=writerDisabled

1

gst-inspect-1.0 apetag: apedemux: APE tag demuxer effectv: rippletv: RippleTV effect effectv: streaktv: StreakTV effect effectv: radioactv: RadioacTV effect effectv: optv: OpTV effect effectv: quarktv: QuarkTV effect effectv: revtv: RevTV effect effectv: vertigotv: VertigoTV effect effectv: shagadelictv: ShagadelicTV effectv: warptv: WarpTV effect effectv: dicetv: DiceTV effect effectv: agingtv: AgingTV effect effectv: edgetv: EdgeTV effect interleave: deinterleave: Audio deinterleaver interleave: interleave: Audio interleaver theora: theoraparse: Theora video parser theora: theoraenc: Theora video encoder theora: theoradec: Theora video decoder app: appsink: AppSink app: appsrc: AppSrc pango: textrender: Text renderer pango: clockoverlay: Clock overlay pango: timeoverlay: Time overlay pango: textoverlay: Text overlay cairo: cairooverlay: Cairo overlay replaygain: rgvolume: ReplayGain volume replaygain: rglimiter: ReplayGain limiter replaygain: rganalysis: ReplayGain analysis adder: adder: Adder tcp: multisocketsink: Multi socket sink tcp: multifdsink: Multi filedescriptor sink tcp: tcpserversrc: TCP server source tcp: tcpserversink: TCP server sink tcp: tcpclientsrc: TCP client source tcp: tcpclientsink: TCP client sink tcp: socketsrc: socket source isomp4: qtmoovrecover: QT Moov Recover isomp4: mj2mux: MJ2 Muxer isomp4: 3gppmux: 3GPP Muxer isomp4: ismlmux: ISML Muxer isomp4: mp4mux: MP4 Muxer isomp4: qtmux: QuickTime Muxer isomp4: rtpxqtdepay: RTP packet depayloader isomp4: qtdemux: QuickTime demuxer flac: flactag: FLAC tagger flac: flacdec: FLAC audio decoder flac: flacenc: FLAC audio encoder alaw: alawdec: A Law audio decoder alaw: alawenc: A Law audio encoder alsa: alsamidisrc: AlsaMidi Source alsa: alsasink: Audio sink (ALSA) alsa: alsasrc: Audio source (ALSA) wavenc: wavenc: WAV audio muxer alphacolor: alphacolor: Alpha color filter vorbis: vorbistag: VorbisTag vorbis: vorbisparse: VorbisParse vorbis: vorbisdec: Vorbis audio decoder vorbis: vorbisenc: Vorbis audio encoder audiorate: audiorate: Audio rate adjuster encoding: encodebin: Encoder Bin goom2k1: goom2k1: GOOM: what a GOOM! 2k1 edition goom: goom: GOOM: what a GOOM! gio: giostreamsrc: GIO stream source gio: giostreamsink: GIO stream sink gio: giosrc: GIO source gio: giosink: GIO sink smpte: smptealpha: SMPTE transitions smpte: smpte: SMPTE transitions soup: souphttpclientsink: HTTP client sink soup: souphttpsrc: HTTP client source matroska: webmmux: WebM muxer matroska: matroskamux: Matroska muxer matroska: matroskaparse: Matroska parser matroska: matroskademux: Matroska demuxer flv: flvmux: FLV muxer flv: flvdemux: FLV Demuxer speex: speexdec: Speex audio decoder speex: speexenc: Speex audio encoder cutter: cutter: Audio cutter equalizer: equalizer-10bands: 10 Band Equalizer equalizer: equalizer-3bands: 3 Band Equalizer equalizer: equalizer-nbands: N Band Equalizer deinterlace: deinterlace: Deinterlacer y4menc: y4menc: YUV4MPEG video encoder shapewipe: shapewipe: Shape Wipe transition filter coretracers: leaks (GstTracerFactory) coretracers: stats (GstTracerFactory) coretracers: rusage (GstTracerFactory) coretracers: log (GstTracerFactory) coretracers: latency (GstTracerFactory) wavparse: wavparse: WAV audio demuxer typefindfunctions: audio/audible: aa, aax typefindfunctions: audio/x-xi: xi typefindfunctions: video/x-pva: pva typefindfunctions: application/x-ssa: ssa, ass typefindfunctions: application/octet-stream: no extensions typefindfunctions: image/x-degas: no extensions typefindfunctions: image/x-icon: no extensions typefindfunctions: application/x-yuv4mpeg: no extensions typefindfunctions: image/vnd.wap.wbmp: no extensions typefindfunctions: image/vnd.adobe.photoshop: psd typefindfunctions: application/msword: doc typefindfunctions: application/pdf: pdf typefindfunctions: audio/x-kss: kss typefindfunctions: video/x-ivf: ivf typefindfunctions: audio/x-sap: sap typefindfunctions: audio/x-vgm: vgm typefindfunctions: audio/x-gbs: gbs typefindfunctions: audio/x-ay: ay typefindfunctions: audio/x-gym: gym typefindfunctions: audio/x-nsf: nsf typefindfunctions: video/vivo: viv typefindfunctions: application/x-mmsh: no extensions typefindfunctions: multipart/x-mixed-replace: no extensions typefindfunctions: video/x-dirac: no extensions typefindfunctions: application/x-ms-dos-executable: dll, exe, ocx, sys, scr, msstyles, cpl typefindfunctions: application/x-ar: a typefindfunctions: application/x-tar: tar typefindfunctions: application/x-rar: rar typefindfunctions: image/svg+xml: svg typefindfunctions: application/postscript: ps typefindfunctions: audio/x-caf: caf typefindfunctions: audio/x-wavpack-correction: wvc typefindfunctions: audio/x-wavpack: wv, wvp typefindfunctions: audio/x-spc: spc typefindfunctions: audio/aac: aac, adts, adif, loas typefindfunctions: application/x-executable: no extensions typefindfunctions: text/x-cmml: no extensions typefindfunctions: application/x-ogg-skeleton: no extensions typefindfunctions: audio/x-celt: no extensions typefindfunctions: audio/x-speex: no extensions typefindfunctions: application/x-ogm-text: no extensions typefindfunctions: application/x-ogm-audio: no extensions typefindfunctions: application/x-ogm-video: no extensions typefindfunctions: video/x-theora: no extensions typefindfunctions: audio/x-vorbis: no extensions typefindfunctions: audio/x-flac: flac typefindfunctions: application/x-subtitle-vtt: vtt typefindfunctions: subtitle/x-kate: no extensions typefindfunctions: application/x-compress: Z typefindfunctions: application/zip: zip typefindfunctions: application/x-gzip: gz typefindfunctions: application/x-bzip: bz2 typefindfunctions: image/x-sun-raster: ras typefindfunctions: image/x-xpixmap: xpm typefindfunctions: image/x-jng: jng typefindfunctions: video/x-mng: mng typefindfunctions: image/x-xcf: xcf typefindfunctions: audio/x-sid: sid typefindfunctions: audio/x-sbc: sbc typefindfunctions: audio/iLBC-sh: ilbc typefindfunctions: audio/x-amr-wb-sh: amr typefindfunctions: audio/x-amr-nb-sh: amr typefindfunctions: video/x-dv: dv, dif typefindfunctions: video/x-mve: mve typefindfunctions: application/mxf: mxf typefindfunctions: video/x-matroska: mkv, mka, mk3d, webm typefindfunctions: image/x-portable-pixmap: pnm, ppm, pgm, pbm typefindfunctions: image/x-exr: exr typefindfunctions: image/webp: webp typefindfunctions: image/tiff: tif, tiff typefindfunctions: image/bmp: bmp typefindfunctions: image/png: png typefindfunctions: image/gif: gif typefindfunctions: image/jpeg: jpg, jpe, jpeg typefindfunctions: application/x-ape: ape typefindfunctions: audio/x-shorten: shn typefindfunctions: audio/x-rf64: rf64 typefindfunctions: audio/x-w64: w64 typefindfunctions: audio/x-ircam: sf typefindfunctions: audio/x-sds: sds typefindfunctions: audio/x-voc: voc typefindfunctions: audio/x-nist: nist typefindfunctions: audio/x-paris: paf typefindfunctions: audio/x-svx: iff, svx typefindfunctions: audio/x-aiff: aiff, aif, aifc typefindfunctions: audio/x-wav: wav typefindfunctions: application/xml: xml typefindfunctions: application/ttml+xml: ttml+xml typefindfunctions: application/smil: smil typefindfunctions: application/sdp: sdp typefindfunctions: application/x-hls: m3u8 typefindfunctions: text/uri-list: ram typefindfunctions: text/utf-32: txt typefindfunctions: text/utf-16: txt typefindfunctions: text/plain: txt typefindfunctions: video/x-flv: flv typefindfunctions: application/vnd.ms-sstr+xml: no extensions typefindfunctions: application/dash+xml: mpd, MPD typefindfunctions: application/x-shockwave-flash: swf, swfl typefindfunctions: application/x-pn-realaudio: ra, ram, rm, rmvb typefindfunctions: application/vnd.rn-realmedia: ra, ram, rm, rmvb typefindfunctions: text/html: htm, html typefindfunctions: video/mj2: mj2 typefindfunctions: image/jp2: jp2 typefindfunctions: image/x-quicktime: qif, qtif, qti typefindfunctions: video/quicktime: mov, mp4 typefindfunctions: application/x-3gp: 3gp typefindfunctions: audio/x-m4a: m4a typefindfunctions: video/x-nuv: nuv typefindfunctions: video/x-h265: h265, x265, 265 typefindfunctions: video/x-h264: h264, x264, 264 typefindfunctions: video/x-h263: h263, 263 typefindfunctions: video/mpeg4: m4v typefindfunctions: video/mpeg-elementary: mpv, mpeg, mpg typefindfunctions: application/ogg: ogg, oga, ogv, ogm, ogx, spx, anx, axa, axv typefindfunctions: video/mpegts: ts, mts typefindfunctions: video/mpeg-sys: mpe, mpeg, mpg typefindfunctions: audio/x-gsm: gsm typefindfunctions: audio/x-dts: dts typefindfunctions: audio/x-ac3: ac3, eac3 typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga typefindfunctions: audio/x-mod: 669, amf, ams, dbm, digi, dmf, dsm, gdm, far, imf, it, j2b, mdl, med, mod, mt2, mtm, okt, psm, ptm, sam, s3m, stm, stx, ult, umx, xm typefindfunctions: audio/x-ttafile: tta typefindfunctions: application/x-apetag: mp3, ape, mpc, wv typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta typefindfunctions: video/x-fli: flc, fli typefindfunctions: audio/mobile-xmf: mxmf typefindfunctions: audio/riff-midi: mid, midi typefindfunctions: audio/midi: mid, midi typefindfunctions: audio/x-imelody: imy, ime, imelody typefindfunctions: video/x-vcd: dat typefindfunctions: video/x-cdxa: dat typefindfunctions: audio/qcelp: qcp typefindfunctions: video/x-msvideo: avi typefindfunctions: audio/x-au: au, snd typefindfunctions: audio/x-musepack: mpc, mpp, mp+ typefindfunctions: video/x-ms-asf: asf, wm, wma, wmv libav: avdeinterlace: libav Deinterlace element libav: avdemux_tta: libav TTA (True Audio) demuxer libav: avdemux_ape: libav Monkey's Audio demuxer libav: avdec_mpeg4: libav MPEG-4 part 2 decoder libav: avdec_h263: libav H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2 decoder libav: avdec_flv: libav FLV / Sorenson Spark / Sorenson H.263 (Flash Video) decoder libav: avdec_tta: libav TTA (True Audio) decoder libav: avdec_tak: libav TAK (Tom's lossless Audio Kompressor) decoder libav: avdec_mp3: libav MP3 (MPEG audio layer 3) decoder libav: avdec_ape: libav Monkey's Audio decoder libav: avdec_aac: libav AAC (Advanced Audio Coding) decoder icydemux: icydemux: ICY tag demuxer auparse: auparse: AU audio demuxer audioparsers: wavpackparse: Wavpack audio stream parser audioparsers: sbcparse: SBC audio parser audioparsers: mpegaudioparse: MPEG1 Audio Parser audioparsers: flacparse: FLAC audio parser audioparsers: dcaparse: DTS Coherent Acoustics audio stream parser audioparsers: ac3parse: AC3 audio stream parser audioparsers: amrparse: AMR audio stream parser audioparsers: aacparse: AAC audio stream parser subparse: ssaparse: SSA Subtitle Parser subparse: subparse: Subtitle parser subparse: subparse_typefind: srt, sub, mpsub, mdvd, smi, txt, dks, vtt alpha: alpha: Alpha filter audioconvert: audioconvert: Audio converter rtsp: rtpdec: RTP Decoder rtsp: rtspsrc: RTSP packet receiver playback: parsebin: Parse Bin playback: urisourcebin: URI reader playback: uridecodebin: URI Decoder playback: decodebin3: Decoder Bin 3 playback: decodebin: Decoder Bin playback: streamsynchronizer: Stream Synchronizer playback: subtitleoverlay: Subtitle Overlay playback: playsink: Player Sink playback: playbin3: Player Bin 3 playback: playbin: Player Bin 2 dtmf: rtpdtmfdepay: RTP DTMF packet depayloader dtmf: rtpdtmfsrc: RTP DTMF packet generator dtmf: dtmfsrc: DTMF tone generator gdkpixbuf: gdkpixbufsink: GdkPixbuf sink gdkpixbuf: gdkpixbufoverlay: GdkPixbuf Overlay gdkpixbuf: gdkpixbufdec: GdkPixbuf image decoder png: pngenc: PNG image encoder png: pngdec: PNG image decoder volume: volume: Volume id3demux: id3demux: ID3 tag demuxer multipart: multipartmux: Multipart muxer multipart: multipartdemux: Multipart demuxer audiofx: scaletempo: Scaletempo audiofx: audioecho: Audio echo audiofx: audiofirfilter: Audio FIR filter audiofx: audiowsincband: Band pass & band reject filter audiofx: audiowsinclimit: Low pass & high pass filter audiofx: audioiirfilter: Audio IIR filter audiofx: audiochebband: Band pass & band reject filter audiofx: audiocheblimit: Low pass & high pass filter audiofx: audiodynamic: Dynamic range controller audiofx: audioamplify: Audio amplifier audiofx: audiokaraoke: AudioKaraoke audiofx: audioinvert: Audio inversion audiofx: audiopanorama: Stereo positioning flxdec: flxdec: FLX video decoder mulaw: mulawdec: Mu Law audio decoder mulaw: mulawenc: Mu Law audio encoder ossaudio: osssink: Audio Sink (OSS) ossaudio: osssrc: Audio Source (OSS) rtpmanager: rtpdtmfmux: RTP muxer rtpmanager: rtpmux: RTP muxer rtpmanager: rtpssrcdemux: RTP SSRC Demux rtpmanager: rtprtxsend: RTP Retransmission Sender rtpmanager: rtprtxreceive: RTP Retransmission receiver rtpmanager: rtprtxqueue: RTP Retransmission Queue rtpmanager: rtpsession: RTP Session rtpmanager: rtpptdemux: RTP Demux rtpmanager: rtpjitterbuffer: RTP packet jitter-buffer rtpmanager: rtpbin: RTP Bin rtp: rtpstreamdepay: RTP Stream Depayloading rtp: rtpstreampay: RTP Stream Payloading rtp: rtpvrawpay: RTP Raw Video payloader rtp: rtpvrawdepay: RTP Raw Video depayloader rtp: rtpvp9pay: RTP VP9 payloader rtp: rtpvp9depay: RTP VP9 depayloader rtp: rtpvp8pay: RTP VP8 payloader rtp: rtpvp8depay: RTP VP8 depayloader rtp: rtpvorbispay: RTP Vorbis payloader rtp: rtpvorbisdepay: RTP Vorbis depayloader rtp: rtptheorapay: RTP Theora payloader rtp: rtptheoradepay: RTP Theora depayloader rtp: rtpsv3vdepay: RTP SVQ3 depayloader rtp: rtpspeexdepay: RTP Speex depayloader rtp: rtpspeexpay: RTP Speex payloader rtp: rtpsirendepay: RTP Siren packet depayloader rtp: rtpsirenpay: RTP Payloader for Siren Audio rtp: rtpsbcpay: RTP packet payloader rtp: rtpsbcdepay: RTP SBC audio depayloader rtp: rtpqdm2depay: RTP QDM2 depayloader rtp: rtpqcelpdepay: RTP QCELP depayloader rtp: rtpmp4gpay: RTP MPEG4 ES payloader rtp: rtpmp4gdepay: RTP MPEG4 ES depayloader rtp: rtpmp4adepay: RTP MPEG4 audio depayloader rtp: rtpmp4apay: RTP MPEG4 audio payloader rtp: rtpmp4vdepay: RTP MPEG4 video depayloader rtp: rtpmp4vpay: RTP MPEG4 Video payloader rtp: rtpmp2tpay: RTP MPEG2 Transport Stream payloader rtp: rtpmp2tdepay: RTP MPEG Transport Stream depayloader rtp: rtpmp1sdepay: RTP MPEG1 System Stream depayloader rtp: asteriskh263: RTP Asterisk H263 depayloader rtp: rtpL24depay: RTP audio depayloader rtp: rtpL24pay: RTP audio payloader rtp: rtpL16depay: RTP audio depayloader rtp: rtpL16pay: RTP audio payloader rtp: rtpklvpay: RTP KLV Payloader rtp: rtpklvdepay: RTP KLV Depayloader rtp: rtpjpegpay: RTP JPEG payloader rtp: rtpjpegdepay: RTP JPEG depayloader rtp: rtpj2kpay: RTP JPEG 2000 payloader rtp: rtpj2kdepay: RTP JPEG 2000 depayloader rtp: rtph265pay: RTP H265 payloader rtp: rtph265depay: RTP H265 depayloader rtp: rtph264pay: RTP H264 payloader rtp: rtph264depay: RTP H264 depayloader rtp: rtph263pay: RTP H263 packet payloader rtp: rtph263depay: RTP H263 depayloader rtp: rtph263pdepay: RTP H263 depayloader rtp: rtph263ppay: RTP H263 payloader rtp: rtph261depay: RTP H261 depayloader rtp: rtph261pay: RTP H261 packet payloader rtp: rtpopuspay: RTP Opus payloader rtp: rtpopusdepay: RTP Opus packet depayloader rtp: rtpmpvpay: RTP MPEG2 ES video payloader rtp: rtpmpvdepay: RTP MPEG video depayloader rtp: rtpmparobustdepay: RTP MPEG audio depayloader rtp: rtpmpapay: RTP MPEG audio payloader rtp: rtpmpadepay: RTP MPEG audio depayloader rtp: rtppcmapay: RTP PCMA payloader rtp: rtppcmupay: RTP PCMU payloader rtp: rtppcmudepay: RTP PCMU depayloader rtp: rtppcmadepay: RTP PCMA depayloader rtp: rtpamrpay: RTP AMR payloader rtp: rtpamrdepay: RTP AMR depayloader rtp: rtpgsmpay: RTP GSM payloader rtp: rtpgsmdepay: RTP GSM depayloader rtp: rtpg729pay: RTP G.729 payloader rtp: rtpg729depay: RTP G.729 depayloader rtp: rtpg726pay: RTP G.726 payloader rtp: rtpg726depay: RTP G.726 depayloader rtp: rtpg723pay: RTP G.723 payloader rtp: rtpg723depay: RTP G.723 depayloader rtp: rtpg722pay: RTP audio payloader rtp: rtpg722depay: RTP audio depayloader rtp: rtpilbcdepay: RTP iLBC depayloader rtp: rtpilbcpay: RTP iLBC Payloader rtp: rtpgstpay: RTP GStreamer payloader rtp: rtpgstdepay: GStreamer depayloader rtp: rtpdvpay: RTP DV Payloader rtp: rtpdvdepay: RTP DV Depayloader rtp: rtpceltpay: RTP CELT payloader rtp: rtpceltdepay: RTP CELT depayloader rtp: rtpbvpay: RTP BV Payloader rtp: rtpbvdepay: RTP BroadcomVoice depayloader rtp: rtpac3pay: RTP AC3 audio payloader rtp: rtpac3depay: RTP AC3 depayloader audiotestsrc: audiotestsrc: Audio test source navigationtest: navigationtest: Video navigation test level: level: Level audioresample: audioresample: Audio resampler debug: cpureport: CPU report debug: testsink: Test plugin debug: taginject: TagInject debug: progressreport: Progress report debug: pushfilesrc: Push File Source debug: navseek: Seek based on left-right arrows debug: rndbuffersize: Random buffer size debug: capssetter: CapsSetter debug: breakmydata: Break my data spectrum: spectrum: Spectrum analyzer udp: udpsrc: UDP packet receiver udp: dynudpsink: UDP packet sender udp: multiudpsink: UDP packet sender udp: udpsink: UDP packet sender coreelements: streamiddemux: Streamid Demux coreelements: valve: Valve element coreelements: multiqueue: MultiQueue coreelements: typefind: TypeFind coreelements: tee: Tee pipe fitting coreelements: filesink: File Sink coreelements: queue2: Queue 2 coreelements: queue: Queue coreelements: output-selector: Output selector coreelements: input-selector: Input selector coreelements: identity: Identity coreelements: funnel: Funnel pipe fitting coreelements: filesrc: File Source coreelements: fdsink: Filedescriptor Sink coreelements: fdsrc: Filedescriptor Source coreelements: fakesink: Fake Sink coreelements: fakesrc: Fake Source coreelements: downloadbuffer: DownloadBuffer coreelements: concat: Concat coreelements: capsfilter: CapsFilter video4linux2: v4l2deviceprovider (GstDeviceProviderFactory) video4linux2: v4l2radio: Radio (video4linux2) Tuner video4linux2: v4l2sink: Video (video4linux2) Sink video4linux2: v4l2src: Video (video4linux2) Source autodetect: autoaudiosrc: Auto audio source autodetect: autoaudiosink: Auto audio sink autodetect: autovideosrc: Auto video source autodetect: autovideosink: Auto video sink multifile: splitmuxsrc: Split File Demuxing Bin multifile: splitmuxsink: Split Muxing Bin multifile: splitfilesrc: Split-File Source multifile: multifilesink: Multi-File Sink multifile: multifilesrc: Multi-File Source ogg: oggaviparse: Ogg AVI parser ogg: oggparse: Ogg parser ogg: ogmtextparse: OGM text stream parser ogg: ogmvideoparse: OGM video stream parser ogg: ogmaudioparse: OGM audio stream parser ogg: oggmux: Ogg muxer ogg: oggdemux: Ogg demuxer jpeg: jpegdec: JPEG image decoder jpeg: jpegenc: JPEG image encoder imagefreeze: imagefreeze: Still frame stream generator staticelements: bin: Generic bin staticelements: pipeline: Pipeline object

What is the expected behavior?

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?

  <x.y.z>

Tell us what hardware you're using:

Tell us about your OS (Type & version):

aumatsui commented 5 years ago

Hi xulu0611,

It looks like your issue is related to a codex plug-in package missing on your system. Can you check if installing a plug-in solves the problem? Also, do you know the SDK version?

Thank you,

xulu0611 commented 5 years ago

@aumatsui just it play good by gst-luach-1.0 tool ,so do not missing plugin for ape format. gst-launch-1.0 filesrc location=test.ape !decodebin !audioconvert !audioresample !alsasink

avs-device-sdk version is 1.17.1

xulu0611 commented 5 years ago

Hi xulu0611,

It looks like your issue is related to a codex plug-in package missing on your system. Can you check if installing a plug-in solves the problem? Also, do you know the SDK version?

Thank you,

avs-device-sdk - 1.7.1

dhpp commented 5 years ago

Closing this one out - please continue discussion as needed in #1350.