User Tools

Site Tools


USB-Live2 in Linux

The Hauppauge USB-Live2 analog video capture USB device is supported in Linux since kernel 3.14 (approximately).

After connecting the USB-Live2 to the USB port, run the command 'dmesg' in the terminal, to see if the device is supported and the required firmware file was found.

You should see something like this:

[  177.764040] usb 1-2: new high-speed USB device number 3 using ehci-pci
[  177.898688] usb 1-2: New USB device found, idVendor=2040, idProduct=c200
[  177.898692] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  177.898695] usb 1-2: Product: Hauppauge Device
[  177.898697] usb 1-2: Manufacturer: Hauppauge
[  177.898699] usb 1-2: SerialNumber: 0013564750
[  177.953353] media: Linux media interface: v0.10
[  177.989357] Linux video capture interface: v2.00
[  178.115385] cx231xx 1-2:1.1: New device Hauppauge Hauppauge Device @ 480 Mbps (2040:c200) with 6 interfaces
[  178.116706] cx231xx 1-2:1.1: can't change interface 3 alt no. to 3: Max. Pkt size = 0
[  178.116714] cx231xx 1-2:1.1: Identified as Hauppauge USB Live 2 (card=9)
[  178.117220] i2c i2c-4: Added multiplexed i2c bus 6
[  178.117312] i2c i2c-4: Added multiplexed i2c bus 7
[  178.229692] cx25840 3-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[  180.167194] cx25840 3-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[  180.201318] cx231xx 1-2:1.1: v4l2 driver version 0.0.3
[  180.294056] cx231xx 1-2:1.1: Registered video device video0 [v4l2]
[  180.294116] cx231xx 1-2:1.1: Registered VBI device vbi0
[  180.294121] cx231xx 1-2:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[  180.294125] cx231xx 1-2:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[  180.294128] cx231xx 1-2:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2
[  180.294192] usbcore: registered new interface driver cx231xx
[  180.328111] cx231xx 1-2:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[  180.328116] cx231xx 1-2:1.1: Cx231xx Audio Extension initialized

If the firmware file was not found, enter these commands in the terminal to download the file to the /lib/firmware directory:

cd /lib/firmware
sudo wget

Then disconnect and reconnect the USB-Live2 device, and run dmesg again to check.

Using VLC Media Player to preview live video, take snapshots or record video

Run VLC and go to Tools > Preferences > Video.

In the 'Video' frame, make sure 'Force Aspect Ratio' is set to 4:3.

In the 'Video snapshots' frame, make sure a directory is selected, where snapshots will be saved. Click 'Save' to close the preferences dialog.

Live video Preview

In the VLC main window go to 'Media' > 'Open Capture Device…'.

Select the tab “Capture Device”.

Make sure these are set:

Capture Mode: Video camera

Video device name: /dev/video0
Audio device name: hw:1,0

To select the video input that is used (Composite Video or S-Video input) you can click on the button “Advanced options…” and set the number on the 'Input' option, and click OK.

Click the “Play” button.

This should give you live preview of the connected video source.

Take snapshots in VLC

To take a snapshot from live video, in the 'Video' menu select 'Take Snapshot'.

Record video with VLC

In the VLC main window go to 'Media' > 'Convert / Save …'.

Select the tab 'Capture Device'.

Use the same settings as in 'Live Video Preview' above.

Click the button 'Convert / Save'.

In the following dialog, select “Video - H.264 + MP3 (MP4)” as profile and specify a “Destination file”. You may also check the option “Display the output” and “Deinterlace”.

Click on the 'Start' button to start recording.