haolinwei / pam-face-authentication

Automatically exported from code.google.com/p/pam-face-authentication
0 stars 0 forks source link

No camera feed on x86_64 (Gentoo) #10

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After the compilation problem is fixed (see #9 - thanks for the patch, I
feel silly not being able to figure that one out by byself), the programs
compile and run.

However, both do not display any image from the webcam. Perhaps this is a
gstreamer issue but testing using V4L2 and mplayer works fine.

On a side note: when the webcam was not plugged in, the program did not
complain and still launched if everything was fine.

Version: 9999 - SVN

Original issue reported on code.google.com by cyberwizzard on 11 Jun 2009 at 4:56

GoogleCodeExporter commented 9 years ago
I tried testing gstreamer like this: 'gst-launch v4l2src !
video/x-raw-yuv,width=320,height=240 ! ffmpegcolorspace ! xvimagesink' which 
responds
with 'ERROR: pipeline could not be constructed: no element "v4l2src".'

On Gentoo, the v4l2 driver for GStreamer is an optional package called
'gst-plugins-v4l2'. To test using the way I just did you also need 
'gst-plugins-xvideo'.

Now I get errors stating: "ERROR: from element
/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Could not negotiate format"

Installing 'gst-plugins-v4l' did not help either: I can't get my GSPCA 
compatible
Logitech webcam to show up.

It seems like pam-face-auth still can't either but both programs act like 
nothing is
wrong...

Original comment by cyberwizzard on 11 Jun 2009 at 5:28

GoogleCodeExporter commented 9 years ago
try 
doing
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

Original comment by rohan.a...@gmail.com on 14 Jul 2009 at 7:51

GoogleCodeExporter commented 9 years ago
thanks its working :D

Original comment by ravi...@gmail.com on 24 Nov 2009 at 5:50

GoogleCodeExporter commented 9 years ago

Original comment by rohan.a...@gmail.com on 8 Jul 2010 at 10:54