Skip to content

Commit 49d806d

Browse files
committed
SVFI 3.2 Release
1. fix multiple issues 2. Add RIFE Forward Ensemble Control (Double Optical Flow Calculation) 3. Add Fast Denoise 4. Add Community Version Control 5. Add Quick Release Batch 6. Fix GIF Output Control Measure 7. Fix issues related to paths (eventually)
1 parent 9ec6be0 commit 49d806d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+8152
-6375
lines changed

SVFI/QCandyUi/qss_getter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def getPushButtonQss(normalColor, normalTextColor, hoverColor, hoverTextColor, p
9494
str_ = """
9595
QPushButton#replace{background:%s;border:2px solid %s;}
9696
""" % (BLUEGRAY, BLUEGRAY)
97-
replace_list = ["InputButton", "OutputButton", "InputDirButton", "OutputSettingsButton"]
97+
replace_list = ["InputButton", "OutputButton", "InputDirButton", "OutputSettingsButton", "RefreshStartInfo"]
9898
str6 = "\n".join(list(map(lambda x: str_.replace('replace', x), replace_list)))
9999

100100
str_ = """

SVFI/RIFE_GUI_Start.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import sys
2-
import QCandyUi
32
import traceback
4-
from PyQt5.QtWidgets import *
3+
4+
import QCandyUi
55
from PyQt5.QtCore import *
6+
from PyQt5.QtWidgets import *
67

78
"""High Resolution Support"""
89
if hasattr(Qt, 'AA_EnableHighDpiScaling'):
@@ -18,13 +19,14 @@
1819
print("Not Find RIFE GUI Backend, please contact developers for support")
1920
input("Press Any Key to Quit")
2021
exit()
21-
22+
SVFI_version = "3.2 Professional"
23+
# SVFI_version = "3.2 Platinum"
2224
app = QApplication(sys.argv)
2325
app_backend_module = RIFE_GUI_Backend
24-
app_backend = app_backend_module.RIFE_GUI_BACKEND()
26+
app_backend = app_backend_module.RIFE_GUI_BACKEND(free=False, version=SVFI_version)
2527
try:
2628
form = QCandyUi.CandyWindow.createWindow(app_backend, theme="blueDeep", ico_path="svfi.png",
27-
title="Squirrel Video Frame Interpolation 3.1.1 alpha")
29+
title=f"Squirrel Video Frame Interpolation {SVFI_version}")
2830
form.show()
2931
app.exec_()
3032
"""Save Settings"""

SVFI/Utils/RIFE_GUI.py

Lines changed: 0 additions & 1175 deletions
Large diffs are not rendered by default.

SVFI/Utils/RIFE_GUI_Backend.py

Lines changed: 232 additions & 113 deletions
Large diffs are not rendered by default.

SVFI/Utils/SVFI_UI.py

Lines changed: 458 additions & 232 deletions
Large diffs are not rendered by default.

SVFI/Utils/SVFI_UI.ui

Lines changed: 4510 additions & 0 deletions
Large diffs are not rendered by default.

SVFI/Utils/SVFI_about.py

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ def setupUi(self, Dialog):
4444
self.gridLayout.addWidget(self.scrollArea, 0, 0, 1, 1)
4545
self.buttonBox = QtWidgets.QDialogButtonBox(Dialog)
4646
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
47-
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
47+
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok)
4848
self.buttonBox.setObjectName("buttonBox")
4949
self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1)
5050

@@ -56,4 +56,24 @@ def setupUi(self, Dialog):
5656
def retranslateUi(self, Dialog):
5757
_translate = QtCore.QCoreApplication.translate
5858
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
59-
self.label_7.setText(_translate("Dialog", "<html><head/><body><p><span style=\" font-size:12pt; color:#ffffff;\">本软件 </span><span style=\" font-size:12pt; font-style:italic; color:#ffffff;\">Squirrel Video Frame Interpolation</span></p><p><span style=\" color:#ffffff;\">是基于</span><span style=\" font-weight:600; color:#ffffff;\">RIFE: Real-Time Intermediate Flow Estimation for Video Frame Interpolation</span><span style=\" color:#ffffff;\"> AI补帧算法的可视化图形界面集成.</span></p><p><br/></p><p><span style=\" font-weight:600; color:#ffffff;\">RIFE算法作者</span><span style=\" color:#ffffff;\"> Zhewei Huang, Tianyuan Zhang, Wen Heng, Boxin Shi, Shuchang Zhou </span></p><p><span style=\" color:#ffffff;\">https://github.com/hzwer/arXiv2020-RIFE</span></p><p><span style=\" font-weight:600; color:#ffffff;\">SVFI作者</span><span style=\" color:#ffffff;\"> YiWeiHuang-stack, Justin62628, 穆氏, ABlyh-LEO, NULL204</span></p><p><span style=\" color:#ffffff;\">https://github.com/YiWeiHuang-stack/Squirrel-RIFE</span></p><p><span style=\" color:#ffffff;\">https://github.com/Justin62628/RIFE_GUI</span></p><p><span style=\" text-decoration: underline; color:#ffffff;\">其中RIFE GUI已与SVFI版本合并</span></p><p><span style=\" color:#ffffff;\">市面上的SVFI 1.x, RIFE GUI 6.2.x均为旧版本</span></p></body></html>"))
59+
self.label_7.setText(_translate("Dialog", "<html><head/><body><p><span style=\"\n"
60+
" font-size:12pt; color:#ffffff;\">本软件 </span><span style=\"\n"
61+
" font-size:12pt; font-style:italic; color:#ffffff;\">Squirrel Video\n"
62+
" Frame Interpolation</span></p><p><span style=\"\n"
63+
" color:#ffffff;\">是基于</span><span style=\"\n"
64+
" font-weight:600; color:#ffffff;\">RIFE: Real-Time Intermediate Flow\n"
65+
" Estimation for Video Frame Interpolation</span><span style=\"\n"
66+
" color:#ffffff;\"> AI补帧算法的可视化图形界面集成.</span></p><p><br/></p><p><span\n"
67+
" style=\" font-weight:600; color:#ffffff;\">RIFE算法作者</span><span\n"
68+
" style=\" color:#ffffff;\"> Zhewei Huang, Tianyuan Zhang, Wen\n"
69+
" Heng, Boxin Shi, Shuchang Zhou </span></p><p><span\n"
70+
" style=\" color:#ffffff;\">https://github.com/hzwer/arXiv2020-RIFE</span></p><p><span\n"
71+
" style=\" font-weight:600; color:#ffffff;\">SVFI作者</span><span\n"
72+
" style=\" color:#ffffff;\"> YiWeiHuang-stack, Justin62628, 穆氏,\n"
73+
" ABlyh-LEO, NULL204</span></p><p><span style=\"\n"
74+
" color:#ffffff;\">https://github.com/YiWeiHuang-stack/Squirrel-RIFE</span></p><p><span\n"
75+
" style=\" color:#ffffff;\">https://github.com/Justin62628/RIFE_GUI</span></p><p><span\n"
76+
" style=\" text-decoration: underline; color:#ffffff;\">其中RIFE\n"
77+
" GUI已与SVFI版本合并</span></p><p><span style=\"\n"
78+
" color:#ffffff;\">市面上的SVFI 1.x, RIFE GUI 6.2.x均为旧版本</span></p></body></html>\n"
79+
" "))

SVFI/Utils/SVFI_about.ui

Lines changed: 124 additions & 104 deletions
Original file line numberDiff line numberDiff line change
@@ -1,108 +1,128 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<ui version="4.0">
3-
<class>Dialog</class>
4-
<widget class="QDialog" name="Dialog">
5-
<property name="geometry">
6-
<rect>
7-
<x>0</x>
8-
<y>0</y>
9-
<width>620</width>
10-
<height>541</height>
11-
</rect>
12-
</property>
13-
<property name="windowTitle">
14-
<string>Dialog</string>
15-
</property>
16-
<layout class="QGridLayout" name="gridLayout">
17-
<item row="0" column="0">
18-
<widget class="QScrollArea" name="scrollArea">
19-
<property name="sizePolicy">
20-
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
21-
<horstretch>0</horstretch>
22-
<verstretch>0</verstretch>
23-
</sizepolicy>
24-
</property>
25-
<property name="widgetResizable">
26-
<bool>true</bool>
27-
</property>
28-
<widget class="QWidget" name="scrollAreaWidgetContents">
29-
<property name="geometry">
30-
<rect>
31-
<x>0</x>
32-
<y>0</y>
33-
<width>600</width>
34-
<height>492</height>
35-
</rect>
36-
</property>
37-
<layout class="QVBoxLayout" name="verticalLayout_3">
38-
<item>
39-
<widget class="QLabel" name="label_7">
40-
<property name="sizePolicy">
41-
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
42-
<horstretch>0</horstretch>
43-
<verstretch>0</verstretch>
44-
</sizepolicy>
45-
</property>
46-
<property name="text">
47-
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-size:12pt; color:#ffffff;&quot;&gt;本软件 &lt;/span&gt;&lt;span style=&quot; font-size:12pt; font-style:italic; color:#ffffff;&quot;&gt;Squirrel Video Frame Interpolation&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt;是基于&lt;/span&gt;&lt;span style=&quot; font-weight:600; color:#ffffff;&quot;&gt;RIFE: Real-Time Intermediate Flow Estimation for Video Frame Interpolation&lt;/span&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt; AI补帧算法的可视化图形界面集成.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; color:#ffffff;&quot;&gt;RIFE算法作者&lt;/span&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt; Zhewei Huang, Tianyuan Zhang, Wen Heng, Boxin Shi, Shuchang Zhou &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt;https://github.com/hzwer/arXiv2020-RIFE&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-weight:600; color:#ffffff;&quot;&gt;SVFI作者&lt;/span&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt; YiWeiHuang-stack, Justin62628, 穆氏, ABlyh-LEO, NULL204&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt;https://github.com/YiWeiHuang-stack/Squirrel-RIFE&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt;https://github.com/Justin62628/RIFE_GUI&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; text-decoration: underline; color:#ffffff;&quot;&gt;其中RIFE GUI已与SVFI版本合并&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; color:#ffffff;&quot;&gt;市面上的SVFI 1.x, RIFE GUI 6.2.x均为旧版本&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
48-
</property>
49-
<property name="scaledContents">
50-
<bool>true</bool>
51-
</property>
52-
<property name="wordWrap">
53-
<bool>true</bool>
54-
</property>
55-
</widget>
56-
</item>
57-
</layout>
58-
</widget>
3+
<class>Dialog</class>
4+
<widget class="QDialog" name="Dialog">
5+
<property name="geometry">
6+
<rect>
7+
<x>0</x>
8+
<y>0</y>
9+
<width>620</width>
10+
<height>541</height>
11+
</rect>
12+
</property>
13+
<property name="windowTitle">
14+
<string>Dialog</string>
15+
</property>
16+
<layout class="QGridLayout" name="gridLayout">
17+
<item row="0" column="0">
18+
<widget class="QScrollArea" name="scrollArea">
19+
<property name="sizePolicy">
20+
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
21+
<horstretch>0</horstretch>
22+
<verstretch>0</verstretch>
23+
</sizepolicy>
24+
</property>
25+
<property name="widgetResizable">
26+
<bool>true</bool>
27+
</property>
28+
<widget class="QWidget" name="scrollAreaWidgetContents">
29+
<property name="geometry">
30+
<rect>
31+
<x>0</x>
32+
<y>0</y>
33+
<width>600</width>
34+
<height>492</height>
35+
</rect>
36+
</property>
37+
<layout class="QVBoxLayout" name="verticalLayout_3">
38+
<item>
39+
<widget class="QLabel" name="label_7">
40+
<property name="sizePolicy">
41+
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
42+
<horstretch>0</horstretch>
43+
<verstretch>0</verstretch>
44+
</sizepolicy>
45+
</property>
46+
<property name="text">
47+
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot;
48+
font-size:12pt; color:#ffffff;&quot;&gt;本软件 &lt;/span&gt;&lt;span style=&quot;
49+
font-size:12pt; font-style:italic; color:#ffffff;&quot;&gt;Squirrel Video
50+
Frame Interpolation&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;
51+
color:#ffffff;&quot;&gt;是基于&lt;/span&gt;&lt;span style=&quot;
52+
font-weight:600; color:#ffffff;&quot;&gt;RIFE: Real-Time Intermediate Flow
53+
Estimation for Video Frame Interpolation&lt;/span&gt;&lt;span style=&quot;
54+
color:#ffffff;&quot;&gt; AI补帧算法的可视化图形界面集成.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;br/&gt;&lt;/p&gt;&lt;p&gt;&lt;span
55+
style=&quot; font-weight:600; color:#ffffff;&quot;&gt;RIFE算法作者&lt;/span&gt;&lt;span
56+
style=&quot; color:#ffffff;&quot;&gt; Zhewei Huang, Tianyuan Zhang, Wen
57+
Heng, Boxin Shi, Shuchang Zhou &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span
58+
style=&quot; color:#ffffff;&quot;&gt;https://github.com/hzwer/arXiv2020-RIFE&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span
59+
style=&quot; font-weight:600; color:#ffffff;&quot;&gt;SVFI作者&lt;/span&gt;&lt;span
60+
style=&quot; color:#ffffff;&quot;&gt; YiWeiHuang-stack, Justin62628, 穆氏,
61+
ABlyh-LEO, NULL204&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;
62+
color:#ffffff;&quot;&gt;https://github.com/YiWeiHuang-stack/Squirrel-RIFE&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span
63+
style=&quot; color:#ffffff;&quot;&gt;https://github.com/Justin62628/RIFE_GUI&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span
64+
style=&quot; text-decoration: underline; color:#ffffff;&quot;&gt;其中RIFE
65+
GUI已与SVFI版本合并&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;
66+
color:#ffffff;&quot;&gt;市面上的SVFI 1.x, RIFE GUI 6.2.x均为旧版本&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;
67+
</string>
68+
</property>
69+
<property name="scaledContents">
70+
<bool>true</bool>
71+
</property>
72+
<property name="wordWrap">
73+
<bool>true</bool>
74+
</property>
75+
</widget>
76+
</item>
77+
</layout>
78+
</widget>
79+
</widget>
80+
</item>
81+
<item row="1" column="0">
82+
<widget class="QDialogButtonBox" name="buttonBox">
83+
<property name="orientation">
84+
<enum>Qt::Horizontal</enum>
85+
</property>
86+
<property name="standardButtons">
87+
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
88+
</property>
89+
</widget>
90+
</item>
91+
</layout>
5992
</widget>
60-
</item>
61-
<item row="1" column="0">
62-
<widget class="QDialogButtonBox" name="buttonBox">
63-
<property name="orientation">
64-
<enum>Qt::Horizontal</enum>
65-
</property>
66-
<property name="standardButtons">
67-
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
68-
</property>
69-
</widget>
70-
</item>
71-
</layout>
72-
</widget>
73-
<resources/>
74-
<connections>
75-
<connection>
76-
<sender>buttonBox</sender>
77-
<signal>accepted()</signal>
78-
<receiver>Dialog</receiver>
79-
<slot>accept()</slot>
80-
<hints>
81-
<hint type="sourcelabel">
82-
<x>248</x>
83-
<y>254</y>
84-
</hint>
85-
<hint type="destinationlabel">
86-
<x>157</x>
87-
<y>274</y>
88-
</hint>
89-
</hints>
90-
</connection>
91-
<connection>
92-
<sender>buttonBox</sender>
93-
<signal>rejected()</signal>
94-
<receiver>Dialog</receiver>
95-
<slot>reject()</slot>
96-
<hints>
97-
<hint type="sourcelabel">
98-
<x>316</x>
99-
<y>260</y>
100-
</hint>
101-
<hint type="destinationlabel">
102-
<x>286</x>
103-
<y>274</y>
104-
</hint>
105-
</hints>
106-
</connection>
107-
</connections>
93+
<resources/>
94+
<connections>
95+
<connection>
96+
<sender>buttonBox</sender>
97+
<signal>accepted()</signal>
98+
<receiver>Dialog</receiver>
99+
<slot>accept()</slot>
100+
<hints>
101+
<hint type="sourcelabel">
102+
<x>248</x>
103+
<y>254</y>
104+
</hint>
105+
<hint type="destinationlabel">
106+
<x>157</x>
107+
<y>274</y>
108+
</hint>
109+
</hints>
110+
</connection>
111+
<connection>
112+
<sender>buttonBox</sender>
113+
<signal>rejected()</signal>
114+
<receiver>Dialog</receiver>
115+
<slot>reject()</slot>
116+
<hints>
117+
<hint type="sourcelabel">
118+
<x>316</x>
119+
<y>260</y>
120+
</hint>
121+
<hint type="destinationlabel">
122+
<x>286</x>
123+
<y>274</y>
124+
</hint>
125+
</hints>
126+
</connection>
127+
</connections>
108128
</ui>

0 commit comments

Comments
 (0)