Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video recording issue - scrambled images #56

Open
gu-ma opened this issue Aug 14, 2017 · 4 comments
Open

Video recording issue - scrambled images #56

gu-ma opened this issue Aug 14, 2017 · 4 comments

Comments

@gu-ma
Copy link

gu-ma commented Aug 14, 2017

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?

@stephanschulz
Copy link

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

@gu-ma
Copy link
Author

gu-ma commented Feb 4, 2021

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.

@stephanschulz
Copy link

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

@gu-ma
Copy link
Author

gu-ma commented Feb 5, 2021

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 🤷‍♂️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants