Revision 8cd019bd

View differences:

ffmpeg.c
132 132
static int error_rate = 0;
133 133
static int strict = 0;
134 134
static int top_field_first = -1;
135
static int sc_threshold = 0;
136 135
static int me_threshold = 0;
137 136
static int mb_threshold = 0;
138 137
static int intra_dc_precision = 8;
......
2395 2394
    top_field_first= atoi(arg);
2396 2395
}
2397 2396

  
2398
static void opt_sc_threshold(const char *arg)
2399
{
2400
    sc_threshold= atoi(arg);
2401
}
2402

  
2403 2397
static void opt_thread_count(const char *arg)
2404 2398
{
2405 2399
    thread_count= atoi(arg);
......
2953 2947
        video_enc->intra_dc_precision= intra_dc_precision - 8;
2954 2948
        video_enc->strict_std_compliance = strict;
2955 2949
        video_enc->error_rate = error_rate;
2956
        video_enc->scenechange_threshold= sc_threshold;
2957 2950
        video_enc->me_penalty_compensation= me_penalty_compensation;
2958 2951
        video_enc->frame_skip_threshold= frame_skip_threshold;
2959 2952
        video_enc->frame_skip_factor= frame_skip_factor;
......
3874 3867
    { "intra_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_intra_matrix}, "specify intra matrix coeffs", "matrix" },
3875 3868
    { "inter_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_inter_matrix}, "specify inter matrix coeffs", "matrix" },
3876 3869
    { "top", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_top_field_first}, "top=1/bottom=0/auto=-1 field first", "" },
3877
    { "sc_threshold", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_sc_threshold}, "scene change threshold", "threshold" },
3878 3870
    { "dc", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&intra_dc_precision}, "intra_dc_precision", "precision" },
3879 3871
    { "mepc", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&me_penalty_compensation}, "motion estimation bitrate penalty compensation", "factor (1.0 = 256)" },
3880 3872
    { "vtag", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_tag}, "force video tag/fourcc", "fourcc/tag" },

Also available in: Unified diff