<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
p.code, li.code, div.code
        {mso-style-name:code;
        mso-style-link:"code Zchn";
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:14.2pt;
        mso-add-space:auto;
        background:#D9D9D9;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:"Lucida Console";
        color:black;
        mso-fareast-language:EN-US;}
p.codeCxSpFirst, li.codeCxSpFirst, div.codeCxSpFirst
        {mso-style-name:codeCxSpFirst;
        mso-style-link:"code Zchn";
        mso-style-type:export-only;
        margin-top:6.0pt;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:14.2pt;
        mso-add-space:auto;
        background:#D9D9D9;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:"Lucida Console";
        color:black;
        mso-fareast-language:EN-US;}
p.codeCxSpMiddle, li.codeCxSpMiddle, div.codeCxSpMiddle
        {mso-style-name:codeCxSpMiddle;
        mso-style-link:"code Zchn";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:14.2pt;
        mso-add-space:auto;
        background:#D9D9D9;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:"Lucida Console";
        color:black;
        mso-fareast-language:EN-US;}
p.codeCxSpLast, li.codeCxSpLast, div.codeCxSpLast
        {mso-style-name:codeCxSpLast;
        mso-style-link:"code Zchn";
        mso-style-type:export-only;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:6.0pt;
        margin-left:14.2pt;
        mso-add-space:auto;
        background:#D9D9D9;
        border:none;
        padding:0cm;
        font-size:9.0pt;
        font-family:"Lucida Console";
        color:black;
        mso-fareast-language:EN-US;}
span.codeZchn
        {mso-style-name:"code Zchn";
        mso-style-link:code;
        font-family:"Lucida Console";
        color:black;
        background:#D9D9D9;}
span.E-MailFormatvorlage20
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.q4iawc
        {mso-style-name:q4iawc;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">When using _<i>playbin3</i>_ instead of _<i>playbin</i>_ the pipeline with our hardware sink elements no longer setup properly.
</span><span class="q4iawc"><span lang="EN">This has worked perfectly with playbin for a number of years<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span lang="EN-US">I get an error message like:<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:solid windowtext 1.0pt;padding:3.0pt 4.0pt 3.0pt 4.0pt;background:#D9D9D9;margin-left:14.2pt;margin-right:0cm">
<p class="codeCxSpFirst" style="margin-left:0cm;mso-add-space:auto;background:#D9D9D9">
<span lang="EN-US">ERROR Your GStreamer installation is missing a plug-in. for <a href="http://192.168.0.252/media/streams/format/1280x720x30-avc.mp4.mp4">
http://192.168.0.252/media/streams/format/1280x720x30-avc.mp4.mp4</a><o:p></o:p></span></p>
<p class="codeCxSpMiddle" style="margin-left:0cm;mso-add-space:auto;background:#D9D9D9">
<span lang="EN-US">ERROR debug information: ../../../../../../Media/GST-1.0/gstreamer/subprojects/gst-plugins-base/gst/playback/gstparsebin.c(3543): gst_parse_bin_expose (): /GstPlayBin3:playbin/GstURIDecodeBin3:uridecodebin3-0/GstDecodebin3:decodebin3-0/GstParseBin:parsebin0:<o:p></o:p></span></p>
<p class="codeCxSpMiddle" style="margin-left:0cm;mso-add-space:auto;background:#D9D9D9">
<span lang="EN-US">no suitable plugins found:<o:p></o:p></span></p>
<p class="codeCxSpMiddle" style="margin-left:0cm;mso-add-space:auto;background:#D9D9D9">
<span lang="EN-US">Missing parser: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)119056e500, rate=(int)48000, channels=(int)2)<o:p></o:p></span></p>
<p class="codeCxSpLast" style="margin-left:0cm;mso-add-space:auto;background:#D9D9D9">
<span lang="EN-US">Missing parser: H.264 (High Profile) (video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3.1, profile=(string)high, codec_data=(buffer)0164001fffe100196764001facd9405005bb016c80000003008000001e078c18cb01000668ebe3cb22c0,
 width=(int)1280, height=(int)720, framerate=(fraction)30/1, pixel-aspect-ratio=(fraction)1/1, coded-picture-structure=(string)frame, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true)<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Background<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We are working on an SOC with integrated hardware decoders for audio and video. This decoders are fed directly with “video/x-h264…” or “audio/mpeg…” (and other “encoded” media formats). So we have created sink elements
 with respective sink caps. The elements are classified as “Sink/Video/Hardware” rsp. “Sink/Audio/Hardware”. Obviously “playbin3” is looking for “Decoders” for this stream caps that are not found (</span><span class="q4iawc"><span lang="EN">We have removed
 the SW decoders for all caps that are supported by our hardware from the GStreamer packages)<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN">I also have tried to classify my Sinks as “Decoder”. In this case they are built in the pipeline (in decodebin3), but the pipeline remains paused. And there are an unused pipes from decodebin3 (see attachment)<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN">Can anybody give a hint, how to handle such special sink elements (“decoder-sinks”) correctly with playbin3? Do I really need to split the sinks into “decoder” and separate “sink” communicating with
 “hardware buffers”. This would be bad hack, because the underlaying libraries from SOC vendor needs directly to push encoded data.
<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN"><o:p> </o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN">Thanks for any hint<o:p></o:p></span></span></p>
<p class="MsoNormal"><span class="q4iawc"><span lang="EN">/Juergen<o:p></o:p></span></span></p>
</div>
</body>
</html>