aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-12-12 19:26:55 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-12-12 19:26:55 +0000
commitfb0666392c0f90eeed96ff39d19ff19554e22ffc (patch)
tree8827fa2362f28635719c551aba4705ce7161a71b /ffmpeg.c
parent7a0f9d7e7d03ec7af11f77d474323fedbaa82368 (diff)
downloadffmpeg-fb0666392c0f90eeed96ff39d19ff19554e22ffc.tar.gz
CBR improvements
Originally committed as revision 2601 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 031def09ed..e8c557ccdc 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1567,7 +1567,7 @@ static void opt_video_bitrate_min(const char *arg)
static void opt_video_buffer_size(const char *arg)
{
- video_rc_buffer_size = atoi(arg) * 1000;
+ video_rc_buffer_size = atoi(arg) * 1024;
}
static void opt_video_rc_eq(char *arg)
@@ -2767,6 +2767,7 @@ static void opt_target(const char *arg)
video_bit_rate = 1150000;
video_rc_max_rate = 1150000;
video_rc_min_rate = 1150000;
+ video_rc_buffer_size = 40*1024*8;
audio_bit_rate = 224000;
audio_sample_rate = 44100;
@@ -2783,6 +2784,7 @@ static void opt_target(const char *arg)
video_bit_rate = 2040000;
video_rc_max_rate = 2516000;
video_rc_min_rate = 1145000;
+ video_rc_buffer_size = 224*1024*8;
audio_bit_rate = 224000;
audio_sample_rate = 44100;
@@ -2799,6 +2801,7 @@ static void opt_target(const char *arg)
video_bit_rate = 6000000;
video_rc_max_rate = 9000000;
video_rc_min_rate = 1500000;
+ video_rc_buffer_size = 224*1024*8;
audio_bit_rate = 448000;
audio_sample_rate = 48000;