Skip to content

Commit

Permalink
Version 4.5.1 (#275)
Browse files Browse the repository at this point in the history
* Fixing #273 Realtime VP9 bitrate mode must be single pass (thanks to Owen Quinlan)
  • Loading branch information
cdgriffith authored Nov 10, 2021
1 parent f672aaf commit 26c53d1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 4.5.1

* Fixing #273 Realtime VP9 bitrate mode must be single pass (thanks to Owen Quinlan)

## Version 4.5.0

* Adding #267 new onyx theme with custom icons (thanks to Joey Catt | Onyx Studios)
Expand Down
8 changes: 8 additions & 0 deletions fastflix/encoders/vp9/command_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ def build(fastflix: FastFlix):
details = f"-quality:v {settings.quality} -profile:v {settings.profile} -tile-columns:v {settings.tile_columns} -tile-rows:v {settings.tile_rows} "

if settings.bitrate:
if settings.quality == "realtime":
return [
Command(
command=f"{beginning} -speed:v {settings.speed} -b:v {settings.bitrate} {details} {settings.extra} {ending} ",
name="Single pass realtime bitrate",
exe="ffmpeg",
)
]
command_1 = f"{beginning} -speed:v {'4' if settings.fast_first_pass else settings.speed} -b:v {settings.bitrate} {details} -pass 1 {settings.extra if settings.extra_both_passes else ''} -an -f webm {null}"
command_2 = (
f"{beginning} -speed:v {settings.speed} -b:v {settings.bitrate} {details} -pass 2 {settings.extra} {ending}"
Expand Down
2 changes: 1 addition & 1 deletion fastflix/version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
__version__ = "4.5.0"
__version__ = "4.5.1"
__author__ = "Chris Griffith"

0 comments on commit 26c53d1

Please sign in to comment.