Package: python-opencv Version: 2.1.0-7 Severity: important After upgrading opencv (libraries and python wrapper to 2.1.0-7), I am no longer able to read videos: the images extracted are just black. The capture from a camera is still working but the file capture has stopped working. The file I am trying to read is a simple AVI movie with no compression and no sound. The python script attached is used to demonstrated the problem.
To make it work again I have downgraded the following packages using the 2.1.0-6 version found on snapshot.debian.org: - libcv2.1 - libcvaux2.1 - libhighgui2.1 - python-opencv Antoine -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-opencv depends on: ii libatlas3gf-base [liblapack.so.3gf] 3.8.3-29 ii libc6 2.13-21 ii libcv2.1 2.1.0-6 ii libcvaux2.1 2.1.0-6 ii libgcc1 1:4.6.1-4 ii libhighgui2.1 2.1.0-6 ii liblapack3gf [liblapack.so.3gf] 3.3.1-1 ii libpython2.6 2.6.7-3 ii libstdc++6 4.6.1-4 ii python 2.6.7-3 ii python-support 1.0.14 ii zlib1g 1:1.2.3.4.dfsg-3 python-opencv recommends no packages. python-opencv suggests no packages. -- no debconf information
import sys import opencv.cv as cv import opencv.highgui as highgui highgui.cvNamedWindow("w1", highgui.CV_WINDOW_AUTOSIZE) #capture = highgui.cvCreateCameraCapture(0) capture = highgui.cvCreateFileCapture(sys.argv[1]) while True: frame = highgui.cvQueryFrame(capture) highgui.cvShowImage("w1", frame) c = highgui.cvWaitKey(10)