First time here? Check out the FAQ!
answered 2013-04-10 09:46:51 -0600
Did you use the tutorial on this link to open a Video?
http://docs.opencv.org/doc/tutorials/highgui/video-input-psnr-ssim/video-input-psnr-ssim.html#videoinputpsnrmssim
Furthermore, be sure that all the codecs are somehow installed on your system. You could try to manually download and install ffmpeg here
http://ffmpeg.zeranoe.com/builds/