伊谢尔伦2017-04-18 09:26:05
This problem has been solved:
When I used python to read the video, I found that it was stuck and could not be read. I thought there was a problem with the program. Later I found that some files were missing.
Solution: Find the opencv installation path sources3rdpartyffmpeg folder, such as D:soft setup packPython_setpackopencvsources3rdpartyffmpeg. Change the file name of opencv_ffmpeg.dll in the folder to opencv_ffmpeg2410.dll. If you installed opencv2.4.9, change it to opencv_ffmpeg249.dll. Other versions follow suit. If you have a 64-bit system, modify the opencv_ffmpeg_64.dll file name to opencv_ffmpeg2410_64.dll.