Saturday, July 20, 2013

Hauppauge HD PVR and Linux

Fun thing to do is record yourself playing a game.

http://wiki.linuxmce.org/index.php/Hauppauge_HD_PVR

Step 1:

sudo apt-get install v4l-utils


Step 2:

copy this into a file called record:

##########    SNIP  #####################################################

#!/bin/sh

/usr/bin/v4l2-ctl --verbose -d /dev/video0 --set-ctrl brightness=0x80 --set-ctrl contrast=0x40 --set-ctrl hue=0xf --set-ctrl saturation=0x40 --set-ctrl sharpness=0x80

cat /dev/video0 > output.ts


########### FIN #######################################################


Step 3:
chmod 755 record


Step 4:

./record


Your device should light up as it is recording.



No comments:

Post a Comment