[Libav-user] avcodec_encode_video2 failed (returned -12 as return value)
Mark Ma
gbstack08 at gmail.com
Thu Nov 21 11:37:16 CET 2013
Hi everyone,
Now I'm getting yuv frames from a video monitor every second and call
avcodec_encode_video2() to convert them to mpeg frame. At first
avcodec_encode_video2() works well, but after about 1 minute, it keeps
returning -12 as return value. But what's the meaning of -12?
Any suggestion is appreciated.
Thanks,
More information about the Libav-user
mailing list