{"id":79,"date":"2014-04-08T13:23:00","date_gmt":"2014-04-08T11:23:00","guid":{"rendered":"http:\/\/www.ncodenicer.com\/?p=79"},"modified":"2026-05-10T20:24:22","modified_gmt":"2026-05-10T18:24:22","slug":"debug-gstreamer-plugins","status":"publish","type":"post","link":"https:\/\/www.codenicer.com\/?p=79","title":{"rendered":"Debug gstreamer plugins"},"content":{"rendered":"\n<p>To discover which plugin is used for specific file run command similar to this:<br><code>gst-launch -v filesrc location=<em>filename_here<\/em> ! decodebin ! autoaudiosink<\/code><br>that should give you (among other things) output lines similar to these:<code><br>...<br>\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstTypeFindElement:typefind.GstPad:src: caps = application\/x-id3<br>\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstID3Demux:id3demux0.GstPad:sink: caps = application\/x-id3<br>Pipeline is PREROLLING ...<br>\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio\/mpeg, mpegversion=(int)1, layer=(int)3<br>\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps = audio\/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true<br>\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstFluMp3Dec:flump3dec0.GstPad:sink: caps = audio\/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true<br>...<br><\/code><\/p>\n\n\n\n<p>Last line with <code>GstDecodeBin<\/code> is showing that <code>GstFluMp3Dec<\/code> is being used to decode file<\/p>\n\n\n\n<p>Using <code>gst-inspect<\/code> it is possible to get list of installed plugins (you can find one for particular type with something similar to &#8220;<code>gst-inspect | grep decoder | grep -i mp3<\/code>&#8220;), and to test how particular plugin works you can force its use instead of automatic detection by using its name instead of decodebin &#8211; for example &#8220;<code>gst-launch -v filesrc location=<em>path_here<\/em> ! mad ! autoaudiosink<\/code>&#8220;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>To discover which plugin is used for specific file run command similar to this:gst-launch -v filesrc location=filename_here ! decodebin ! autoaudiosinkthat should give you (among other things) output lines similar to these:&#8230;\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstTypeFindElement:typefind.GstPad:src: caps = application\/x-id3\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstID3Demux:id3demux0.GstPad:sink: caps = application\/x-id3Pipeline is PREROLLING &#8230;\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstMpegAudioParse:mpegaudioparse0.GstPad:sink: caps = audio\/mpeg, mpegversion=(int)1, layer=(int)3\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstMpegAudioParse:mpegaudioparse0.GstPad:src: caps = audio\/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2, parsed=(boolean)true\/GstPipeline:pipeline0\/GstDecodeBin:decodebin0\/GstFluMp3Dec:flump3dec0.GstPad:sink: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[6,61],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-freebsd","tag-gstreamer"],"_links":{"self":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":1,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.codenicer.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}