[x264-devel] Codec usage with image sequence

Jason Garrett-Glaser darkshikari at gmail.com
Wed Feb 18 14:18:57 CET 2009


On Wed, Feb 18, 2009 at 4:57 AM, Stephan Menzel <stephan.menzel at gmx.eu> wrote:
> Hi,
>
> I am about to do some experiments with the x264 codec. To get an idea about how it works I refer to the x264 app source.
>
> In my use case I intend to read raw images from a mmapped region. So I have raw image data of any kind somewhere and feed it into x264_encoder_encode(). I understand the first steps are opening the encoder context and setting parameters. After that x264_picture_alloc() and friends but from here I'm kinda stuck because the x264 app only reads yuv4mpeg2 and perhaps avi streams. I will have to deal with a sequence of raw images though. They can be converted and all but how is a good way to feed them into the picture_t structure? What does the codec expect there?

Raw YV12.

Dark Shikari


More information about the x264-devel mailing list