<div dir="ltr">Hi there!<div><br></div><div>I am not an expert, but I had the same problem and maybe this can be of some help to you. Look here:</div><div><a href="http://gstreamer-devel.966125.n4.nabble.com/Detecting-video-stream-resolution-in-appsink-with-GStreamer-1-0-tt4685967.html">http://gstreamer-devel.966125.n4.nabble.com/Detecting-video-stream-resolution-in-appsink-with-GStreamer-1-0-tt4685967.html</a><br></div><div><br></div><div>Hope that helps!</div><div>regards</div><div>Fabrizio</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 1:23 PM, zhi <span dir="ltr"><<a href="mailto:sunzhidev@163.com" target="_blank">sunzhidev@163.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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><span class="HOEnZb"><font color="#888888"><div>-zhi</div></font></span></div><br><br><span title="neteasefooter"><p> </p></span><br>______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
<br></blockquote></div><br></div>