[x264-devel] Encoding frames with libavcodec

Jason Garrett-Glaser jason at x264.com
Mon Dec 10 15:49:11 CET 2012


On Mon, Dec 10, 2012 at 5:36 AM, Dolevo Jay <cmst at live.com> wrote:
> Hello Jason,
>
> As you remember, in my project, I am encoding the captured images from the
> computer screen frame by frame using x264. Everything works fine for now and
> I am trying to optimize the encoder if possible. Here, I have a small
> question:
>
> The main steps of the encoding process are:
>
> 1. Set the parameters by x264_param_default_preset(&param, "ultrafast",
> "zerolatency");
> 2. pic_in.i_type = X264_TYPE_AUTO;
> 3. x264_encoder_encode
>
> I was wondering if I should have specified the frame type for each frame
> instead of letting the encoder decides for me?

No, you should leave it at the defaults unless you have a good reason not to.

Jason


More information about the x264-devel mailing list