Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

why video is not writing opencv

cap = cv2.VideoCapture('vtest.avi')
...
out = cv2.VideoWriter('output.avi',fourcc, 20.0,(int(cap.get(3)),int(cap.get(4))))

make output size same as input size
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #video #writing #opencv
ADD COMMENT
Topic
Name
1+3 =