My aim is to get the original video size. Thats why I get the caps at ffmpegcsp. But I get the size 1280x720 which should not be the case until after videoscale.<div><br></div><div>My doubt is why i am getting the size 1280x720 at ffmpegcsp, which is placed before the videsocale. </div>
<div><br></div><div>Any reason to that?</div><div><br></div><div>-Ashwini<br><br><div class="gmail_quote">On Fri, Oct 7, 2011 at 1:57 PM, Mike Mitchell <span dir="ltr">&lt;<a href="mailto:mike.mitchell@panometric.net">mike.mitchell@panometric.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">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"><div><div></div><div class="h5">On Thu, Oct 6, 2011 at 9:33 PM, Ashwini Sharma <span dir="ltr">&lt;<a href="mailto:ak.ashwini@gmail.com" target="_blank">ak.ashwini@gmail.com</a>&gt;</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></div><div class="h5">

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></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></div></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>