SIGSEGV while write video with x264 encoder

asked 2017-02-25 15:47:41 -0500

cedricverst gravatar image

Hey

I'm using the OpenCV VideoWriter to create some video's. The good news that it works, but unfortunately isn't very stable. The system crashes randomly with a segmentation fault.

I've debugged with GDB and located the issue with libx264. I was wondering if I could do something about it? Is it caused by writing a wrongly formatted image? I have this issue with IP camera's and USB camera's.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7a7ff450 (LWP 26862)]
0x00b27748 in x264_encoder_encode ()
(gdb) bt
Python Exception <type 'exceptions.ImportError'> No module named gdb.frames: 
#0  0x00b27748 in x264_encoder_encode ()
#1  0x007868fc in ?? ()
edit retag flag offensive close merge delete