[gst-devel] getting display dimensions for a theora video with pygst

Erik Blankinship jedierikb at yahoo.com
Tue Nov 7 03:45:03 CET 2006


Using pygst, I have loaded in an ogg theora video and would like to know the video's dimensions or at least the video's aspect ratio.
I do not know how to do this using pygst.

This sample code from the manual seems to describe what I want to do, but I am not sure how to make calls like these work with pygst:
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-caps-api.html#section-caps-metadata

If anyone can help out, it would be much appreciated.

Thanks,
Erik





More information about the gstreamer-devel mailing list