[libav-api] Segmentation Faults - avcodec_encode_video Please Help

Ronald S. Bultje rsbultje at gmail.com
Tue May 10 19:56:11 CEST 2011


Hi,

On Tue, May 10, 2011 at 9:42 AM, Aditya Game Programmer
<adi235 at gmail.com> wrote:
> I am writing a simple C program to accept video input decode it encode it
> into
> flv and then save output video file. I have looked at danger's tutorials,
> output-example.c,api-example.c and such. But i seem to be missing something
> very
> essential. And always end up encountering , segmentation faults

So what is the backtrace? I see you hardcoding very elementary things
like video width/height, which may be wrong for this input file.

Ronald


More information about the libav-api mailing list