ofxVideoRecorder icon indicating copy to clipboard operation
ofxVideoRecorder copied to clipboard

Video recording issue - scrambled images

Open gu-ma opened this issue 8 years ago • 4 comments

Not sure if this is a issue related to ofxVideoRecorder or to ffmpeg itself.

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:

image

It does not always happen and 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. I've tried to make some of the processes 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 reappearing.

Did anyone run into a similar problem? Any suggestions?

gu-ma avatar Aug 14 '17 22:08 gu-ma

I see the same problem. have you ever figured out why this happens?

stephanschulz avatar Feb 04 '21 15:02 stephanschulz

Hum, that was a long time ago, I don't really remember... I think the problem came from the video codec I tried different ones at the end. Some were working better than others.

gu-ma avatar Feb 04 '21 17:02 gu-ma

thanks for the reply. for me to it works 90% of the time. after rebooting the computer it's ok again.

I am using: VideoCodec: libx264 VideoBitrate: 2000k PixelFormat: rgb24 OutputPixelFormat: yuv420p

stephanschulz avatar Feb 04 '21 17:02 stephanschulz

Yes, It was also working fine at the beginning and getting bad after some time.

I was also fiddling with some of those settings... Can't recall which ones ended up working the best though 🤷‍♂️

gu-ma avatar Feb 05 '21 20:02 gu-ma