l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
April 21: Google Glass
Next Installfest:
TBD
Latest News:
Mar. 18: Google Glass at LUGOD's April meeting
Page last updated:
2008 Nov 20 23:57

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] Minor webcam success
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] Minor webcam success



A friend of mine gave me a USB-based webcam (with "Model No. EZ-368 SPCA561A"
on the bottom).  It's pretty low-tech, apparently maxing out at 352x288 pixels
in resolution, and probably something like 10fps.

It appears that the latest Linux kernel in Ubuntu 8.10 (kernel 2.6.27) has
a bug that prevents many USB cameras from being recognized (at the device
level; you can't even "lsusb" it, all you get are some errors in
/var/log/syslog).  I was able to boot into an older Kernel (2.6.24) and
"Cheese" (a simple little webcam photo/video snapper from Gnome) was able
to catch me eating some kettle corn. :)

There's a project -- about 3 years since the last update -- called "PortVideo"
that sits on top of various video systems on various platforms.
(Something firewire-related and video4linux on Linux, Quicktime on Mac OS X,
and {whatever} on Windows.)

I'm hoping to use their code (GPL'd and libSDL-based -- perfect!) as a way to
add a photo snapshot import option to Tux Paint.  (Take a picture of yourself,
paint over it.)

I needed to install a few additional packages on Ubuntu 8.10 to get it
to compile, and even then I had to manually edit "640" and "480" resolutions
that were #define'd in PortVideoSDL.cpp and change them to the resolution
that my camera can handle.


I needed libdc1394 and libraw1394, and the '-dev' packages that went along.
One thing that confused me is that there are two sets of "libdc1394"s,
one set labeled "-13" and the other "-22".  Bigger is not necessarily better.
I guess "-22" is a new API, and PortVideoSDL does not know it, so I had
to install the "-13" stuff to get it to compile.  (I began trying to update
their code, before I remembered the package duality that was going on.)
It seems some newer GNOME stuff wants the "-22" packages, and fortunately
they live side-by-side without problem.

Anyway, I haven't done anything in terms of touching Tux Paint, but I wanted
to share this minor success story.  (Even if it did involve package confusion
and booting in an older kernel.  *sigh*)

BTW, PortVideo lives here:

  http://mtg.upf.es/reactable/?portvideo

It's being used by their very cool looking project, here:

  http://mtg.upf.es/reactable/?software

-- 
-bill!
"Tux Paint" - free children's drawing software for Windows / Mac OS X / Linux!
Download it today!  http://www.tuxpaint.org/
_______________________________________________
vox-tech mailing list
vox-tech@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox-tech



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.