Quoting [email protected]:

Hi,

does anyone already has experienced this problem? On the recorded video of the vga2usb device we see every recording shifted to the right by some 50 pixels or so (so the left border is filled up with black color).

We use Ubuntu 10.10 and MH 1.2; the Epiphan homepage says something about that problem, but where do I fix this on Ubuntu?

Any input appreciated, regards, Andreas

Hi!

I had the same problem, and spent last weekend finding a cure for it.

I documented this in the opencast wiki, but it's still in my private space, as I didn't know where to put it etc...

Here's a few lines that will get you the v2u -utility from the Epihan SDK compiled.

I used Ubuntu 10.4.3, as it's an LTS edition.
(We want Matterhorn to be long-time, right?)

----%<--%<--%<-----


wget http://www.epiphan.com/products/epiphan_sdk-3.26.1.0021.zip
unzip epiphan_sdk-3.26.1.0021.zip
cd epiphan_sdk-3.26.1.0021
cd epiphan/samples/v2u
sudo aptitude install libusb-dev zlib1g-dev
make
sudo chmod 777 /dev/vga2usb*
cd build/release/
./v2u --list

----%<--%<--%<-----

You should get something like: v2u: 1 frame grabber detected:  D4U24888

Now that you have v2u installed, you can change all the timings (try changing a vga-mode line, it takes some time to get them right, or you can cheat and connect a windows laptop and check the timings from it's debug info, like so: http://mok.fi/mok/VGA-mode-Win7.jpg and just copy them to the linux init scripts. The settings are cleared every time you reload the kernel module).

I was lazy and just copied the v2u file to /usr/local/bin.

Also very useful is the -a gain=100 (or so) line, as we had problem with the VGA capture being always washed-out, or underexposed.

Remember to include the "sudo chmod 777 /dev/vga2usb*" -line to /opt/matterhorn/capture_agent/epiphan_driver/Makefile, otherwise your normal matterhorn user won't be able to access the device.

v2u can also grab a quick .jpg from the source that helps in debugging issues (mount some directory from the Capture Agent to your desktop via SSHFS, and start testing).

You should also have a look at "modinfo vga2usb.ko" as there are a few options that also affect this behaviour.

Hope this helps!

Any additional tips and comments are very welcome!


Tero K.
Network Systems Administrator (padawan)
University of Helsinki, IT Dept, AV services.
-------
Tero Kärkkäinen
[email protected]
+358-50-5822365

_______________________________________________
Matterhorn-users mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn-users

Reply via email to