[Libav-user] avcodec_encode_video2 failed (returned -12 as return value)

Nicolas George george at nsup.org
Thu Nov 21 19:36:08 CET 2013


Le primidi 1er frimaire, an CCXXII, Mark Ma a écrit :
> I am using the latest release version for windows.
> After calling av_strerror(), I found the error buffer string is
> "Error number -12 occurred".. (I have set the error buffer size to

This version seems rotten, as it returns an error code it is not able to
decode afterwards.

On Linux, -12 means ENOMEM. You could try and see if the memory use raises
before encoding fails.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20131121/3a4b4cb2/attachment.asc>


More information about the Libav-user mailing list