[gst-devel] How do I get the size of a video?

danielkun at iremo.com danielkun at iremo.com
Tue Mar 18 12:58:49 CET 2008


Videoscale doesn't scale the MPEG files correctly so I'd like to set the
ratio manually.
(480x480, 4:3 videos are displayed at 1:1. 352x480, 4:3 are displayed as

My pipeline looks like this:
(filesrc, mpegdemux, queue, mpeg2dec, videoscale, capsfilter,
ffmpegcolorspace, dfbvideosink)

How would I be able to get the ratio (size) of the video?

Thank you,


More information about the gstreamer-devel mailing list