[x264-devel] Codec usage with image sequence

Zhu, Yan zhuyan at jointwave.com
Wed Feb 18 14:52:46 CET 2009


In x264_param_default(), there's a line:

    param->i_csp           = X264_CSP_I420;

So I think the default raw YUV format using by x264 is I420, not YV12.

zhy

----- Original Message ----- 
From: "Jason Garrett-Glaser" <darkshikari at gmail.com>
To: "Mailing list for x264 developers" <x264-devel at videolan.org>
Sent: Wednesday, February 18, 2009 9:18 PM
Subject: Re: [x264-devel] Codec usage with image sequence


> 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
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel
>


More information about the x264-devel mailing list