Is there anything that can be done to get the ov51x-jpeg driver working on ps2linux?
Got it to work!
Too bad it cannot be used sufficiently as the CPU usage is constantly 100%. Maybe framedroping or lower resolution can "fix" this. Also using the "-palette grey" option may speed up things.
ov51x-jpeg-0.5.3 source should be installed:
The archives are ZIP (I will upload tar.gz)
use the up and down arrows on the kbd to change the effects.
#install effectv binary to /usr/bin (this is only required to run the program)
# this will automatically load module "videodev" and "ov51x"
effectv -device /dev/ps2video0
# if it doesn't work then try "/dev/video*" "/dev/ps2video*" where "*" can be " ", "0", or "1"
Do "modprobe audio" to load usb audio driver.
Video and audio.
!! This is terably slow. Cannot be conntrolled, very hard to stop the program.
Better use only video or only audio! - change one of "-ao none" "-vo none".
For some reason the audio is very bad.
To get the audio from the mic in the camera to the speakers use:
mplayer -tv driver=v4l:width=640:height=480:outfmt=i420:device=/dev/ps2video0:forceaudio:adevice=/dev/dsp3 -vo sdl -ao sdl -framedrop tv://
# better change 640 to 320 and 480 to 240 to get better speed
#audio will most likely not work. To get it "partialy" working add the following after "/dev/dsp3":
That works worse than the above. (probably more arguments are needed to controll the command)
dd if=/dev/dsp3 of=/dev/dsp
Better do "cat /dev/dsp*" in terminal window before that to determine where is the audio device.
XawTV also works with this driver and the EyeToy but the image is "rather blue"(Much like the Avatar movie ). The same effect is observed on Ubnuntu 10 with kernel 2.6 - so the problem is in the app (probably wrong palette setting). Installation of xawtv is easy, compiling and installing goes without errors and the application works fine. (There are only some warnings on startup.)
Enabling audio device ("-C /dev/dsp3") causes very slow responce and eventualy jams up the PSTwo.
The "getjpeg" program in ov51x-1.65-1.1x-mark will not work with the ov519 decompressor - the getjpeg program may work if it's from later versin ex: 1.5.7 (I tried and it didn't work- file is created but cannot be oppened by jpeg picture viewer programs).
Capturing a picture with the EyeToy can be done with Mplayer - by setting "-vo" to "-vo jpeg".
Use the attached kernel 2.4.17 (vmlinux_v4l.gz) in KernelLoader.
Extract the "linux-2.4.17_ps2_v4l.tar.gz" to "/installs" directory (for example).
WARNING! Installing this will delete all previously installed modules!!!
You can make a backup of the "/lib/modules/2.4.17_mvl21" folder in the same directory and edit the modules.dep file in the newly installed folder, also adding the removed modules.
This will take some time.
tar xjvf /where_the_file_is/linux-2.4.17_ps2_v4l.tar.gz
Extract ov51x-jpeg-0.5.3-e2.tar.gz to some directory on the root fs - for example /installs :
tar xzvf /where_the_file_is/ov51x-jpeg-0.5.3-e2.tar.gz
# (edited after deba5er's post:)devices in /dev directory saometimes don't exist, so they have to be created:
mknod /dev/video0 c 81 0
mknod /dev/video1 c 81 1
mknod /dev/ps2video0 c 81 0
mknod /dev/ps2video1 c 81 1
tar xzvf /where_effectv_is/effectv-0.3.9-bin.tar.gz
When the capture program is startder, linux sometimes complains about "char-major-81-0" Fix:
tar xzvf /where_effectv_is/effectv-0.3.11_ps2.tar.gz
make clean #skip this
make #and this if you don't want to wait
cp ./effectv /usr/bin
and add (or change)
-End of INSTALLATION-
Effectv 0.3.11 does not compile on ps2linux. It would be good if somebody fixes it, as it has more effects and the Changelog states that newer versions are optimized to run faster.
1. /effects/bluescreen.c :
All the variables for which there is an error "undeclared" should be declared right after the lines:
2. /utils.c :
Change "trunc" to "trunc_" at all 4 places in the file.
When "make install" is run, effectv binary doesn't gets installed at /usr/local/bin (there is a file there but it doesn't work) - Wrong - the file is working, but cannot be started from /usr/local/bin - copy it to /usr/bin
The attached file "effectv-0.3.11_ps2.tar.gz" works on ps2linux.
cp ./effectv /usr/bin
The camera works when connected through a USB hub.
deba5er uploaded a compiled ecasound to 4shared:
ecasound-2.3.0-ps2.tar.bz2 - 4shared.com - online file sharing and storage - download
*That program is huge
Extract to /home/adent , then:
(Run in another terminal, in the background.)
All Windows users can experience all of EffecTV's effects with EffecTV Download :: Open Source Programs and Software for Windows (I think there are more effects in this version than in 0.3.11). (Windows EyeToy drivers: http://psx-scene.com/forums/f20/diff...cameras-75088/ (Difference between PS2 EyeToy cameras) )
ecasound -i /dev/dsp3 -o /dev/dsp
For linux users : "apt-get install effectv" .