Hi Matt,<div><br></div><div>Thanks for the help, but this does not work.</div><div>My pipeline is as follows:</div><div><br></div><div><span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif"">gst-launch
-v -e v4l2src always-copy=FALSE input-src=composite chain-ipipe=true !
video/x-raw-yuv,format=\(fourcc\)NV12, width=640, height=480 ! queue !
dmaiaccel ! dmaienc_h264 encodingpreset=2 ratecontrol=2 intraframeinterval=23
idrinterval=46 targetbitrate=3000000 ! tee name=x ! queue ! rtph264pay !
udpsink port=3000 host=192.168.1.102 sync=false enable-last-buffer=false x. !
queue ! qtmux! filesink location=test1.mp4 sync=false enable-last-buffer=false</span></div><div><font face="Calibri, sans-serif"><span style="font-size:15px;line-height:17px"><br></span></font></div><div><font face="Calibri, sans-serif"><span style="font-size:15px;line-height:17px">So basically one thread is for streaming and other for recording on a file. The default composite input video is 640*480. What if I want to record the same size and stream at 320*240. Is it possible? I am running this on Leopardboard DM365.</span></font></div>
<div><font face="Calibri, sans-serif"><span style="font-size:15px;line-height:17px"><br></span></font></div><div><font face="Calibri, sans-serif"><span style="font-size:15px;line-height:17px">Thanks,<br>Maz<br></span></font><br>
<div class="gmail_quote">On 24 September 2012 18:41, Matt Pekar <span dir="ltr"><<a href="mailto:mpekar@raineyelectronics.com" target="_blank">mpekar@raineyelectronics.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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" target="_blank">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"><div><div class="h5">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>

</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">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></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
<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><br clear="all"><div><br></div>-- <br><p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">Thank you & Regards,<u></u><u></u></p>
<p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><b>Mazahir Poonawalla</b><u></u><u></u></p><p style="margin:0px;color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)">
<span style="font-size:9pt">ideaForge Technology Pvt. Ltd. | Board: +91 22 2767 0001; </span><span style="font-size:12px">+91 22 2767 0707</span> <span style="font-size:9pt">| <a href="mailto:mazahir.poonawalla@ideaforge.co.in" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue">mazahir.poonawalla@ideaforge.co.in</span></a> |<a href="http://www.ideaforge.co.in/" style="color:rgb(17,85,204)" target="_blank"><span style="color:blue">www.ideaforge.co.in</span></a><u></u><u></u></span></p>
<font color="#d60093" face="Wingdings"><span style="font-size:11px"><br></span></font><p style="margin:0px;background-color:rgb(255,255,255)"><b style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span style="font-size:9pt;font-family:Webdings;color:green">P</span></b><b style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span style="font-size:9pt;font-family:Webdings"> </span></b><b style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px"><span style="font-size:9pt;color:green">Please consider the environment before printing this e-mail</span></b></p>
<br>
</div>