2017-07-10 23:59:03 -0600 | received badge | ● Famous Question (source) |
2015-07-19 22:39:25 -0600 | received badge | ● Notable Question (source) |
2014-11-10 08:13:31 -0600 | received badge | ● Popular Question (source) |
2013-12-21 07:30:04 -0600 | received badge | ● Student (source) |
2013-12-21 04:37:47 -0600 | received badge | ● Editor (source) |
2013-12-20 11:46:57 -0600 | asked a question | Unable to open some avi files in OpenCV-Python -- Why? I installed OpenCV vers. 2.4.7.2 on a Windows Vista (32-bit) platform, with no reported errors. Then the following file: was moved to: I have been testing openCV with both images and video (*.avi) files. I have no problems (yet) when working with images. However, I have found a problem when trying to open avi files. First, an example that works fine: However, if I use Note, I have tried several other avi files (test avi's downloaded from the web) and most of them will not open. What can be done to open any "good" avi file? By good avi file I mean one that plays with Windows media player and VLC 2.1.2. I have two dll's in C:\opencv\sources\3rdparty\ffmpeg, opencv_ffmpeg.dll and opencv_ffmpeg_64.dll and I copied both of them to C:\python27 --- this did not solve the problem. Here is some information on the avi that works ok (julius.avi) and the one that does not open (toy_plane_liftoff.avi). For julius.avi: Codec: Microsoft Video 1 (CRAM), Resolution: 320x249, Frame rate: 15, Decoded format: 15 bits RGB. For toy_plane_liftoff.avi: Codec: Motion JPEG Video (MJPG), Resolution: 640x480, Frame rate: 25, Decoded format: Planar 4:2:2 YUV full scale. |