Changed CRF for create_video tasks from 23 to 20

We need less compression for the Spring edit.
This commit is contained in:
2019-03-13 17:11:52 +01:00
parent 971bf62234
commit f1bbfca02b
2 changed files with 3 additions and 3 deletions

View File

@@ -1361,7 +1361,7 @@ class CreateVideoCommand(AbstractFFmpegCommand):
pix_fmt = 'yuv420p'
# Select some settings that are useful for scrubbing through the video.
constant_rate_factor = 23
constant_rate_factor = 20
keyframe_interval = 18 # GOP size
max_b_frames: typing.Optional[int] = 0

View File

@@ -59,7 +59,7 @@ class CreateVideoTest(AbstractCommandTest):
'-f', 'concat',
'-i', Path(self.settings['input_files']).absolute().with_name('ffmpeg-input.txt').as_posix(),
'-c:v', 'h264',
'-crf', '23',
'-crf', '20',
'-g', '18',
'-vf', 'pad=ceil(iw/2)*2:ceil(ih/2)*2',
'-pix_fmt', 'yuv420p',
@@ -81,7 +81,7 @@ class CreateVideoTest(AbstractCommandTest):
'-pattern_type', 'glob',
'-i', '/tmp/*.png',
'-c:v', 'h264',
'-crf', '23',
'-crf', '20',
'-g', '18',
'-vf', 'pad=ceil(iw/2)*2:ceil(ih/2)*2',
'-pix_fmt', 'yuv420p',