Lines 223-229
Link Here
|
223 |
# Options required for the codecs separately |
223 |
# Options required for the codecs separately |
224 |
if ($self->{'mp4_codec'} eq 'h264') { |
224 |
if ($self->{'mp4_codec'} eq 'h264') { |
225 |
$ffmpeg_xtra .= ' -level 30' |
225 |
$ffmpeg_xtra .= ' -level 30' |
226 |
.' -loop 1' |
226 |
.' -flags loop+splice' |
227 |
.' -g 250 -keyint_min 25' |
227 |
.' -g 250 -keyint_min 25' |
228 |
.' -sc_threshold 40' |
228 |
.' -sc_threshold 40' |
229 |
.' -rc_eq \'blurCplx^(1-qComp)\'' |
229 |
.' -rc_eq \'blurCplx^(1-qComp)\'' |
Lines 233-243
Link Here
|
233 |
.$self->param('i_quant_factor', 0.71428572) |
233 |
.$self->param('i_quant_factor', 0.71428572) |
234 |
.$self->param('b_quant_factor', 0.76923078) |
234 |
.$self->param('b_quant_factor', 0.76923078) |
235 |
.$self->param('max_b_frames', 0) |
235 |
.$self->param('max_b_frames', 0) |
236 |
.' -me umh' # this will eventually be me_method, but not all ffmpeg versions support it yet |
236 |
.' -me_method umh' |
237 |
; |
237 |
; |
238 |
} |
238 |
} |
239 |
else { |
239 |
else { |
240 |
$ffmpeg_xtra .= ' -flags +mv4+trell+loop' |
240 |
$ffmpeg_xtra .= ' -flags +mv4+loop+aic' |
|
|
241 |
.' -trellis 1' |
241 |
.' -aic 1' |
242 |
.' -aic 1' |
242 |
.' -mbd 1' |
243 |
.' -mbd 1' |
243 |
.' -cmp 2 -subcmp 2' |
244 |
.' -cmp 2 -subcmp 2' |
Lines 290-300
Link Here
|
290 |
$ffmpeg_xtra .= ' -refs '.($self->val('ipod') ? 2 : 7) |
291 |
$ffmpeg_xtra .= ' -refs '.($self->val('ipod') ? 2 : 7) |
291 |
.' -subq 7' |
292 |
.' -subq 7' |
292 |
.' -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' |
293 |
.' -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' |
293 |
.' -flags2 +bpyramid+wpred+mixed_refs+8x8dct+brdo' |
294 |
.' -flags2 +bpyramid+wpred+mixed_refs+8x8dct' |
294 |
.' -me_range 21' |
295 |
.' -me_range 21' |
295 |
.' -trellis 2' |
296 |
.' -trellis 2' |
296 |
.' -chroma 1' |
|
|
297 |
.' -slice 2' |
298 |
.' -cmp 1' |
297 |
.' -cmp 1' |
299 |
# These should match the defaults: |
298 |
# These should match the defaults: |
300 |
.' -deblockalpha 0 -deblockbeta 0' |
299 |
.' -deblockalpha 0 -deblockbeta 0' |