[x264-devel] libx264 x264_encoder_encode question

Jason Garrett-Glaser jason at x264.com
Thu Dec 23 19:08:00 CET 2010


On Thu, Dec 23, 2010 at 12:51 PM,  <chris at crazyfool.org> wrote:
> Hi Thanks for quick reply. I should have said im not directly calling the
> x264 encode function, rather I am calling avcodec_encode_video.

This kind of roundaboutness is strongly discouraged, but if you really
really want to do it that way, you can flush the buffers by encoding
null input (AFAIK).  See ffmpeg.c and libavcodec/libx264.c.

Jason


More information about the x264-devel mailing list