[gst-devel] v4l2src GstTuner interface

Julien Isorce julien.isorce at gmail.com
Wed Apr 9 16:11:04 CEST 2008


Hi,

I am trying to select physical input (S-Video, Composite, ...)

The following code :

------------
...
videodevicesrc = gst_element_factory_make("v4l2src", "videodevicesrc");
...
GstTuner *tuner = GST_TUNER (videodevicesrc);
...
------------

leads to:

(<unknown>:17146): GStreamer-CRITICAL **: gst_implements_interface_cast:
assertion `gst_element_implements_interface (GST_ELEMENT (from),
iface_type)' failed


I know that v4l2src implements this interface and
I got code example from
http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.1&view=markup

The installed packages is
gstreamer0.10-plugins-good_0.10.6-0ubuntu4_i386.deb

The following command lien works very fine : gst-launch-0.10 v4l2src !
xvimagesink

Where am I wrong ?

Sincerely

Julien
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20080409/4c6d057f/attachment.htm>


More information about the gstreamer-devel mailing list