diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-03-05 16:10:13 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-03-05 16:10:13 +0000 |
commit | 21e59552d6894917d3d16a3984268a171f4a1c98 (patch) | |
tree | 59ee03f8bc347a80ff3d8dac01dc707471465e4b /ffmpeg.c | |
parent | 3b4f73dc76d018ef9833da44a8daa5d975a10a0b (diff) | |
download | ffmpeg-21e59552d6894917d3d16a3984268a171f4a1c98.tar.gz |
extended option for h263+ patch by (fixounet at free dot fr) with some minor modifications
Originally committed as revision 1622 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 18 |
1 files changed, 17 insertions, 1 deletions
@@ -123,6 +123,11 @@ static int same_quality = 0; static int b_frames = 0; static int use_hq = 0; static int use_4mv = 0; +/* Fx */ +static int use_aic = 0; +static int use_umv = 0; +/* /Fx */ +static int use_h263p_extra = 0; static int do_deinterlace = 0; static int workaround_bugs = FF_BUG_AUTODETECT; static int error_resilience = 2; @@ -2230,7 +2235,14 @@ static void opt_output_file(const char *filename) if (use_hq) { video_enc->flags |= CODEC_FLAG_HQ; } - + /* Fx */ + if (use_umv) { + video_enc->flags |= CODEC_FLAG_H263P_UMV; + } + if (use_aic) { + video_enc->flags |= CODEC_FLAG_H263P_AIC; + } + /* /Fx */ if (use_4mv) { video_enc->flags |= CODEC_FLAG_HQ; video_enc->flags |= CODEC_FLAG_4MV; @@ -2769,6 +2781,10 @@ const OptionDef options[] = { { "vstats", OPT_BOOL | OPT_EXPERT, {(void*)&do_vstats}, "dump video coding statistics to file" }, { "bitexact", OPT_EXPERT, {(void*)opt_bitexact}, "only use bit exact algorithms (for codec testing)" }, { "vhook", HAS_ARG | OPT_EXPERT, {(void*)add_frame_hooker}, "insert video processing module", "module name and parameters" }, + /* Fx */ + { "aic", OPT_BOOL | OPT_EXPERT, {(void*)&use_aic}, "enable Advanced intra coding (h263+)" }, + { "umv", OPT_BOOL | OPT_EXPERT, {(void*)&use_umv}, "enable Unlimited Motion Vector (h263+)" }, + /* /Fx */ { NULL, }, }; |