Found it. It is installed on my system but for some reason pkg-config doesn't seem to know about it. Guess I need a devel version.<br><br><div class="gmail_quote">On Mon, Feb 4, 2013 at 4:56 PM, Chuck Crisler <span dir="ltr"><<a href="mailto:ccrisler@mutualink.net" target="_blank">ccrisler@mutualink.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thank you. Where can I find this library, or a tarball of the source?<div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">
On Mon, Feb 4, 2013 at 4:24 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>On Mon, 2013-02-04 at 16:09 -0500, Chuck Crisler wrote:<br>
<br>
> I am working with a Sensoray hardware capture device and encoder. I am<br>
> trying to extend v4l2src to allow me to specify some of the hardware<br>
> modes. I am working with plugins-good v. 0.10.25. The version of the<br>
> libgstvideo4linux2 that was pre-built (I think I got it from<br>
> RPM_FUSION) gets 15 formats, which includes the 12 that the<br>
> VIDIOC_ENUM_FMT ioctl call returns plus 3 others. The version of code<br>
> that I built (and v4l2-ctl --list-formats) only gets the base 12<br>
> formats. The source code breaks out of the 'get' loop when the<br>
> v4l2_ioctl call returns < 0. It simply increments the format index for<br>
> each iteration. I am not changing the driver between runs when I<br>
> change the v4l2src library from the pre-built to my version. How can<br>
> the pre-built library version get the additional formats? In my<br>
> version of the source code there aren't any '#ifdef...' in this area<br>
> and the line numbers for the pre-built library match the line numbers<br>
> of the source, which I got here. The additional formats include: RGB3,<br>
> YU12, YV12.<br>
><br>
> I thank you if you can restore my sanity! (I appreciate all help<br>
> anyway.)<br>
<br>
</div></div>There's a little helper library called libv4l2/libv4lconvert that does<br>
conversions for more (or less) 'exotic' formats under the hood. The<br>
GStreamer video4linux2 plugin can be built against that lib (then all<br>
ioctls are replaced with function calls into that lib) or not. I suspect<br>
when you build you don't link against it, while the prebuilt version<br>
does.<br>
<br>
Cheers<br>
-Tim<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>
</div></div></blockquote></div><br>