First time here? Check out the FAQ!
answered 2013-12-12 02:27:37 -0600
your codes are correct. the only reason is you did not put the dll file of opencv_ffmpeg240.dll in your project.