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 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:2854:type_found:<decoder>[00m typefind found caps
application/x-icy, metadata-interval=(int)32768
0:00:33.341982088 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:3517:gst_decode_chain_new:<decoder>[00m Creating new
chain 0x7f64ac0759d0 with parent group (nil)
[storm::codec] [0:00:33.342007075 [335m 6130[00m 0x55c33a472990 [37mDEBUG
[00m [00m decodebin gstdecodebin2.c:1524:analyze_new_pad:<decoder>[00m
Pad typefind:src caps:application/x-icy, metadata-interval=(int)32768
INFO] Sending STAT_0:00:33.342023242 [335m 6130[00m 0x55c33a472990
[37mDEBUG [00m [00m decodebin gstdecodebin2.c:
5180:gst_decode_pad_new:<decoder>[00m making new decodepad
STMe
0:00:33.342148164 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder>[00m
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 [335m 6130[00m
0x55c33a472990 [37mDEBUG [00m [00m decodebin gstdecodebin2.c:
5627:gst_decode_bin_handle_message:<decoder>[00m 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 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:1480:copy_sticky_events:<'':decodepad1>[00m 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 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:1480:copy_sticky_events:<'':decodepad1>[00m 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 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:1375:gst_decode_bin_autoplug_continue:<decoder>[00m
autoplug-continue returns TRUE
0:00:33.342333751 [335m 6130[00m 0x55c33a472990 [33;01mLOG [00m [00m
decodebin gstdecodebin2.c:3222:are_final_caps:<decoder>[00m Checking with caps
application/x-icy, metadata-interval=(int)32768
0:00:33.342348965 [335m 6130[00m 0x55c33a472990 [33;01mLOG [00m [00m
decodebin gstdecodebin2.c:3229:are_final_caps:<decoder>[00m Caps are not final caps
0:00:33.342367488 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:1389:gst_decode_bin_autoplug_factories:<decoder>[00m
finding factories
0:00:33.344366683 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:1411:gst_decode_bin_autoplug_factories:<decoder>[00m
autoplug-factories returns 0x7f64ac208100
0:00:33.344398574 [335m 6130[00m 0x55c33a472990 [33;01mLOG [00m [00m
decodebin gstdecodebin2.c:1807:analyze_new_pad:<typefind:src>[00m Let's continue
discovery on this pad
0:00:33.344427912 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:2102:connect_pad:<decoder>[00m pad typefind:src , chain:
0x7f64ac0759d0, 1 factories, caps application/x-icy, metadata-interval=(int)32768
0:00:33.344471203 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder>[00m
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 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder>[00m
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 [335m 6130[00m 0x55c33a472990 [37mDEBUG [00m [00m
decodebin gstdecodebin2.c:5627:gst_decode_bin_handle_message:<decoder>[00m
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