[gst-devel] Re: v4lsrc input channels

Amo amo99 at libero.it
Tue Nov 29 14:11:06 CET 2005

Ok, that works fine. Thank you so much.
I'm trying to set norm (video format) into a "v4lsrc" instance via GstTuner interface.

GstElement *source = gst_element_factory_make("v4lsrc", "test");
gst_element_set_state(source, GST_STATE_PAUSED);
GstTuner *tuner = GST_TUNER(source);
const GList *norms = gst_tuner_list_norms(tuner);
foreach (item in norms)
  print item;

I get PAL, NTSC, SECAM. Where is AUTO format supported by v4l?

More information about the gstreamer-devel mailing list