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->mpegtsdemux->decodebin->ffmpegcolorspace->videoscale->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 "src" or "sink" 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>