[x264-devel] Encoding frames with libavcodec

Jason Garrett-Glaser jason at x264.com
Wed Nov 28 21:10:59 CET 2012


On Wed, Nov 28, 2012 at 7:01 AM, Dolevo Jay <cmst at live.com> wrote:
> Hi Jason,
>
> I am a bit confused. Let's say I have 5 raw frames in the buffer and I
> encode them by calling x264_encoder_encode.

You can only encode one frame at a time.

> The i_nals is 1, I guess it is
> showing how many nal's the encoder produced. Then I can reach every NAL unit
> buy nals[0]. Is this right? Actually I will send pointer of nals directly to
> the decoder side and that's it. Is this also right?

That should be okay, yes.

Jason


More information about the x264-devel mailing list