Page 19 of 25 FirstFirst ... 91718192021 ... LastLast
Results 181 to 190 of 249

Thread: Linux driver for EasyCap USB2.0 Video Adapter DC60

  1. #181
    Join Date
    Jan 2006
    Location
    USA
    Beans
    332
    Distro
    Xubuntu

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    Quote Originally Posted by celem View Post
    I have done a bit more with my EasyCap002 ( USB ID 05e1:0408 ) on 10.04. ...but the audio level remains low and thus a bit scratchy...
    The cure seems to be at the link below. I need to order this plug:
    ----
    Linux user since before Yggdrasil, Unix before that while with the real AT&T.

  2. #182
    Join Date
    May 2008
    Beans
    83

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    Hi,

    I'm sorry to say there's no way of tweaking the driver in order to improve the audio signal from an EasyCAP002. As you probably know, these EasyCAPs have no dedicated AC'97 audio chip, and I never managed to find out how their microphone audio channel is handled by the hardware. In contrast, EasyCAP DC60s with CVBS, S-Video and two audio input leads do have an AC'97 audio chip if you're lucky (although in practice many don't), and for those with the AC'97 chip the driver can be configured to alter the gain within certain limits.

    I've bought half a dozen EasyCAPs over the past couple of years. I've noticed that the audio quality varies considerably, as regards both volume and noise level, but I've not found a satisfactory way to make the driver compensate for these variations.

    Mike

  3. #183
    Join Date
    Jan 2006
    Location
    USA
    Beans
    332
    Distro
    Xubuntu

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    Success was found by connecting the audio outputs into the microphone jack and then selecting the audio source as “plughw.0,0”. The EasyCap audio source of “plughw.1,0” was scratchy and of low quality.

    I used mtvcgui-0.31 to set things up. The command line produced is shown below.

    mencoder tv:// -tv channel=0:driver=v4l2:device=/dev/easycap1:normid=6:input=0:chanlist=us-cable:width=720:height=576:brightness=0:contrast=0 :hue=0:saturation=0:buffersize=16:alsa:amode=1:for cechan=2:audiorate=48000:adevice=plughw.0,0:forcea udio:immediatemode=0 -oac mp3lame -ovc lavc -quiet -lavcopts acodec=mp2:abitrate=128:vcodec=mpeg4:vbitrate=1072 -lameopts cbr:br=128 -o ./capture_0_20110316_133604.avi

    With this setup the audio is strong and clear.
    ----
    Linux user since before Yggdrasil, Unix before that while with the real AT&T.

  4. #184
    Join Date
    Jan 2008
    Beans
    1

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    Quote Originally Posted by zonemikel View Post
    UPDATE >>> !!!
    I took the hdd with ubuntu server 10.04 and popped it into another computer, started up the other computer and then plugged in the usb easycap from there I ran the mplayer command (no sound) and it worked great. So whatever it is it has to do with the hardware on the pc NOT ubuntu server. I can kinda tell the machine has problems also because the panels never show up in ubuntu, and they did on the other computer. So i think there are some serious problems with the video card embedded in that computer.

    I will try a different video card in the machine if I ever find one, it only has pci slots and I dont have any pci video cards. I might just build another machine, I have enough parts laying around I should be able too ... but anyway dont waste any of your valuable time messing with ubuntu server that was not the culprit.

    Thanks for all your help, once I get time i'll write up a blog entry and post the link here.
    I've also got the green output with a Ubuntu 10.4 LTS server edition - but I don't think it's video card related as I'm using X11 tunnel over ssh to a local X server. And I know it's not this that's the problem because if I use mplayers -vo jpeg option to dump video to jpeg files and pop them on the webserver, they're all green too!

    The only thing I can think of is that all the ports on this Linux server box are USB 1.1 only, perhaps the same on yours?

    (I presumed this would just drop the capture framerate but it looks like it just stops it working altogether).

  5. #185
    Join Date
    Apr 2009
    Beans
    10

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    Quote Originally Posted by LuizCB View Post
    Did anyone manage to have EasyCap working with Natty (11.04) kernel module 'kernel/drivers/staging/easycap/easycap.ko'?
    If so, how, please.

    Other question, btw. What are all EasyCap dependencies? Because I'm trying using it on a basic server installation.

    Thanks in advance.

    Luiz
    I'm having the same problem as Luiz on Natty.

    Here is the error as shown in console:

    ~/EASYCAP/easycap_dc60.0.9$ sudo ./install_simple.sh
    depmod OK
    unlocked_ioctl not required
    make clean OK
    ERROR: step ~/EASYCAP/easycap_dc60.0.9$ sudo ./install_simple.sh
    depmod OK
    unlocked_ioctl not required
    make clean OK
    ERROR: step failed: make
    /home/backend/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:76:2: error: unknown field ‘ioctl’ specified in initializer
    /home/backend/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:76:2: warning: initialization from incompatible pointer type
    make[3]: *** [/home/backend/EASYCAP/easycap_dc60.0.9/src/easycap_main.o] Error 1
    make[2]: *** [_module_/home/backend/EASYCAP/easycap_dc60.0.9/src] Error 2
    make[1]: *** [all] Error 2
    make: *** [build] Error 2
    failed: make
    /home/backend/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:76:2: error: unknown field ‘ioctl’ specified in initializer
    /home/backend/EASYCAP/easycap_dc60.0.9/src/easycap_main.c:76:2: warning: initialization from incompatible pointer type
    make[3]: *** [/home/backend/EASYCAP/easycap_dc60.0.9/src/easycap_main.o] Error 1
    make[2]: *** [_module_/home/backend/EASYCAP/easycap_dc60.0.9/src] Error 2
    make[1]: *** [all] Error 2
    make: *** [build] Error 2

    Any help will be greatly appreciated. Thanks.

    latinhawk

  6. #186
    Join Date
    May 2008
    Beans
    83

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    Hi latinhawk,

    With a view to giving some advice I've just installed Ubuntu from

    ubuntu-11.04-beta2-desktop-i386.iso

    on a spare machine. Unfortunately the entire installation is unworkable - the Gnome menus just don't function at all. I guess I'll have to wait for the stable release.

    Mike

  7. #187
    Join Date
    Apr 2011
    Beans
    1

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    @ rmt1947
    and there's noything to do with it? i mean, just wait?
    Last edited by danielvulrich; April 16th, 2011 at 03:30 PM.

  8. #188
    Join Date
    May 2008
    Beans
    83

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    Hi,

    The final release of Ubuntu 11.04 (Natty) is no better than the beta on my test machine, so I installed xubuntu-11.04-desktop-i386.iso instead. This works well enough for me to install the driver.

    On my test machine, version 0.9 of the driver from

    http://sourceforge.net/projects/easycapdc60/

    installs without any problems on Xubuntu 11.04, and mplayer gave perfect sound and vision from a PAL videotape. I did not investigate anything else.

    The version of the driver in Natty's kernel tree under drivers/staging/easycap can also be installed, but it should be realized that this is an old version of the driver which does not have any ALSA capability. Since Natty supports only ALSA and not OSS audio, the driver under drivers/staging/easycap can provide only silent video output on Natty. Anybody who really wishes to activate the drivers/staging/easycap driver in Natty can try the following procedure.

    Open a terminal window (Ctrl-Alt-T for Unity users) and do:

    sudo apt-get install linux-source-2.6.38
    cd /usr/src/linux-source-2.6.38
    sudo tar jxf linux-source-2.6.38.tar.bz2

    Point a browser to

    http://sourceforge.net/projects/easycapdc60/

    and download file easycap_dc60.0.9.tar.gz into directory ~/Downloads. Then continue in the terminal window:

    cd ~
    mkdir EASYCAP
    mv Downloads/easycap_dc60.0.9.tar.gz EASYCAP
    cd EASYCAP
    tar zxf easycap_dc60.0.9.tar.gz
    cd easycap_dc60.0.9/src
    pwd
    # check that you are in directory ~/EASYCAP/easycap_dc60.0.9/src before issuing the next command!
    rm *
    cp -p /usr/src/linux-source-2.6.38/linux-source-2.6.38/drivers/staging/easycap/* .
    cd ..
    sudo ./install.sh
    sudo apt-get install mplayer
    mplayer tv:// -tv driver=v4l2:norm=PAL_BGHIN:width=640:height=480:ou tfmt=uyvy:device=/dev/video0:input=0:fps=25 -hardframedrop -msglevel all=9

    For me, this succeeded in getting the staging driver working on Natty (that is: gave video with no sound).

    Mike

  9. #189
    Join Date
    Dec 2010
    Location
    Pretoria, South Africa
    Beans
    61
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    FYI, mine is working with Maverick 64-bit, video and sound are present using the test4PAL.sh and sound is present with test4NTSC.sh. I only have a PAL video source at the moment, so I haven't been able to verify that video works with NTSC, but I expect it will.

    2.6.35-28-generic #50-Ubuntu SMP x86_64 GNU/Linux
    USBID: 05e1:0408
    http://sourceforge.net/projects/easycapdc60/

    A very special thank you to rmt1947 (Mike Thomas)
    >> Press any key to continue, or any other key to cancel.

  10. #190
    Join Date
    Jun 2011
    Beans
    8

    Re: Linux driver for EasyCap USB2.0 Video Adapter DC60

    I need help... i know it works... but i dont know what i did wrong. im a noob to linux somewhat. Im on Ubuntu 10.04 32bit? i think. some basic terminal knowledge. but i cant seem to get it working. i tried to install by 3 different instructions and nothing works... my best guess is that it isnt me


    This what i got according to the read me intructions


    tobe@Tobe:~/EASYCAP/easycap_dc60.0.9$ sudo ./install.sh
    [sudo] password for tobe:
    kernel directory is /lib/modules/2.6.35-28-generic/build
    snd_card_new() will not be used
    snd_card_create() will be used
    <media/v4l2-device.h> will be included
    struct v4l2_file_operations OK
    unlocked_ioctl required
    v4l2_file_operations.unlocked_ioctl will be used
    -> regenerating top level Makefile
    ---> generating src/Makefile
    ---> generating tools/Makefile
    make clean OK
    make OK
    ERROR: Module snd_usb_audio is in use
    ERROR: snd_usb_audio module cannot be removed

    Ok after trying to install this on my other pc at home (ubuntu 10.04) the install was succesfull and the lsmod | grep easycap.. shows what its supposed to show.

    At work i have a webcam installed, wine installed. crossoever games. could one of these be causing th errors seen above if so how do i disable to try do i have to uninstall the webcam... (which by the way took hours to figure out) so i hope thats not it.

    Please help
    Last edited by htcrwn148; June 25th, 2011 at 05:09 AM. Reason: detail

Page 19 of 25 FirstFirst ... 91718192021 ... LastLast

Tags for this Thread

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
  •