<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi guys,</div><div><br></div><div>I am newbin to gstreamer, and want to know how to get the video resolution (width,height) from pipeline as below:</div><div><br></div><div>GstElement *pipeline = gst_parse_launch("rtspsrc name=src latency=0 ! decodebin name=dec ! appsink name=sink", &error);</div><div><br></div><div>when receiving the video data from appsink (new-sample), i need to know the resolution of video go ahead!</div><div><br></div><div>I have tried to research the signal of decodebin, and don't know how to do.</div><div><br></div><div>thanks in advance</div><div>-zhi</div></div><br><br><span title="neteasefooter"><p> </p></span>