<div dir="ltr">Hmm, I do see why you would want reduce resource consumption in elements like videoscale, but at the same time I do not see how you will get away with not performing the scaling in software with a singular source. Unless you are receiving from different sources you will have to perform the conversions somehow. As for the multiple sources, why is that a problem for you? I think that a more complete description of what you are trying to make would clarify your reservations in using multiple sources or a bin with a tee to solve your problem.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Apr 10, 2017 at 12:15 PM, caoxi <span dir="ltr"><<a href="mailto:xi.cao@intel.com" target="_blank">xi.cao@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">But I found out that "tee" element has one defect: all the streams have the<br>
same configuration. e.g., tee element can't output stream 0 for<br>
NV12/1920x1080 and stream 1 for YUYV/1280x720. and I also tried "videoscale"<br>
element, but it will occupies CPU resource to do stream cropping.<br>
For your suggestion that handling on the bin level, I thought about that,<br>
but that means I have to use multiple source plugins, which is not what I<br>
expect<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/is-it-possible-to-add-another-src-pad-in-GstBaseSrc-class-tp4682539p4682595.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.<wbr>n4.nabble.com/is-it-possible-<wbr>to-add-another-src-pad-in-<wbr>GstBaseSrc-class-<wbr>tp4682539p4682595.html</a><br>
<div class="HOEnZb"><div class="h5">Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</div></div></blockquote></div><br></div>