Jul 042008

Flashcam is a free opensource tool that aims at making your V4L2 webcam driver usable in Adobe Flash©. You already have a webcam or any video capture device perfectly working, but it is not seen or detected by Adobe Flash© then Flashcam should be able to help.

The pre-requisites for this tool are

Kernel 2.6.11 or higher
Kernel Source (kernel-source)
Kernel Headers (kernel-headers)
GNU Compiler (gcc)
Make utility

Install the Pre-requisites

opensuse11:~ # yast2 –install kernel-source kernel-headers gcc make

This should install the Kernel Headers and Kernel Source and the make and GNU C compiler.

Download the latest stable version from here

opensuse11:~ # wget http://www.swift-tools.net/Flashcam/flashcam-1.1.tgz

Untar & Unzip

opensuse11:~ # tar -zxvf flashcam-1.1.tgz

Change directory and install

opensuse11:~ # cd flashcam-1.1

opensuse11:~/flashcam-1.1 # make && make install

This should install the utility on your system.

Add the PATH to your ~/.bashrc file

opensuse11:~ # echo “PATH=/usr/local/flashcam/bin:$PATH” >> ~/.bashrc

The next time you login, the path should be added to your $PATH variable.

Start Flashcam to scan for V4l2 devices

opensuse11:~ # flashcam

To run the frame forwarder in the background

opensuse11:~ # flashcam -qD

To stop

opensuse11:~ # killall flashcam

For more tips and tricks and relevant tests, visit the author’s website here