[libcamera-devel] use of v4l2-compat.so
Nicolas Dufresne
nicolas at ndufresne.ca
Mon Jun 15 17:52:38 CEST 2020
Le lundi 15 juin 2020 à 18:11 +0300, Laurent Pinchart a écrit :
> On Mon, Jun 15, 2020 at 11:06:45AM -0400, Nicolas Dufresne wrote:
> > Le lundi 15 juin 2020 à 18:52 +0530, naidu nama a écrit :
> > > Hi,
> > > I am able to build the v4l2 directory.I am getting a shared libary
> > > v4l2-compat.so.How can i use this in my libcamera or how can i test
> > > that v4l2-compat.so
> >
> > One way is to make sure it's in your library path, and
> > use LD_PRELOAD=v4l2-compat.so . Last time I tried it was missing
> > poll() emulation.
>
> poll() support has been merged, along with several bug fixes. Paul is
> working on additional fixes, they should hopefully land this week.
Great ! I confirm it works under GStreamer now:
LD_LIBRARY_PATH=$(pwd)/build/src/v4l2 LD_PRELOAD=v4l2-compat.so gst-launch-1.0 v4l2src ! glimagesink
More information about the libcamera-devel
mailing list