summaryrefslogtreecommitdiff
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-11-29 08:37:51 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-11-29 08:37:51 +0000
commitdba019dabab2314d00e30b8d53a5ae46de711953 (patch)
tree2db9e7aecbaaace4bdb20191662ad559c87a5f5f /ffmpeg.c
parentcc15c9312782e260fdebb895a8f5ecef4ac7f806 (diff)
h263 alternative inter vlc support
Originally committed as revision 2541 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 51174f08e0..7e9ec9b56b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -113,6 +113,7 @@ static int b_frames = 0;
static int mb_decision = FF_MB_DECISION_SIMPLE;
static int use_4mv = 0;
static int use_aic = 0;
+static int use_aiv = 0;
static int use_umv = 0;
static int do_deinterlace = 0;
static int workaround_bugs = FF_BUG_AUTODETECT;
@@ -2267,6 +2268,9 @@ static void opt_output_file(const char *filename)
if (use_aic) {
video_enc->flags |= CODEC_FLAG_H263P_AIC;
}
+ if (use_aiv) {
+ video_enc->flags |= CODEC_FLAG_H263P_AIV;
+ }
if (use_4mv) {
video_enc->flags |= CODEC_FLAG_4MV;
}
@@ -2886,6 +2890,7 @@ const OptionDef options[] = {
{ "vstats", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&do_vstats}, "dump video coding statistics to file" },
{ "vhook", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)add_frame_hooker}, "insert video processing module", "module" },
{ "aic", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_aic}, "enable Advanced intra coding (h263+)" },
+ { "aiv", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_aiv}, "enable Alternative inter vlc (h263+)" },
{ "umv", OPT_BOOL | OPT_EXPERT | OPT_VIDEO, {(void*)&use_umv}, "enable Unlimited Motion Vector (h263+)" },
{ "intra_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_intra_matrix}, "specify intra matrix coeffs", "matrix" },
{ "inter_matrix", HAS_ARG | OPT_EXPERT | OPT_VIDEO, {(void*)opt_inter_matrix}, "specify inter matrix coeffs", "matrix" },