Skip to content

Commit

Permalink
Version 2.6.1 (#64)
Browse files Browse the repository at this point in the history
* Fixing #62 VP9 and GIF crashing due to label bug (thanks to -L0Lock-)
* Adding HEVC crf suggestions back
  • Loading branch information
cdgriffith authored Sep 15, 2020
1 parent 227a6a9 commit d655b9d
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 19 deletions.
8 changes: 7 additions & 1 deletion CHANGES
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
Changelog
---------

Version 2.6.1
~~~~~~~~~~~~~

* Adding HEVC crf suggestions back
* Fixing #62 VP9 and GIF crashing due to label bug (thanks to -L0Lock-)

Version 2.6.0
~~~~~~~~~~~~~

* Adding AV1 AOM settings for cpu-used, tile-columns, tile-rows, row-mt
* Adding HEVC x265 setting for profile
* Changing plugins to include library used for encoding
* Changing HEVC default speed to "medium" and crf to 28 to match x265 defaults
* Changing command builders to specify stream instead of video track for codec
* Fixing command builders to specify stream instead of video track for codec
* Fixing FPS not showing correctly when dealing with higher numbers
* Fixing #60 video track not selected properly (thanks to -L0Lock-)
* Fixing crash on SVT-AV1 due to HDR label issue
Expand Down
6 changes: 3 additions & 3 deletions fastflix/plugins/gif/settings_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ def init_fps(self):

def init_remove_hdr(self):
layout = QtWidgets.QHBoxLayout()
remove_hdr_level = QtWidgets.QLabel("Remove HDR")
remove_hdr_level.setToolTip(
self.remove_hdr_label = QtWidgets.QLabel("Remove HDR")
self.remove_hdr_label.setToolTip(
"Convert BT2020 colorspace into bt709\n " "WARNING: This will take much longer and result in a larger file"
)
layout.addWidget(remove_hdr_level)
layout.addWidget(self.remove_hdr_label)
self.widgets.remove_hdr = QtWidgets.QComboBox()
self.widgets.remove_hdr.addItems(["No", "Yes"])
self.widgets.remove_hdr.setCurrentIndex(0)
Expand Down
27 changes: 17 additions & 10 deletions fastflix/plugins/hevc_x265/settings_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,23 @@
"18000k (3840x2160p @ 50,60)",
"Custom",
]
"24 (480p)",
"23 (720p)",
"22 (1080p)",
"21 (1440p)",

recommended_crfs = [
"28",
"28 (x265 default - lower quality)",
"27",
"26",
"25",
"24",
"23",
"22",
"21",
"20",
"24 (480p)",
"23 (720p)",
"22 (1080p)",
"21 (1440p)",
"20 (2160p)",
"19",
"18",
"18 (very high quality)",
"Custom",
]

Expand Down Expand Up @@ -212,15 +216,18 @@ def init_modes(self):
bitrate_box_layout.addWidget(QtWidgets.QLabel("Custom:"))
bitrate_box_layout.addWidget(self.widgets.custom_bitrate)

crf_help = ("CRF is extremely source dependant,<br>"
"the resolution-to-crf are mere suggestions!<br><br>"
"Quality also depends on encoding speed.<br> "
"For example, SLOW CRF 22 will have a result near FAST CRF 20.")
crf_radio = QtWidgets.QRadioButton("CRF")
crf_radio.setChecked(True)
crf_radio.setFixedWidth(80)
crf_radio.setToolTip("28 is x265's default<br>"
"24 is \"Visually Indistinguishable\"<br>"
"22 is near what I use for 4K Videos")
crf_radio.setToolTip(crf_help)
self.widgets.mode.addButton(crf_radio)

self.widgets.crf = QtWidgets.QComboBox()
self.widgets.crf.setToolTip(crf_help)
self.widgets.crf.setFixedWidth(250)
self.widgets.crf.addItems(recommended_crfs)
self.widgets.crf.setCurrentIndex(0)
Expand Down
6 changes: 3 additions & 3 deletions fastflix/plugins/vp9/settings_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@ def __init__(self, parent, main):

def init_remove_hdr(self):
layout = QtWidgets.QHBoxLayout()
remove_hdr_level = QtWidgets.QLabel("Remove HDR")
remove_hdr_level.setToolTip(
self.remove_hdr_label = QtWidgets.QLabel("Remove HDR")
self.remove_hdr_label.setToolTip(
"Convert BT2020 colorspace into bt709\n " "WARNING: This will take much longer and result in a larger file"
)
layout.addWidget(remove_hdr_level)
layout.addWidget(self.remove_hdr_label)
self.widgets.remove_hdr = QtWidgets.QComboBox()
self.widgets.remove_hdr.addItems(["No", "Yes"])
self.widgets.remove_hdr.setCurrentIndex(0)
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__ = "2.6.0"
__version__ = "2.6.1"
__author__ = "Chris Griffith"
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "fastflix"
version = "2.6.0"
version = "2.6.1"
description = "Easy to use video encoder GUI wrapper"
authors = ["Chris Griffith <[email protected]>"]
license = "MIT"
Expand Down

0 comments on commit d655b9d

Please sign in to comment.