Commit 23b4f355 authored by Jean First's avatar Jean First Committed by Michael Niedermayer

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: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b6ffe441
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment