diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-12-12 19:26:55 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-12-12 19:26:55 +0000 |
commit | fb0666392c0f90eeed96ff39d19ff19554e22ffc (patch) | |
tree | 8827fa2362f28635719c551aba4705ce7161a71b /ffmpeg.c | |
parent | 7a0f9d7e7d03ec7af11f77d474323fedbaa82368 (diff) | |
download | ffmpeg-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.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; |