[gst-devel] Getting file information
Albert Costa
costa_albert at yahoo.fr
Mon Mar 2 13:09:42 CET 2009
Hi All,
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?
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.
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...
Regards,
Al
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090302/c5e3ccc1/attachment.htm>
More information about the gstreamer-devel
mailing list