Installing Computer-Modules’ VidPort SD/HD™ on Debian Lenny
So last friday I received 2 VidPort SD/HD cards in the mail. They come at a very reasonable price compared to some other HD-SDI input/output cards out there!. Heres a quick ‘howto’ to get this card working on linux (debian 5/lenny).
Get your linux headers and build tools
apt-get install build-essential linux-headers-$(uname -r)
Download, Compile, and load card modules
wget http://www.computermodules.com/drivers/master-2.7.1.tar.gz tar -xvvf master-2.7.1.tar.gz cd master-2.7.1 make make install modprobe hdsdim
If you look at your dmesg, you should see the card loaded.
dmesg [ 393.979657] PCI: Setting latency timer of device 0000:02:00.0 to 64 [ 393.979657] hdsdim: VidPort SD/HD I detected, firmware version 1.0 (0x0100) [ 393.979657] hdsdim: registered board 0 [ 393.979657] sdivideo: registered receiver 0 [ 393.979657] sdiaudio: registered receiver 0
Now, if you wish to use it, load a transcoding program like ffmpeg
./ffmpeg \ -f rawvideo -s 1280x720 -pix_fmt uyvy422 -r 60 -i /dev/sdivideorx0 \ -f s16le -ar 48000 -ac 2 -i /dev/sdiaudiorx0 \
(ofcourse you still have to specify output..)
First Blog Ever
Decided to create a blog, why not
I’ll post anything I find usefull on here! (Mostly technical). For non-techi thing, there is facebook