Read frame from .flv video and write it to .avi video, doesn't work, need help

asked 2014-06-27 07:19:25 -0500

Shiloh gravatar image

updated 2014-07-01 11:40:58 -0500

Please help me... I'm using python2.7 in windows 7, my code is:

    import cv2

    vidT    =cv2.VideoCapture('c:\Users\Shiloh\Downloads\MYOS.flv')

    uk      =(int(vidT.get(,int(vidT.get(
    vidC =cv2.VideoWriter('c:\Output.avi','I','4','2','0'),ttlframe,uk)

    while success:

no result..

I'm searching in google, and try to copy all file inside c:\opencv\3rdparty\ffmpeg to c:\python, and it works.. I have video result output.avi, but the next problem is the size is 0 byte..

edit retag flag offensive close merge delete