[x264-devel] Sample code using libx264

Jason Garrett-Glaser jason at x264.com
Tue Sep 11 02:07:08 CEST 2012


On Mon, Sep 10, 2012 at 4:37 PM, Denio Mariz <denio at dynavideo.com.br> wrote:
> Hi.
>
> I am a relativelly experienced programmer, but new with libx264.
> Where can I find a small, simple but completely funcional sample code
> that uses libx264? For instance, something as simple as opening a
> video from a input file and transcoding it into a output file?
>
> I found some sample codes, but some use older versions of libx264 and
> they even compile.
> I appreciate any hint.

x264.c (the CLI) is a fully functional, rather fancy example;
libavcodec/libx264.c is a simpler example that's part of ffmpeg/libav.

Jason


More information about the x264-devel mailing list