Results 1 to 10 of 10

Thread: easyCAP on Linux (Guide)

Threaded View

  1. #1
    Join Date
    Feb 2010
    Stockport, Manchester, UK
    Ubuntu Studio 10.04 Lucid Lynx

    easyCAP on Linux (Guide)

    Hey all, I've spent the past week of my spare time trying to get my easyCAP DC60+ to work on Linux (Ubuntu 10.04 Lucid Lynx). I know that easyCAP "Doesn't Support Linux" according to the manufacturer, but as always with Linux, there was a way, and I worked it out.

    It is a relatively short process to get it up and running, it just took me a while to figure out.

    You will need to install the drivers for your easyCAP model first, do a quick google search for "easyCAP Linux Drivers" and follow some tutorials on getting the drivers installed. Credit goes to the people that made those guides. After you've installed the drivers, install KMPlayer (Which includes mencoder, which is what we need) you'll find in the Ubuntu software centre or in the synaptic package manager. You'll also need to install ffmpeg which you can find in the same places.

    Once the drivers are installed, create two new empty files, rename on of them to and the other to

    Open up with your favourite open source text editor and paste this into it:
    mencoder tv:// -tv device=/dev/video0:input=1:norm=PAL-60:width=1280: height=720 -vf pp=md -o Recording -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=8000
    Make sure you replace all of the values for whatever you need, here's a rough guideline:

    input=1 (Composite input, input=0 is s-video)

    norm=PAL-60 (Used in europe, change it to norm=NTSC if that's your countries television standard)

    -o Recording (This means it will output the video to a file named Recording in the same folder as where the sh script is located, you could change it to /home/yourusername/Desktop/Recording and so on).

    -tv device=/dev/video0 (This might be different depending which video input your easyCAP is using. Here are some of the common inputs for your easyCAP: /dev/video0 | /dev/video1 | /dev/video2 | /dev/easycap |)

    width=1280: height=720 (These are the recording dimensions, I find these to be the best personally, but just play around with them)

    vcodec=mpeg4 (Obviously the video codec, change it whatever you want or just leave it as mpeg4 as it is a great codec to record with)

    vbitrate=8000 (Video bit rate, there isn't much reason to go above 8000 as the easyCAP quality wont get much better)

    If you wanted to get audio working, you change it a bit to something like this: height=720:forceaudio:adevice=/dev/dsp (Obviously change /dev/dsp to your easyCAP audio device, common ones are /dev/dsp | /dev/dsp1 | /dev/dsp2 | /dev/easysnd |)

    So once you've configured your script, save it. Now right click the script, and enable it to be run as an executable. Now all you need to do to record is double click, and run in terminal. To stop the recording simply close down the terminal. The only problem with the recording is that it is highly interlace (Lines appear on motion), here is a video of my easyCAP before I deinterlaced it:

    It is a major pain, especially when running around in a game. So to deinterlace your recorded video, open up in your favourite text editor and paste in the following:
    ffmpeg -i Recording -target pal-dv -deinterlace -sameq DeInterlaced.avi
    The isn't much configuring to be done, but here is some help understanding it:

    -i Recording (This is the input file, it looks for a file named Recording in the same folder as the script, you could point it to wherever you saved your original recording by doing something like this -i /home/yourusername/Videos/youroriginalrecordingname)

    -sameq DeInterlaced.avi (This is your output file, it will output to the same folder as the script, to a file called DeInterlaced.avi, it will also keep the original dimensions and aspect ratio that you recorded in)

    Now, save and close your text editor. Now right click and mark it to be ran as an executable as well. Now, you just run that script when you want to deinterlace your videos, for much nicer looking gameplay. Here is an example of some deinterlaced gameplay:

    Hope I helped, for future tutorials and guides subscribe to my YouTube channel:

    See you soon

    Attached Files Attached Files
    Last edited by Jake007g; June 1st, 2010 at 08:57 PM.


Posting Permissions

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