<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=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m working on an embedded appliance, that among other thing will capture and record video.  I’m using gstreamer v1.2.1.  My pipeline is something like:
<o:p></o:p></p>
<p class="MsoNormal">    my_v4lsrc ! tee ! queue ! imxipuvideotransform ! myCaptureControler ! imxvpuenc_h264 ! queue ! rtph264pay ! udpsink<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">imxipuvideotransform, and imxvpuenc_h264 are beta version elements from
<a href="https://github.com/Freescale/gstreamer-imx">https://github.com/Freescale/gstreamer-imx</a>.  They are working well for me.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">my_v4lsrc, is a custom source based on GstPushSrc that pushes video buffers, that have some custom meta data attached to the buffers, in addition to GstVideoMeta.<o:p></o:p></p>
<p class="MsoNormal">myCaptureControler, is a custom filter that eventually will do things to the frames based partially on the meta data from my_v4lsrc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So my issue is, that unless the caps are identical on both sides of imxipuvideotransform (which causes pass through mode to be used), the meta data is dropped.  This issue isn’t specific to the imxipuvideotransform element, since the same
 thing happens with the videoscale element.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m thinking that the meta data should have some mechanism to tell a generic 3<sup>rd</sup> party transform to copy me to the destination.  Is this the case already and I missed it?  I’m not sure how to get the meta data from the source
 element to my other element without being dropped in transforms?  <o:p></o:p></p>
<p class="MsoNormal">Ideally I would not have to maintain a custom version of imxipuvideotransform (or a subclass of it) just to copy metadata.  If this is the only way out, am I correct that  base_transform_class->copy_metadata is the right place to do the
 copy?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help would be appreciated!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Miki Grof-Tisza<o:p></o:p></p>
<p class="MsoNormal">Echo360, Inc.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>