Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 29 Aug 2014, 18:17
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Webcam tips
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
tempestuous

Joined: 10 Jun 2005
Posts: 5238
Location: Australia

PostPosted: Tue 01 Jun 2010, 03:38    Post subject:  Webcam tips  

Back in Feb 2009 I posted a dotpet package of the libv4l library, which is a "helper" library for some of the less common webcam drivers, such as the sn9c20x (microdia) module.
At that time, the standard Puppy kernel version was 2.6.25.16.

Since then Puppy has moved up to the 2.6.30.5 kernel, and there seems to be an increasing number of webcam problems reported.
I suspect this may be due to a fundamental change to webcam drivers since kernel version 2.6.27,
and it seems that many, if not all, webcam drivers now require the libv4l library.
For the history of this situation, refer to this article by the developer of libv4l -
http://hansdegoede.livejournal.com/6317.html

So webcam tip number 1 is to install and use the libv4l library, from this forum post:
"Extra drivers for Puppy 4.1 with 2.6.25.16 kernel"
http://www.murga-linux.com/puppy/viewtopic.php?p=270689#270689
Carefully follow the instructions in that post.

Now there are various applications which will display and/or record your webcam image:
- gxine (which I dislike and distrust)
- mplayer - but only versions which are configured for v4l/v4l2 support, such as this one
http://www.murga-linux.com/puppy/viewtopic.php?t=26511
- xawtv
http://www.murga-linux.com/puppy/viewtopic.php?t=19918
- skype
- uvcview ?

The next problem is that most of these applications will try to output their video image in "Xvideo overlay" (xv) output mode, which is good,
because this output scheme takes advantage of the hardware-accelerated features of your Xorg graphics driver ...
but unfortunately this output method will fail with many webcams, because the webcam driver fails to create an xv-compatible output.

There are 2 workarounds for this situation, and 1 true solution. Your mileage may vary.

Workaround i) if you are using Xorg (which generally, you should) then you can force the viewer application to use the non-accelerated "x11" video output method.

Workaround ii) you could run the Xorg wizard and revert back to Xvesa display.

or true solution - install the v4l Xorg extension plugin, which I provided here -
http://www.murga-linux.com/puppy/viewtopic.php?p=271407#271407
Note that you must configure this plugin by modifying your xorg.conf file, as explained in that post.
And obviously you must restart X, or reboot.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0434s ][ Queries: 11 (0.0057s) ][ GZIP on ]