Skip to content

Commit 77762ea

Browse files
committed
more corrections for the new ffmpeg params
1 parent a76918e commit 77762ea

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

trunk/export/ffmpeg.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ package export::ffmpeg;
138138
return param_pair('b_qoffset', $value) if ($param eq 'b_quant_offset');
139139
return param_pair('bf', $value) if ($param eq 'max_b_frames');
140140
return param_pair('bt', $value * 1024) if ($param eq 'bit_rate_tolerance');
141-
return param_pair('bufsize', $value) if ($param eq 'rc_buffer_size');
141+
return param_pair('bufsize', $value * 1024) if ($param eq 'rc_buffer_size');
142142
return param_pair('bug', $value) if ($param eq 'bugs');
143143
return param_pair('error', $value) if ($param eq 'error_rate');
144144
return param_pair('g', $value) if ($param eq 'gop_size');

trunk/export/ffmpeg/XviD.pm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ package export::ffmpeg::XviD;
152152
.' -mbd 1'
153153
.' -cmp 2 -subcmp 2'
154154
.' -cgop 1'
155-
.' -max_b_frames 1'
156-
.' -b_quant_factor 150'
157-
.' -b_quant_offset 100'
155+
.$self->param('b_quant_factor', 150)
156+
.$self->param('b_quant_offset', 100)
157+
.$self->param('max_b_frames', 1)
158158
;
159159
# Dual pass?
160160
if ($self->{'multipass'}) {

0 commit comments

Comments
 (0)