Revision c9ab8df8 ffmpeg.c

View differences:

ffmpeg.c
143 143
static int video_codec_tag = 0;
144 144
static int same_quality = 0;
145 145
static int b_frames = 0;
146
static int b_strategy = 0;
147 146
static int pre_me = 0;
148 147
static int do_deinterlace = 0;
149 148
static int workaround_bugs = FF_BUG_AUTODETECT;
......
3157 3156

  
3158 3157
        if (b_frames) {
3159 3158
            video_enc->max_b_frames = b_frames;
3160
            video_enc->b_frame_strategy = b_strategy;
3161 3159
            video_enc->b_quant_factor = 2.0;
3162 3160
        }
3163 3161
        video_enc->qmin = video_qmin;
......
4067 4065
    { "i_qoffset", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_i_qoffset}, "qp offset between p and i frames", "offset" },
4068 4066
    { "ibias", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_ibias}, "intra quant bias", "bias" },
4069 4067
    { "pbias", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_pbias}, "inter quant bias", "bias" },
4070
    { "b_strategy", HAS_ARG | OPT_INT | OPT_EXPERT, {(void*)&b_strategy}, "dynamic b frame selection strategy", "strategy" },
4071 4068
    { "rc_eq", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_eq}, "set rate control equation", "equation" },
4072 4069
    { "rc_override", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_rc_override_string}, "rate control override for specific intervals", "override" },
4073 4070
    { "bt", HAS_ARG | OPT_VIDEO, {(void*)opt_video_bitrate_tolerance}, "set video bitrate tolerance (in kbit/s)", "tolerance" },

Also available in: Unified diff