Skip to content
Snippets Groups Projects
Commit c75372af authored by Sybren A. Stüvel's avatar Sybren A. Stüvel
Browse files

Reduce video quality for 'create-video' command

Changed CRF 17 → 23 and GOP 1 → 18
parent f3f37aaf
No related branches found
No related tags found
No related merge requests found
...@@ -1049,8 +1049,8 @@ class CreateVideoCommand(AbstractFFmpegCommand): ...@@ -1049,8 +1049,8 @@ class CreateVideoCommand(AbstractFFmpegCommand):
codec_video = 'h264' codec_video = 'h264'
# Select some settings that are useful for scrubbing through the video. # Select some settings that are useful for scrubbing through the video.
constant_rate_factor = 17 # perceptually lossless constant_rate_factor = 23
keyframe_interval = 1 # GOP size keyframe_interval = 18 # GOP size
max_b_frames: typing.Optional[int] = 0 max_b_frames: typing.Optional[int] = 0
def validate(self, settings: Settings) -> typing.Optional[str]: def validate(self, settings: Settings) -> typing.Optional[str]:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment