[gst-devel] getting data format info

Benoit Fouet benoit.fouet at purplelabs.com
Mon Sep 1 16:47:26 CEST 2008

Hendrik Schober wrote:
> Hi,
> we are using (or is that abusing?) gstreamer in order to capture
> video data from an USB camera. For this we have setup a v4lsrc
> and a fake sink and grab the data in the handoff hook of the
> latter. So far, so good. However, despite several hours of
> tinkering we haven't found out how to determine what format
> (width, height, encoding) the data comes in.
> What do we need to do to get these values?

if you're using gst-laucnh to do that, you can add -v to your command line

Benoit Fouet
Purple Labs S.A.

More information about the gstreamer-devel mailing list