IVTV

From MattWiki

IVTV is software for the Hauppauge Capture cards (PVR-150/250/350/500). You can download the software from here.


Here are some of the commands I use.

  • To Display ALL information available about the cards.
/usr/bin/v4l2-ctl --all
  • To enable closed captioning.
/usr/bin/v4l2-ctl -d /dev/video0 --set-fmt-sliced-vbi=cc -c stream_vbi_format=1
  • Default capture settings.
/usr/bin/v4l2-ctl -s ntsc
/usr/bin/v4l2-ctl -v width=720,height=480
  • For a list of switches to be used with v412-ctl try
/usr/bin/v412-ctl

Installing IVTV from Source

Download and Compile IVTV

cd /tmp/svn
#svn co http://ivtvdriver.org/svn/ivtv/trunk ivtv
svn co http://ivtvdriver.org/svn/ivtv/branches/1.0 ivtv
cd ivtv
make
wget http://dl.ivtvdriver.org/ivtv/firmware/firmware.tar.gz
mkdir firmware
tar -xzf firmware.tar.gz -C firmware

And install IVTV

rm -rf /lib/firmware/v4l-cx2341x-enc.fw /etc/firmware/v4l-cx2341x-enc.fw /lib/modules/v4l-cx2341x-enc.fw
rm -rf /lib/firmware/v4l-cx2341x-dec.fw /etc/firmware/v4l-cx2341x-dec.fw /lib/modules/v4l-cx2341x-dec.fw
rm -rf /lib/firmware/v4l-cx25840.fw /etc/firmware/v4l-cx25840.fw /lib/modules/v4l-cx25840.fw

cp firmware/v4l-cx2341x-enc.fw /lib/firmware/
cp firmware/v4l-cx2341x-enc.fw /etc/firmware/
cp firmware/v4l-cx2341x-enc.fw /lib/modules/
cp firmware/v4l-cx2341x-dec.fw /lib/firmware/
cp firmware/v4l-cx2341x-dec.fw /etc/firmware/
cp firmware/v4l-cx2341x-dec.fw /lib/modules/
cp firmware/v4l-cx25840.fw /lib/firmware/
cp firmware/v4l-cx25840.fw /etc/firmware/
cp firmware/v4l-cx25840.fw /lib/modules/
make install
/sbin/service ivtv start
  • The above copied firmware files are for my PVR-350, PVR-500, & PVR-150s

For More info on installing from SVN look here or here.

Updating IVTV's Source

cd /tmp/svn/ivtv
svn update
make dist clean
make
make install

rm -rf firmware
rm -rf firmware.tar.gz
wget http://dl.ivtvdriver.org/ivtv/firmware/firmware.tar.gz
mkdir firmware
tar -xzf firmware.tar.gz -C firmware
cd firmware
rm -rf /lib/firmware/v4l-cx2341x-enc.fw /etc/firmware/v4l-cx2341x-enc.fw /lib/modules/v4l-cx2341x-enc.fw
rm -rf /lib/firmware/v4l-cx2341x-dec.fw /etc/firmware/v4l-cx2341x-dec.fw /lib/modules/v4l-cx2341x-dec.fw
rm -rf /lib/firmware/v4l-cx25840.fw /etc/firmware/v4l-cx25840.fw /lib/modules/v4l-cx25840.fw
cp v4l-cx2341x-enc.fw /lib/firmware/
cp v4l-cx2341x-enc.fw /etc/firmware/
cp v4l-cx2341x-enc.fw /lib/modules/
cp v4l-cx2341x-dec.fw /lib/firmware/
cp v4l-cx2341x-dec.fw /etc/firmware/
cp v4l-cx2341x-dec.fw /lib/modules/
cp v4l-cx25840.fw /lib/firmware/
cp v4l-cx25840.fw /etc/firmware/
cp v4l-cx25840.fw /lib/modules/

Other Notes

For installing the PVR-150 with IR Blaster see here or here.