I don&#39;t understand the problem as you described it.<div><br></div><div>Have you tired: gst-launch -v --gst-plugin-spew<br><div><br></div><div>In your psuedo pipeline, the scaling is last, so the video will still be 704x480 until after videoscale.  But it&#39;s my understanding you needs caps at the output of video scale to tell it to upscale. If you provide that it will probably do what you want.<div>

<br clear="all"><b>Mike Mitchell</b><br><br><br><br>
<br><br><div class="gmail_quote">On Thu, Oct 6, 2011 at 9:33 PM, Ashwini Sharma <span dir="ltr">&lt;<a href="mailto:ak.ashwini@gmail.com">ak.ashwini@gmail.com</a>&gt;</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 want to the get the negotiated caps of a pad, to find the resolution (width and height) and frame-rate of the video.</div><div><br></div><div>My pipeline looks like</div><div><br></div><div>


 filesrc-&gt;mpegtsdemux-&gt;decodebin-&gt;ffmpegcolorspace-&gt;videoscale-&gt;xvimagesink.</div><div><br></div><div>In this pipeline I am scaling my video to 1280x720 resolution from 704x480</div><div><br></div><div>When I get the &quot;src&quot; or &quot;sink&quot; pad of ffmpegcolorspace and print the caps from that, the width and height are returned as 1280x720 and not the original one 704x480.</div>


<div><br></div><div>Can someone please tell me where am I going wrong.</div><div><br></div><div>Thanks,</div><div>Ashwini Kumar</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></div></div>