   % file there.  
   chdir(fileparts(which('videoReaderWrapper.cpp')));

   % Construct a videoReader object
   vr = videoReader('tests/numbers.uncompressed.avi');

   % Do some processing on the video and display the results
   avgIntensity = [];
   i = 1;
   figure;
   while (next(vr))
     img = getframe(vr);  
     avgIntensity(i) = mean(img(:));
     subplot(121); imshow(img);        title('current frame');
     subplot(122); plot(avgIntensity); title('avg. intensity vs. frame');
     d