Stk1160 based USB 2.0 video and audio capture devices
This article covers all the devices which are based on the STK1160 chip
Many but not all of these devices are branded as Easycap.
Althought this device is sold with different names and labels, in many forums and blogs this device is called "EasyCAP DC60".
How to identify your device
When lsusb reports the following output you have an STK1160 based video capture card:
Bus 001 Device 002: ID 05e1:0408 Syntek Semiconductor Co., Ltd STK1160 Video Capture Device
On the board of this USB 2.0 video capture device there is on the front side a green LED, the STK1160 USB Bridge and a SAA7113 compatible video processing chip (silan sc8113) and on the back side a AC97 audio chip (this chip is missing on the 8000 Hz audio models of this device).
The easycap driver is part of the current kernel (since 2.6.38) and supports all the features of the STK1160 based devices but has some limitations (framedropping, stability, sound issues).
The stk1160 driver is the successor of the easycap driver. It supports video capturing and audio capturing via ALSA. This driver doesn't suffer from the limitations of the easycap driver but is still under development. It is intended that the stk1160 module will replace the easycap module in one of the next kernel releases.
These known STK1160 based models of the video capture device are supported by the above drivers. All models do have the same device USB ID 05e1:0408.
- Model 001 with input cables labelled CVBS, S-VIDEO, AUDIO(L), AUDIO(R) and 48000 Hz audio (AC'97 audio)
- Model 002 with 4 yellow input cables labelled 1, 2, 3, 4 and an white unlabelled microphone audio (8000 Hz)
- Model 001m with input cables labelled CVBS, S-VIDEO, AUDIO(L), AUDIO(R) and 8000 Hz audio (microphone audio)
(Obviously this device has the board of Model 002 but the cables of Model 001)
Identify the audiotype of your device
The following shell command reports the audio frequency of your STK1160 based device (48000 = Model 001; 8000 = Model 001m or Model 002).
lsusb -v -d 05e1:0408 | grep tSamFreq | sed -e "s,^.* ,,"
From the two or four video cables on the device only one (!) can be used at the same time. If you have more than one camera, it is possible to switch in the capturing program from one channel to the other.
The driver for the STK1160 device creates a /dev/videoN node and a ALSA soundcard, The different video-inputs of the device can be accessed by their inputnumber.
In the viewing/ capturing program (e.g. mplayer) the videodevice, the input number of the cable where the source is plugged in, the TV norm of the videosource and the ALSA sounddevice must be specified.
Example for mplayer
Assumed that your STK1160 device is the second videodevice (the first is your webcam) and the second soundcard on your system, and that on the first CVBS input a PAL camera is plugged in and sound also comes from the STK1160 device, the mplayer command for viewing would look like this:
mplayer tv:// -tv driver=v4l2:norm=PAL:width=720:height=576:outfmt=uyvy:device=/dev/video1:input=0:\ alsa:amode=1:forcechan=2:audiorate=48000:adevice=plughw.1,0:forceaudio:immediatemode=0 -ao sdl
Short linux driver history
In early 2010 Mike Thomas started to develop a driver for the stk1160 based video capture device which is sold as EasyCAP DC60. Since the driver (version 0.9) has been added to the staging directory of the Linux kernel in November 2011 Mike Thomas stopped his development and support for the easycapdriver.
Some people added changes in order to clean up the sourcecode. These changes didn't hardly affect the limitations (framedropping, stability) of the driver.
At the middle of 2012 Ezequiel Garcia decided to rework the easycapdriver. He changed the drivers name to "stk1160".
In one of the next kernel releases (3.6/7) the stk1160 driver will come into mainlaine and then replace the old easycapdriver.