Tuesday, May 18, 2010

WXCam is a great webcam app for logitech 3000


After a few days of wrangling through bug reports and kernel recompilations, just to try to get my webcam to work properly, I stumbled upon this great little app that handles my webcam and it's little quirks just fine. It's called WXCam and it's a fantastic little app.

I know most of you are wondering why I simply don't use cheese (gnome based) or kamoso (kde based)... well... to be quite honest, I did try both those apps... in addition to quvcview, camorama and a host of other webcam apps as well. Cheese would not even start... there is apparently a gstreamer issue and it kept issuing this type error...

(cheese:2237): GStreamer-WARNING **: pad source:src returned caps which are not a real subset of its template caps
Segmentation fault


The funny thing is, when selecting the cam directly with gstreamer-properties, the test worked just fine at full res, so I knew it wasn't a hardware problem.

Kamoso worked, but it hiccupped with v4l2 demux errors and wouldn't allow adjustment of brightness or exposure, Audio would not record and there were few options to actually adjust... I'm unsure as to whether or not this is due to not having kde fully installed, the distro I'm using (xubuntu), or some other combination thereof.

WXCam on the other hand worked flawlessly. It detected the cam right off the bat, has a host of configuration options, allowed resolution up to 640x480 (the max for this cam), and also records and syncs audio from the builtin mic on the cam. You can find the source code on the homepage here... http://wxcam.sourceforge.net/index.php

It comes in a precompiled i386 binary for debian/ubuntu, or ya can download a tarball to compile from source for x86_64 systems or other i386 compatible distros. It's also available in the AUR in arch linux, and a simple yaourt -S wxcam will download and compile it to your system... One note, the pkgbuild is out of date at the time of this writing, so be sure to modify it to download and install the latest version.

Happy webcamming!

Thursday, May 13, 2010

ubuntu cdrtools script

It's been a while since I've posted on here, but I thought I'd give the revised version of my cdrtools script that replaces cdrkit... and since I'm using ubuntu at the moment, it is formatted for sudo (though any other distro set up for sudo access should have no trouble).

#!/bin/bash

#compile smake for ubuntu
cd ~
wget ftp://ftp.berlios.de/pub/smake/smake-1.2.1.tar.gz
tar -zxf smake-1.2.1.tar.gz
cd smake-1.2.1
sudo cp Gmake.linux /usr/bin/Gmake
sudo make
sudo make install
sudo cp /opt/schily/bin/smake /usr/bin
sudo chmod +x /usr/bin/smake

#compile cdrtools for ubuntu
cd ~
wget ftp://ftp.berlios.de/pub/cdrecord/alpha/cdrtools-beta.tar.gz
tar -zxf cdrtools-beta.tar.gz
cd cdrtools-2.01.01
sudo smake
sudo smake install

# Ensure root ownership for proper operation
sudo chown root:root /opt/schily/bin/*

# Backup cdrkit files
cd ~
mkdir cdrkitbackup
sudo mv /usr/bin/wodim ~/cdrkitbackup
sudo mv /usr/bin/readom ~/cdrkitbackup
sudo mv /usr/bin/genisoimage ~/cdrkitbackup
sudo mv /usr/bin/btcflash ~/cdrkitbackup
sudo mv /usr/bin/devdump ~/cdrkitbackup
sudo mv /usr/bin/isodump ~/cdrkitbackup
sudo mv /usr/bin/isodebug ~/cdrkitbackup
sudo mv /usr/bin/isoinfo ~/cdrkitbackup
sudo mv /usr/bin/isovfy ~/cdrkitbackup
sudo mv /usr/bin/icedax ~/cdrkitbackup

# Remove soft links to cdrkit programs
sudo rm /usr/bin/cdrecord
sudo rm /usr/bin/cdda2wav
sudo rm /usr/bin/mkhybrid
sudo rm /usr/bin/mkisofs
sudo rm /usr/bin/readcd

# Create soft links to cdrtools programs
# Create soft links to cdrkit naming conventions for compatibility
sudo ln -s /opt/schily/bin/cdrecord /usr/bin/cdrecord
sudo ln -s /opt/schily/bin/cdrecord /usr/bin/wodim
sudo ln -s /opt/schily/bin/mkisofs /usr/bin/genisoimage
sudo ln -s /opt/schily/bin/mkisofs /usr/bin/mkisofs
sudo ln -s /opt/schily/bin/mkhybrid /usr/bin/mkhybrid
sudo ln -s /opt/schily/bin/readcd /usr/bin/readom
sudo ln -s /opt/schily/bin/readcd /usr/bin/readcd
sudo ln -s /opt/schily/bin/cdda2wav /usr/bin/cdda2wav
sudo ln -s /opt/schily/bin/cdda2wav /usr/bin/icedax
sudo ln -s /opt/schily/bin/btcflash /usr/bin/btcflash
sudo ln -s /opt/schily/bin/isodebug /usr/bin/isodebug
sudo ln -s /opt/schily/bin/isodump /usr/bin/isodump
sudo ln -s /opt/schily/bin/isoinfo /usr/bin/isoinfo
sudo ln -s /opt/schily/bin/isovfy /usr/bin/isovfy


there is a harmless error at the end of installation, so don't worry, it will have installed cdrtools correctly. Good luck!