Saturday, October 23, 2010

CCV on 64 bit Linux (Ubuntu 10.04 LTS)

While a 64 bit Linux binary is available on the CCV website, there are multiple disadvantages to using that binary. This is especially true if you are using the PS3 Eye Toy, which requires a modified unicap library to work; however, it is also an older version while the subversion repository provides the most recent version.

Now when I'm doing anything like installing someone else's program, I immediately start making a script so that I don't have to remember how to do things a second time. So here are the scripts I used to create three separate things: the CCV program from the svn repository; the modified unicap library; and the gspca driver for the PS3 Eye Toy.

ps3-unicap.sh is the script you can use to compile and install the patched unicap library.
ps3-eye.sh is the script you use to compile and install the gspca ov534 module for the kernel (PS3 Eye Toy driver).
ucview.sh is the script you use to compile and install ucview, not patched, not really required, just here because I wrote one.
ps3_settings.sh is a file that lets you set the gspca module settings through arguments, if no arguments are specified, it prints out the options.


Here are the steps I would take:
-Run ps3-eye.sh
-Run ps3-unicap.sh
-Run (and install VLC because it is awesome if not already installed) VLC, then click Media > Open Capture Device. You should see /dev/video0 or /dev/video1 (if you already have a video capture device).
-As far as I remember, compiling CCV is fairly straight forward. I recommend mt-dev CCV tutorial for now until I find my script and edit this post, or just reading the readMe.txt.

Sorry for anyone who came here to find an incomplete page, I'll be updating this page more in the coming days.
Please feel free to post any comments or complaints or criticisms of me, anything that doesn't kill me can only make things better.

PS3 Eye on Linux Made Easy