|
|
Page last modified:
December 15, 2007
Computers and multimedia have made a huge impact in the world at large, and also in the oculomotor laboratory. It is now possible to use readily available equipment to record video eye movements and public domain "free" programs to create movies out of your recordings.
Herein I have outlined how to do this using free programs. Unfortunately, there seems to be no commercial program that can do this anyway.
![]() |
![]() |
| Micromedical Technology monocular eye movement recording apparatus (Visual Eyes) | Location of seondary camera -- a Panasonic security type camera. |
Video Input: I use a Micromedical Technology "visual-eyes" system. This is a single camera set in a Scuba goggle. The other eye can be allowed to view or not, as the examiner desires. The video output signal goes to a AD PIP (picture-in-picture) processor (see below). This box combines another camera that views the room, so that there is an inset on the eye of the examiner and examinee. This makes the entire editing process much easier.

The output of the PIP processor goes into a Panasonic DVR recorder (see above). Then the output of the DVR goes to a very large TV monitor.
The Panasonic DVR is a very handy device that writes a new title to the DVD for each patient. I have also tried a Sony brand DVR, but I prefer the Panasonic. The Sony is much touchier with what type of video it will accept, and strangely enough, writes files that cannot be copied (easily). I guess Sony, in their zeal to prevent pirating, decided that their customers should not even be able to copy their own content ! Recall, this is the company that put a rootkit on their customer's music CD's !
Panasonic's DVR works fine and you don't have to struggle to read your own material. I bought the DVR that has a 100gig hard disk, for about $400 at Best Buy. However, I never use the hard disk, and a cheaper model would likely do as well.
Anyway, typically each patient consumes about 5 minutes of the DVD. Usually one can get by with one DVD/day, but on very busy days, sometimes it takes two. This costs you about $1.00 in media costs. I use Ritek 8X DVD+ disks.
At the start of each patient, I scan the camera over the patient's demographic information. This is to allow me to match up patients with video's later.
A days worth of patients might thus include about 8 to 12 titles (patients). At the end of each day, I "finalize" the DVD, write the date on it with a sharpie, and stick it in a drawer. Finalization takes about 5 minutes, but you have to go through a very strange menu process to do it.
At this point, you will have a DVD that you can play, but it will contain a lot of junk -- most recordings won't have anything worth preserving for posterity.
Take the DVD, combine it with your schedule, match up the title numbers to the patient names. You can use any DVD player to do this -- a hardware one or a software one. I use Nero Showtime (but it is a bit peculiar). Others work as well so there is no need to buy this program. Close your DVD viewer.
Next, you need to extract the title(s) that you want. This is much harder than it should be, and I believe that the reason for this is that the movie industry is attempting to discourage piracy. Applications like this are innocent bystanders.
Anyway, the only way to do this that I have been able to get to work is to use DVD-Decrypter, which is an awesome free piece of software which can be found on the net. Most people use it to copy CSS encoded DVD's -- but we don't need to do this because our Panasonic DVD's are not CSS encoded. I am not sure what Sony is doing -- but you should stay away from them anyway given their aggressive approach. DVD decrypter will decrypt Sony DVR written DVD's anyway if you are stuck with it or something like it.
Run DVD-Decrypter in IFO mode (which is the default). Choose the title (PGC on the menu of things on the right) that you want to extract, and let DVD-Decryptor do it's thing. This will take several minutes for about 5 minutes of video, perhaps faster if your computer is better than mine.
This will get you a directory, which will have a "VOB" file in it. This file contains your video "title", basically a chapter from the DVD that you started with, which contains one patient.
What you want out of this whole process is an avi or mov file, edited so that it is small enough to be played in your powerpoint presentation or web or whatever. A VOB file is not what you want. So you need an application that will read and convert VOB files.
Again, commercial programs seem not to do this very well if at all. Adobe Premiere Elements will read a VOB, but doesn't do much of anything useful to it (other than clip). Nero Vision-express 3.0 will read VOB files but can't edit them either. Ulead Movie-Studio 4 doesn't work either.
At this writing, this method works pretty well:
You will need some additional freeware video editing programs:
dgmpgdec145 and avisynth together read the VOB files produced by dvd decripter, and allows virtualdubmod to treat it like an avi file. You will have to read the documentation to use dgmpgdec -- these are not intuitive programs. In essence, you install dgmpgdec145, and then run dgindex. This produces a "d2v" file, which is then used by AVIsynth, and then passed to virtualdub.
There has to be a small text file, that ends with avs, as in the following example:
LoadPlugin("C:\downloads\video\dgmpgdec145\DGDecode.dll") # change directory depending
MPEG2Source("pc bppv.d2v") # serves AVI frames from MPEG source # whatever you named it
ShowSMPTE(x=600, text_color=$ffffff, size=32) # elapsed time stamp
SelectEvery(2,1) # decimate to 15 fps # reduce frame rate -- don't do this for saccadic nystagmus
Subtitle("Posterior canal BPPV", text_color=$FFFFFF, size=32)
Subtitle("Copyright Timothy C. Hain, M.D. 2006",text_color=$FFFFFF, size=28, align=1)
ReduceBy2 # pretty small -- don't do this if you need high resolution
Virtualdub allows you to cut what you want and save it as an avi file.
At this point, you have an avi file that you can edit using standard commercial tools (like Adobe Premiere). I recommend this over using more freeware, because of the time it takes to master these arcane things.
Dvddecrypter was bought by Macrovision Europe who announced that it's distribution is illegal. (boo). Copies can be easily located on the internet though, and as this use is entirely legal, it is difficult to see how anyone would object.
| © Copyright May 11, 2008 , Timothy C. Hain, M.D. All rights reserved. Last saved on May 11, 2008 |