Skip to content

Commit

Permalink
Make style check happy
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Feb 5, 2024
1 parent 7e10f48 commit 1b99b57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/zimscraperlib/video/presets.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ class VideoWebmLow(Config):
"-codec:v": "libvpx", # video codec
"-quality": "best", # codec preset
"-b:v": "128k", # Adjust quantizer within min/max to target this bitrate
"-qmin": "18", # Reduce the bitrate on very still videos
"-qmax": "40", # Increase the bitrate on very busy videos
"-qmin": "18", # Reduce the bitrate on very still videos
"-qmax": "40", # Increase the bitrate on very busy videos
"-vf": "scale='480:trunc(ow/a/2)*2'", # frame size
"-codec:a": "libvorbis", # audio codec
"-ar": "44100", # audio sampling rate
Expand Down
1 change: 1 addition & 0 deletions tests/video/test_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def test_preset_video_webm_low():
args = config.to_ffmpeg_args()
assert len(args) > 0


def test_preset_video_webm_high():
config = VideoWebmHigh()
assert config.VERSION == 1
Expand Down

0 comments on commit 1b99b57

Please sign in to comment.