Video recording issue - scrambled images (ofxVideoRecorder?)

Hello there,

I’m using ofxVideoRecorder in a project and I’m having some strange issues. When I start running the application everything is fine and all videos are recorded perfectly but after some time some of the vids are completely scrambled, like that:

20170628-155614-41.mov.zip (1.6 MB)

It does not always happen, sometime it happens after 30 mins sometime after an hour or more.

The program does not use much memory but it’s quite CPU intensive so I’ve tried to make some of the process threaded and the CPU usage went down but the bug did not disappear. I’ve also tried most of the codec available: mjpeg, h264, mpeg4 and even hap but at some point this bug keeps appearing.

I’m quite confused and do not know what else to try, did anyone run into a similar problem? Any suggestions?

Cheers,

Guillaume