Here's an example:<br><br>gst-launch filesrc location=source.file ! tee name=tp \<br>tp. ! queue ! filesink location=destination1.file \<br>tp. ! queue ! filesink location=destination2.file<br><br>The queues are to prevent deadlocking.<br>
<br><br><div class="gmail_quote">On 7 November 2012 14:01, Baby Octopus <span dir="ltr"><<a href="mailto:jagadishkamathk@gmail.com" target="_blank">jagadishkamathk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I'm a gstreamer newbie. I'm writing my own application where in I read from<br>
a 1920x1080 YUV file, resize it into different dimensions namely 1280x720,<br>
800x480 and 640x360 and then encode each of these resolutions. I want to<br>
connect "filesrc" to 3 different resizer element. I know this is possible<br>
using a tee element. However, I have not been able to find a good example<br>
which demonstrates one such usage. Please throw some light on this<br>
<br>
Regards,<br>
Baby Octopus<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Good-example-to-show-usage-of-tee-tp4656821.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Good-example-to-show-usage-of-tee-tp4656821.html</a><br>

Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>