VP8 output with VideoWriter in python doesn't work

Bug #1206876 reported by Garret Raziel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
opencv (Ubuntu)
New
Undecided
Unassigned

Bug Description

I made simple python program that uses VideoWriter and VP8 codec for output into webm format, but it doesn't create anything. If I try different format ("THEO" and *.ogv for example), it works. Try this simple python program:

import cv2
from numpy import *

a = zeros((768, 1024, 3), dtype=uint8)
b = ones((768, 1024, 3), dtype=uint8)
vw = cv2.VideoWriter("out.webm", cv2.cv.CV_FOURCC(*"VP80"), 24, (1024, 768), 1)

for x in xrange(256):
    vw.write(a)
    a = a + b

It finishes without error, but out.webm file doesn't exist.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.