diff options
author | Jean First <jeanfirst@gmail.com> | 2011-11-29 17:48:59 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-11-30 00:22:31 +0100 |
commit | 23b4f355bbd9b8c5338fc4e31b39657073e1f88f (patch) | |
tree | 49ed826704868414abf25b2e9d1b23a1a11709f5 /ffmpeg.c | |
parent | b6ffe441cdc1f5591105db18408c30478f93036e (diff) | |
download | ffmpeg-23b4f355bbd9b8c5338fc4e31b39657073e1f88f.tar.gz |
ffmpeg.c use b:v for video bitrates using a target
it's more consistent to use -b:v instead of just -b
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -4425,7 +4425,7 @@ static int opt_target(OptionsContext *o, const char *opt, const char *arg) parse_option(o, "r", frame_rates[norm], options); opt_default("g", norm == PAL ? "15" : "18"); - opt_default("b", "1150000"); + opt_default("b:v", "1150000"); opt_default("maxrate", "1150000"); opt_default("minrate", "1150000"); opt_default("bufsize", "327680"); // 40*1024*8; @@ -4454,7 +4454,7 @@ static int opt_target(OptionsContext *o, const char *opt, const char *arg) parse_option(o, "pix_fmt", "yuv420p", options); opt_default("g", norm == PAL ? "15" : "18"); - opt_default("b", "2040000"); + opt_default("b:v", "2040000"); opt_default("maxrate", "2516000"); opt_default("minrate", "0"); //1145000; opt_default("bufsize", "1835008"); //224*1024*8; @@ -4477,7 +4477,7 @@ static int opt_target(OptionsContext *o, const char *opt, const char *arg) parse_option(o, "pix_fmt", "yuv420p", options); opt_default("g", norm == PAL ? "15" : "18"); - opt_default("b", "6000000"); + opt_default("b:v", "6000000"); opt_default("maxrate", "9000000"); opt_default("minrate", "0"); //1500000; opt_default("bufsize", "1835008"); //224*1024*8; |