Hello, I'm using OpenCV VideoWriter and the write functions in Linux (ubuntu) and also on the Raspberry Pi.
For some reasons, I sometimes encounters error of the encoding library. (which I suppose is ffmpeg (libav / libavcodec)
Here are some errors that I got:
[mpeg4 @ 0x21d9580] get_buffer() failed (-12 (nil))
or
[mpeg4 @ 0xfffb20] Error allocating a picture....
How can I handle (trap) these error in my C++ (or C) program ? (I see this message on the console output)
Does OpenCV knows that this error is happening ?
Any idea what is causing these messages ? (it seems to occurs when I'm recording long video..)
Thanks
ssinfod
↧