diff options
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; |