Re: [Libav-user] avcodec_encode_video returns 0 or -ve value

2012-04-20 Thread Việt Hùng Nguyễn
Post your code of setting encoder and encoding loop, so every one can know how it is missing On Apr 20, 2012 3:10 AM, Manya Chauhan manya1...@ymail.com wrote: Hello Everyone, I want to encode series of uiimages which are being captured live by the camera. While encoding the images

[Libav-user] avcodec_encode_video returns 0 or -ve value

2012-04-19 Thread Manya Chauhan
Hello Everyone,  I  want to encode series of uiimages which are being captured live by the camera. While encoding the images avcodec_encode_video is returning 0 or -ve value. I am not getting what is the problem. I might be missing setting some parameters of avcodec context or avframe. I want