Decodebin errors

Geoff Clements geoff at electron.me.uk
Sun Aug 11 12:52:22 UTC 2019


Hi,

I'm having a problem with decodebin and I've managed to isolate the cause but I'm not 
sure how to get to a resolution. My application is an audio player client which receives 
streams from a server which simply streams audio files (flac, ogg/vorbis, mp3 etc).

I'm just looking for some pointers. Currently I'm considering handling the autoplug-select 
signal from decodebin, exposing the application/x-icy pad and attaching a fakesink but 
this feels a bit kludgy.

For me decodebin is working fine except when both these conditions are hit:
1. The stream is audio/x-flac.
2. The stream to the client starts from somewhere in the middle of the file on the server 
(the server can do this and I have no control of this)

The error message is:
gsticydemux.c(481): gst_icydemux_typefind_or_forward (): /GstPipeline:stormpipe/
GstBin:bin1/GstDecodeBin:decoder/GstICYDemux:icydemux1:
No caps found for contents within an ICY stream

The debug output for the time leading up to the error is:

0:00:33.341937029  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:2854:type_found:<decoder> typefind found caps 
application/x-icy, metadata-interval=(int)32768
0:00:33.341982088  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:3517:gst_decode_chain_new:<decoder> Creating new 
chain 0x7f64ac0759d0 with parent group (nil)
[storm::codec] [0:00:33.342007075  6130 0x55c33a472990 DEBUG  
            decodebin gstdecodebin2.c:1524:analyze_new_pad:<decoder> 
Pad typefind:src caps:application/x-icy, metadata-interval=(int)32768
INFO] Sending STAT_0:00:33.342023242  6130 0x55c33a472990 
DEBUG              decodebin gstdecodebin2.c:
5180:gst_decode_pad_new:<decoder> making new decodepad
STMe
0:00:33.342148164  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder> 
Forwarding msg structure-change message: 0x7f64a04af690, time 99:99:99.999999999, 
seq-num 536, element 'proxypad5', GstMessageStructureChange, 
type=(GstStructureChangeType)GST_STRUCTURE_CHANGE_TYPE_PAD_LINK, 
owner=(GstElement)"\(GstTypeFindElement\)\ typefind", busy=(boolean)true;
[storm::codec] [INFO] Sending STAT_STMh0:00:33.342206707  6130 
0x55c33a472990 DEBUG              decodebin gstdecodebin2.c:
5627:gst_decode_bin_handle_message:<decoder> Forwarding msg structure-
change message: 0x55c33a4cca40, time 99:99:99.999999999, seq-num 538, element 
'proxypad5', GstMessageStructureChange, 
type=(GstStructureChangeType)GST_STRUCTURE_CHANGE_TYPE_PAD_LINK, 
owner=(GstElement)"\(GstTypeFindElement\)\ typefind", busy=(boolean)false;

0:00:33.342247215  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:1480:copy_sticky_events:<'':decodepad1> store sticky 
event stream-start event: 0x7f64ac38e890, time 99:99:99.999999999, seq-num 529, 
GstEventStreamStart, stream-
id=(string)0d4ad9edec33945fabea4dcc13a96839c3391a21ff4d5032723cfa8e55eec35c, 
flags=(GstStreamFlags)GST_STREAM_FLAG_NONE, group-id=(uint)2;
0:00:33.342288952  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:1480:copy_sticky_events:<'':decodepad1> store sticky 
event caps event: 0x7f64ac1d6ea0, time 99:99:99.999999999, seq-num 535, 
GstEventCaps, caps=(GstCaps)"application/x-icy\,\ metadata-interval\=\(int\)32768";
0:00:33.342312614  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:1375:gst_decode_bin_autoplug_continue:<decoder> 
autoplug-continue returns TRUE
0:00:33.342333751  6130 0x55c33a472990 LOG                
decodebin gstdecodebin2.c:3222:are_final_caps:<decoder> Checking with caps 
application/x-icy, metadata-interval=(int)32768
0:00:33.342348965  6130 0x55c33a472990 LOG                
decodebin gstdecodebin2.c:3229:are_final_caps:<decoder> Caps are not final caps
0:00:33.342367488  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:1389:gst_decode_bin_autoplug_factories:<decoder> 
finding factories
0:00:33.344366683  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:1411:gst_decode_bin_autoplug_factories:<decoder> 
autoplug-factories returns 0x7f64ac208100
0:00:33.344398574  6130 0x55c33a472990 LOG                
decodebin gstdecodebin2.c:1807:analyze_new_pad:<typefind:src> Let's continue 
discovery on this pad
0:00:33.344427912  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:2102:connect_pad:<decoder> pad typefind:src , chain:
0x7f64ac0759d0, 1 factories, caps application/x-icy, metadata-interval=(int)32768
0:00:33.344471203  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder> 
Forwarding msg structure-change message: 0x55c33a4cca40, time 99:99:99.999999999, 
seq-num 541, element 'proxypad5', GstMessageStructureChange, 
type=(GstStructureChangeType)GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK, 
owner=(GstElement)"\(GstTypeFindElement\)\ typefind", busy=(boolean)true;
0:00:33.344512265  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder> 
Forwarding msg structure-change message: 0x7f64a04af690, time 99:99:99.999999999, 
seq-num 542, element 'proxypad5', GstMessageStructureChange, 
type=(GstStructureChangeType)GST_STRUCTURE_CHANGE_TYPE_PAD_UNLINK, 
owner=(GstElement)"\(GstTypeFindElement\)\ typefind", busy=(boolean)false;
0:00:33.344545520  6130 0x55c33a472990 DEBUG              
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder> 
Forwarding msg structure-change message: 0x7f64a04af690, time 99:99:99.999999999, 
seq-num 543, element 'proxypad5', GstMessageStructureChange, 
type=(GstStructureChangeType)GST_STRUCTURE_CHANGE_TYPE_PAD_LINK, 
owner=(GstElement)"\(GstTypeFindElement\)\ typefind", busy=(boolean)true;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190811/6c363c39/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190811/6c363c39/attachment-0001.sig>


More information about the gstreamer-devel mailing list