tags:

views:

214

answers:

1

Hello,

I manage to encode frames using libavcodec but after calling

avcodec_encode_video

how do I do to save my encoded frames to an avi file ?

Thanks.

A: 

Check this out:

http://forum.doom9.org/archive/index.php/t-112286.html

You must open file for binary write, write header in it, and simultaniosly put binary frames in it, I think.

Burgos
I tried that, but this seems to work only on few codec like MPEG or H264 but does not work for FLV1 or Huffyuv for instance...
Guillaume