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 13, 2024
1 parent 10cc0e2 commit a814079
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 @@ -44,8 +44,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 @@ -145,6 +145,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 a814079

Please sign in to comment.