Hi,
On Tue, Sep 30, 2014 at 4:34 AM, Miroslav Andel
<
mirosla...@gmail.com> wrote:
> Hi, I'm coding my own encoder and decoder using libavcodec and OpenGL. For
> encoding I'm using the following where:
>
> [...]
>
> cContext->b_frame_strategy = 1;
> cContext->max_b_frames = 3;
vp9 doesn't support b-frames.
> cContext->gop_size = 30; // intra frame interval
These keyframes will be large and slow to code. If you make this
larger you should get some gain. Note for raw frames of this size
disk/memory bandwidth will likely come into play too.
> [...]
> cContext->i_quant_factor = 0.769f;
> cContext->b_quant_factor = 1.4f;
> cContext->max_qdiff = 4;
>
These 3 are meaningless for vp9.
> av_opt_set(cContext->priv_data, "realtime", "1", AV_OPT_SEARCH_CHILDREN);
> av_opt_set(cContext->priv_data, "cpu-used", "8", AV_OPT_SEARCH_CHILDREN);
12 should be the fastest, but for this size I'm not seeing much difference.