You'll want to use the videoscale element along with a caps element:<div><br></div><div>gst-launch videotestsrc is-live=TRUE num-buffers=90 ! tee name=t ! queue2 ! videoscale ! ffmpegcolorspace ! video/x-raw-rgb,width=640,height=480 ! ximagesink sync=false t. ! queue2 ! videoscale ! ffmpegcolorspace ! video/x-raw-yuv,width=320,height=240 ! theoraenc ! matroskamux ! filesink location=/tmp/test.mkv</div>
<div><br></div><div>Make sure to add queue elements on your tee so threads don't block.</div><div><br></div><div><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-videoscale.html">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-base-plugins/html/gst-plugins-base-plugins-videoscale.html</a></div>
<div><br><br><div class="gmail_quote">On Mon, Sep 24, 2012 at 1:40 AM, Mazahir Poonawalla <span dir="ltr"><<a href="mailto:mazahir.poonawalla@ideaforge.co.in" target="_blank">mazahir.poonawalla@ideaforge.co.in</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi All,<div><br></div><div>I am using a plugin along with a "tee" element to stream live capture as well as record the video. I would like to know how should I specify two different video frame sizes for the two tasks (i.e. streaming and recording). Lets say for example, the incoming video is 720p which I would want to record at that size, but I would want to stream it at only 640*480. </div>

<div><br></div><div>Any help?</div><div><br clear="all"><div><span style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif">Thank you & Regards,</span></div><p style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px">

<u></u></p><p style="color:rgb(34,34,34);font-size:13px;font-family:arial,sans-serif;margin:0px"><b>Maz</b></p>
</div>
<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>
<br></blockquote></div><br></div>