Page 15 of 17 FirstFirst ... 51314151617 LastLast
Results 141 to 150 of 162

Thread: Howto Get Eyetoy Webcam working for Ubuntu

  1. #141
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    @ knil

    Looks like you are trying the "old" way using the ov51_jpeg module. Things have moved on and you should be getting it to work with gspca.

    Look a little bit back in this thread here:

    http://ubuntuforums.org/showpost.php...&postcount=127

    and see if you can get success. it should work out of the box, but with a little tweak
    No longer participating......

  2. #142
    Join Date
    Nov 2010
    Beans
    17

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    My eyetoy works out-of-the-box with Cheese. In Kdenlive the video4linux cam source is set to /dev/video0 (which it's also set to in Cheese), and it doesn't work. Also when I record video in Cheese it doesn't record sound...

  3. #143
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    Update for PS2 eyetoys (black and silver) on Xubuntu 10.10 for both Video and Microphone.

    Seems that the eyetoy video will work out of the box for cheese and skype. However, the microphone, though identified to some extent does not get picked up by pulseaudio. The workaround for this is to remove pulseaudio and just use alsa.

    To remove pulseaudio:
    Code:
    sudo apt-get install gstreamer0.10-alsa
    sudo apt-get purge gstreamer0.10-pulseaudio vlc-plugin-pulse pulseaudio
    Adjust your sound levels using alsamixer

    Now create / edit ~/.asoundrc.conf and add this to it:
    Code:
    pcm.!default {
        type plug
        slave.pcm {
            type asym
            playback.pcm "dmix:NVidia"
            capture.pcm "dsnoop:NVidia"
        }
    }
    replacing "NVidia" with your sound card name.

    Best to reboot now. Microphone should be working. Go into Skype Options, Audio Devices, Click on the drop down for microphone, should be quite a long list. I first tried the dsnoop one which worked, but you may need to try others to get sound from the mic.
    No longer participating......

  4. #144
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    More fun to be had with your PS2 eyetoy as webcam. (Remember this is without pulseaudio!)

    Recording Sound:

    First off, define which device is generating the sound from the microphone
    Code:
    aplay -l
    This tells me my eyetoy microphone is card 1, device 0, which translates to plughw:1,0. To record sound from the mic enter this command in a terminal:
    Code:
    arecord -f cd -t wav -c 2 -D plughw:1,0 foobar.wav
    This records a wav file at CD quality.

    Video Playback:

    Lots of choices here:

    Code:
    mplayer tv:// -tv device=/dev/video0
    Code:
    cvlc v4l2:///dev/video0
    and the monster that is gstreamer (you'll need to ensure gstreamer-tools is installed)
    Code:
    gst-launch v4l2src device=/dev/video0 ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! xvimagesink
    Capturing Video - Video and Sound:

    This proved harder than I thought as vlc, ffmpeg and mencoder flatly refused to do the job with all the command lines I found out on google.

    Using gstreamer again, although this is a bit unwieldy:
    Capture Video only (no concurrent playback):
    Code:
    gst-launch v4l2src device=/dev/video0 ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! queue ! videorate! 'video/x-raw-yuv,framerate=30/1' ! theoraenc ! queue ! oggmux ! filesink location=output.ogg
    Capture Video and Sound (with concurrent playback):
    Code:
    gst-launch v4l2src ! 'video/x-raw-yuv,width=640,height=480,framerate=30/1' ! tee name=t_vid ! queue ! videoflip method=horizontal-flip ! xvimagesink sync=false t_vid. ! queue ! videorate ! 'video/x-raw-yuv,framerate=30/1' ! queue ! mux. alsasrc device=plughw:1,0 ! audio/x-raw-int,rate=48000,channels=2,depth=16 ! queue ! audioconvert ! queue ! mux. avimux name=mux ! filesink location=output.avi
    FFMPEG
    Capture Video and Sound (variants on):
    Code:
    ffmpeg -t 10 -f video4linux2 -s 640x480 -r 15 -i /dev/video0 -f alsa -ac 2 -i plughw:1,0  -aspect 4:3 -s 720x400 -qscale 3 video-with-sound.flv
    Code:
    ffmpeg -t 10 -f video4linux2 -s 640x480 -r ntsc -i /dev/video0 -f alsa -ac 2 -i plughw:1,0 -qscale 3 video-with-sound.avi
    Just video:
    Code:
    ffmpeg -f alsa video4linux2 -s 720x480 -r 30000/1001 -i /dev/video0 -sameq -aspect 4:3 -f avi -vcodec mjpeg -r 30000/1001 -y output.avi
    Enjoy
    No longer participating......

  5. #145
    Join Date
    Dec 2010
    Beans
    2

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    I am new with Ubuntu.
    On Ubuntu 8.10, I actually tried the “hacked” ov51xx driver but the camera still wont work!
    This is my dmesg:
    13.261951] Linux video capture interface: v2.00
    [ 13.448568] ov51x_jpeg: USB OV518 video device found
    [ 13.450803] ov51x_jpeg: Device revision 9
    [ 13.462880] ov51x_jpeg: Compression required with OV518…enabling
    [ 13.482770] input: PC Speaker as /devices/platform/pcspkr/input/input5
    [ 13.539661] nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 13.542369] NVRM: loading NVIDIA Linux x86 Kernel Module 96.43.09 Mon Oct 27 14:23:30 PST 2008
    [ 13.606260] input: GenPS/2 Genius Mouse as /devices/platform/i8042/serio1/input/input6
    [ 13.614882] VIA 82xx Audio 0000:00:11.5: PCI INT C -> GSI 22 (level, low) -> IRQ 22
    [ 13.615057] VIA 82xx Audio 0000:00:11.5: setting latency timer to 64
    [ 13.905235] phy0: Selected rate control algorithm ‘pid’
    [ 14.126533] Registered led device: rt2500usb-phy0:radio
    [ 15.616561] ov51x_jpeg: Sensor is an OV66308AE
    [ 15.991834] ov51x_jpeg: Device at usb-0000:00:10.1-1 registered to minor 0
    [ 15.991893] usbcore: registered new interface driver ov51x
    [ 15.991929] usbcore: registered new interface driver rt2500usb
    [ 15.992628] ov51x_jpeg: 1.5.9 : ov51x USB Camera Driver
    [ 17.151656] lp: driver loaded but no devices found
    Is there anything wrong?
    My lsusb, however :
    Bus 004 Device 003: ID 13b1:000d Linksys WUSB54G Wireless Adapter
    Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 004: ID 05a9:0518 OmniVision Technologies, Inc. OV518 WebCam
    Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    PLease help!! I know the camera works in windows xp!!
    Appreciate it a lot guys!

  6. #146
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    @ careerstrokes

    1. Doesn't look like an eyetoy webcam?
    2. Can you get a later version of Ubuntu (e.g. 10.04 / 10.10)?
    No longer participating......

  7. #147
    Join Date
    Nov 2009
    Beans
    3

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    I can confirm that Skype automatically detects my Eyetoy in Ubuntu 10.04. Didn't try sound but the video quality is just as good as the Windows Driver. Also I didn't need to use the guide to install a driver.

  8. #148
    Join Date
    Jul 2010
    Beans
    1

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    I know this thread has been going for years now, but I'm stuck. I'm not using an eyetoy, but I am using an ov51x camera, and I'm getting stuck at the make point, for some reason.

    make -C /lib/modules/2.6.32-27-generic/build M=/home/taters/Desktop/ov51x-jpeg-1.5.9 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.32-27-generic'
    CC [M] /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function \u2018create_proc_ov511_cam\u2019:
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:677: error: implicit declaration of function \u2018info\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:681: error: \u2018struct proc_dir_entry\u2019 has no member named \u2018owner\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:689: error: \u2018struct proc_dir_entry\u2019 has no member named \u2018owner\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:700: error: \u2018struct proc_dir_entry\u2019 has no member named \u2018owner\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:712: error: \u2018struct proc_dir_entry\u2019 has no member named \u2018owner\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function \u2018proc_ov511_create\u2019:
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:766: error: \u2018struct proc_dir_entry\u2019 has no member named \u2018owner\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function \u2018ov51x_clear_snapshot\u2019:
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:1691: error: implicit declaration of function \u2018warn\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: In function \u2018ov51x_v4l1_ioctl\u2019:
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: warning: passing argument 1 of \u2018video_usercopy\u2019 from incompatible pointer type
    include/media/v4l2-ioctl.h:298: note: expected \u2018struct file *\u2019 but argument is of type \u2018struct inode *\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: warning: passing argument 2 of \u2018video_usercopy\u2019 makes integer from pointer without a cast
    include/media/v4l2-ioctl.h:298: note: expected \u2018unsigned int\u2019 but argument is of type \u2018struct file *\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: warning: passing argument 4 of \u2018video_usercopy\u2019 makes pointer from integer without a cast
    include/media/v4l2-ioctl.h:298: note: expected \u2018v4l2_kioctl\u2019 but argument is of type \u2018long unsigned int\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6386: error: too many arguments to function \u2018video_usercopy\u2019
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c: At top level:
    /home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.c:6651: warning: initialization from incompatible pointer type
    make[2]: *** [/home/taters/Desktop/ov51x-jpeg-1.5.9/ov51x-jpeg-core.o] Error 1
    make[1]: *** [_module_/home/taters/Desktop/ov51x-jpeg-1.5.9] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-27-generic'
    make: *** [all] Error 2
    I'm using lucid, this is the first time I've tried installing this on the updated system, but I've used it before on 9.04 and back. Any advice on this is greatly apreciated. I read through this entire thread, and while I saw a few stabs at this problem, It's always been in relation to skype, and I could care less if skype works with it. I will humbly take a link to another thread in this forum that I've overlooked though, if someone finds one.

    Thanks in advance guys

    *EDIT* I should add that i've tried updating the headers, and they're updated to the most recent, so I'm utterly confused as to why this isn't working, it used to be so simple...

  9. #149
    Join Date
    Mar 2006
    Beans
    Hidden!

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    @ taters

    I am surprised that your webcam doesn't "just work" now? (without the need for the ov51 compilation)

    What is it? (product/model/serial etc)

    What is the output from lsusb?

    What is the output from dmesg | tail when you plug it in?
    No longer participating......

  10. #150
    Join Date
    Feb 2011
    Beans
    1

    Re: Howto Get Eyetoy Webcam working for Ubuntu

    So I followed some of the steps on the past two pages and now my eyetoy is no longer recognized at all. That is, it doesn't show up under the device list. However, the microphone shows up and works fine.

    Info: Running ubuntu 10.10 x64, using a Namtai Eyetoy.

    I had it working with Cheese out of the box and I was following the instructions on the previous pages to get it to work with skype. When I was doing the skype video test the record (red) light would go on for a moment and then go out.

    What should I do to get it working in skype?

    Thanks for the help!

Page 15 of 17 FirstFirst ... 51314151617 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •