mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
CBR improvements
Originally committed as revision 2601 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7a0f9d7e7d
commit
fb0666392c
3 changed files with 25 additions and 18 deletions
5
ffmpeg.c
5
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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue