Hi All:
I've been trying to figure out how to set certain properties on a v4l device using v4lsrc or v4l2src source, with limited success. One of the difficulties was to understand what can really go on the caps definition. for many purposes, using 'video/x-raw-rgb width=320 height=220' or the like works, but I wonder if other parameters can go on the caps description as well, e.g. 'frequency=1 channel=0'. My other question is how to learn what the differences between v4lsrc and v4l2src are. I have read cheese's source code that seems to to a good job of setting up the v4l sources and v4l2src is used there, but couldn't get pass that snippet. Last but not least, IRC channel responses are great, thanks for bearing with us newcomers. Carlos -- Carlos J. Hernandez http://www.linkedin.com/in/carlosjhernandez http://uniandes.facebook.com/profile.php?id=500080232 http://homepages.nyu.edu/~cjh231/ http://link.aip.org/link/?PSISDG/5552/253/1 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
ext Carlos Hernández wrote:
> Hi All: > > I've been trying to figure out how to set certain properties on a v4l > device using v4lsrc or v4l2src source, with limited success. > > One of the difficulties was to understand what can really go on the > caps definition. for many purposes, using 'video/x-raw-rgb width=320 > height=220' or the like works, but I wonder if other parameters can go > on the caps description as well, e.g. 'frequency=1 channel=0'. run gst-inspect-0.10 v4l2src (or v4lsrc) to see what you can use on the "caps" frequency and channel were "properties" that was in some previous version of v4l2src and has been removed (by mistake) I hope to have time at some point to put them back. Anyway you can choose them using GstTuner interface in your program. There is a very simple test app you can see how v4l2src works http://webcvs.freedesktop.org/gstreamer/gst-plugins-good/tests/icles/v4l2src-test.c?revision=1.8&view=markup > > My other question is how to learn what the differences between v4lsrc > and v4l2src are. I have read cheese's source code that seems to to a > good job of setting up the v4l sources and v4l2src is used there, but > couldn't get pass that snippet. I would say that v4lsrc and v4l2src are quite similar to be used in GStreamer, the main difference is the internally which implements v4l or v4l2 standards to talk to device drivers. > > Last but not least, IRC channel responses are great, thanks for > bearing with us newcomers. > > Carlos > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |