Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245819 - media-libs/libv4l is need for new webcam driver in kernel 2-6-27
Summary: media-libs/libv4l is need for new webcam driver in kernel 2-6-27
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-06 12:34 UTC by Michele Schiavo
Modified: 2008-11-06 22:49 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michele Schiavo 2008-11-06 12:34:31 UTC
the new kernel 2.6.27 have new gspca v2 driver.
The new driver need external v4lib http://moinejf.free.fr/gspca_README.txt
All "old" application using webcam still not working.
but trying the cam with svv is working good.

Ref : http://bugzilla.kernel.org/show_bug.cgi?id=11952


Reproducible: Always
Comment 1 Michele Schiavo 2008-11-06 12:36:58 UTC
V4L library

	Most applications don't know how to decode the raw frames generated
	by the driver, and also, many of them do not speak the V4L2
	interface. To make them work, you need the V4L application
	library found at:

		http://linuxtv.org/hg/~hgoede/v4l-dvb

	To generate:
		cd v4l2-apps/lib/libv4l/
		make
	   (and as root)
		make install
		(the installation is done under /usr/local)

	To use it with a mono-threaded:
		export LD_LIBRARY_PATH=/usr/local/lib/
		LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so <application>

	To use it with a multi-threaded application:
		export LD_LIBRARY_PATH=/usr/local/lib/
		export LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so
		<application>

Applications

	- without the library
		- luvcview: OK with JPEG webcams / KO with other webcams
		- mplayer: OK

	- with the library
		- camorama: often OK but KO with some webcams
		- cheese: OK
		- effectv: OK
		- skype: OK
		- vlc: OK
		- xawtv: OK
		- xcam: OK
		- zapping: KO


I think in the future all ebuild using webcam have to use this lib.

(but I'm not a developed and I can be wrong....)
Comment 2 Michele Schiavo 2008-11-06 18:47:01 UTC
can be solved add something in /etc/env.d/v4l

with something like that

export LD_LIBRARY_PATH=/usr/lib/
export LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so

but i'm not sure this is the right solution.
Comment 3 Michele Schiavo 2008-11-06 22:49:44 UTC
I'm stupid...

i didn't read emerge info of this package

Sorry