Ask Your Question

arefenayat's profile - activity

2015-04-12 23:57:07 -0600 asked a question save recorded video wmv

is possible to save recorded video from webcam as wmv format ?(in python) here is python code

camera=cv2.VideoCapture(int(c))
video  = cv2.VideoWriter()
fourcc=cv2.cv.CV_FOURCC(*'WMV3')
video.open('video.wmv', fourcc, fps, (int(camera.get(3)), int(camera.get(4))))
while True:
f,img = camera.read()
video.write(img)
video.release()

when i've run this code my program work but not any video save .

2015-04-12 13:51:00 -0600 received badge  Editor (source)
2015-04-12 13:20:07 -0600 asked a question xvid dll's

i've write python project and using opencv to capture video from webcam and save it as avi with XVID codec xvid codec dll files are :xvidvfw.dll and xvidcore.dll which are in system32 how i can change the path of dll files in opencv ? i need to load that from beside my program