[x264-devel] Simple introductory x264 "C" usage guide

Jason Garrett-Glaser darkshikari at gmail.com
Wed Nov 4 23:14:58 CET 2009


On Wed, Nov 4, 2009 at 2:13 PM, Fing Cmo <fingcmo at gmail.com> wrote:
> All,
>
> I have taken a look on the x264 CLI usage and I believe
> I have a rough idea of its use and parameter implications.
>
> I, however, have had a hard time finding a simple introductory
> guide on how to use the x264 library in a simple "C" main().
>
> A simple main() that do:
>
> 1--- Open a raw (name.yuv) YUV file.
> 2--- Encode it to H.264 CIF using basic profile.
> 3--- Output the encoded file to (new_name.264)
>
> Then I would manually play the (new_name.264) file with ffmpeg.
>
> Could you please guide me to where I can get this basic information?
>
> Thanks,
> Ad.

x264.h has basic API documentation.  x264.c provides an example
interface; look at how it calls the relevant functions for example
usage.

Dark Shikari


More information about the x264-devel mailing list