This code doesn't work,
I can see the pictures from imshow, put the [login to view URL] file is only 5.5 ko and cannot be readed
I need help to write a video with it. Please help
import cv2
cap = [login to view URL]('[login to view URL]')
fourcc = cv2.VideoWriter_fourcc(*'DIVX')
out = [login to view URL]('[login to view URL]',fourcc, 10, (640,480))
while [login to view URL]():
ret,frame = [login to view URL]()
print(ret)
if ret == 1:
print ("ok")
[login to view URL]('window-name',frame)
[login to view URL](frame)
#[login to view URL]("frame%[login to view URL]" % count, frame)
else:
break
if [login to view URL](10) & 0xFF == ord('q'):
break
[login to view URL]()
[login to view URL]()
[login to view URL]()
I am experienced in Image processing ad Opencv. I have done various projects in it. I have written video previously. So, I can deliver the output quickly.