Revision bbf18b21 ffmpeg.c

View differences:

ffmpeg.c
193 193
static int nsse_weight = 8;
194 194
static int subpel_quality= 8;
195 195
static int lowres= 0;
196
static int frame_skip_threshold= 0;
197
static int frame_skip_factor= 0;
196 198
extern int loop_input; /* currently a hack */
197 199

  
198 200
static int gop_size = 12;
......
3223 3225
                video_enc->level= video_level;
3224 3226
                video_enc->nsse_weight= nsse_weight;
3225 3227
                video_enc->me_subpel_quality= subpel_quality;
3228
                video_enc->frame_skip_threshold= frame_skip_threshold;
3229
                video_enc->frame_skip_factor= frame_skip_factor;
3226 3230

  
3227 3231
                if(packet_size){
3228 3232
                    video_enc->rtp_mode= 1;
......
3949 3953
    { "subq", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&subpel_quality}, "", "" },
3950 3954
    { "lowres", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&lowres}, "", "" },
3951 3955
    { "vtag", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_video_tag}, "force video tag/fourcc", "fourcc/tag" },
3956
    { "skip_threshold", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&frame_skip_threshold}, "frame skip threshold", "threshold" },
3957
    { "skip_factor", OPT_INT | HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)&frame_skip_factor}, "frame skip factor", "factor" },
3952 3958

  
3953 3959
    /* audio options */
3954 3960
    { "ab", HAS_ARG | OPT_AUDIO, {(void*)opt_audio_bitrate}, "set audio bitrate (in kbit/s)", "bitrate", },

Also available in: Unified diff