Ask Your Question

VideoWriter_GPU H.264 tearing

asked 2015-03-31 12:45:54 -0600

antz24 gravatar image


I was wondering if anyone has experienced any video tearing when using the VideoWriter_GPU ? For some odd reason, when i play the avi video back after recording there are some anomalies in the video which look like tearing. I am using version 2.4.8 with FFMPEG

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-03-17 04:31:46 -0600

I got video tearing when using videowriter (not with cuda support) because i was using imshow before the recording a mat-object. There was no tearing in the window, but there was in the saved file. When I reversed the process ,first recording then imshow, there was no tearing in the file. (there was however tearing in imshow, but who cares)

don't know why...

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2015-03-31 12:45:54 -0600

Seen: 258 times

Last updated: Mar 31 '15