<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>Hi All,</div><div>a simple question, yet I haven't found how to achieve this: how can I retrieve information on the file I'm playing in my main loop?</div><div>I create my pipeline with just a filesrc, decodebin, ffmpegcolorspace and directdrawsink. I do connect a callback on the decodebin 'new-decoded-pad' signal, and that's all fine, I can play my video file.</div><div>But how can I retrieve the (width, height, framerate) inside my main loop? If I check the structure of the caps in the new-decoded-pad callback, there is no such properties...</div><div>Regards,</div><div>Al</div><div style="position:fixed"></div></div><br>
</body></html>