<div dir="ltr"><br><br><div class="gmail_quote">On Tue, Jul 15, 2008 at 4:42 AM, Alexandre &lt;<a href="mailto:airmind@gmail.com">airmind@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi,<br><br>I&#39;m doing video conversion using GStreamer, and one of things I need is to scale down a video, if it is bigger then allowed. <br>I&#39;ve setup a pipeline using decodebin, and I was able to use the videoscale plugin by setting some fixed caps, but I want to set these caps only when the video dimensions are bigger then allowed. As I far as I understand it, I need to have the caps negociated to get the video dimensions, but then I can&#39;t set the caps I want. Is this right? How can I do what I want?</div>
</blockquote><div>&nbsp;</div><div>&nbsp;You can get the caps when decodebin adds a new pad, and at this time
you analyze its caps to decide if you need videoscale or not. <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><br></div>
</blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div dir="ltr"><br>
<br>Thanks in advance<br><font color="#888888"><br>-- <br>Alexandre Rosenfeld <br><br>EngComp 06 - USP São Carlos
</font></div>
<br>-------------------------------------------------------------------------<br>
This SF.Net email is sponsored by the Moblin Your Move Developer&#39;s challenge<br>
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes<br>
Grand prize is a trip for two to an Open Source event anywhere in the world<br>
<a href="http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/" target="_blank">http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/</a><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br>-thiago<br></div>