This code is partially based in the code written and released under GPL by 
Nick Andrew <nick@nick-andrew.net>, for the "video-capture" program. 
You can find the original sources of that program in the "orig" folder 
in these sources.
