summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortassaron2026-01-14 13:58:40 -0500
committertassaron2026-01-14 13:58:40 -0500
commit0d844e93b7091f3417ff87f960baabdd493f428a (patch)
treedc3246583880cc5fb556c29f700065e93074d373
parent5af82c6a2b98bd0dd4cd573e53c8b15e42124753 (diff)
log PyQt version && update ffmpeg version check
-rw-r--r--src/avp/gui/mainwindow.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/avp/gui/mainwindow.py b/src/avp/gui/mainwindow.py
index b0a564b..e7a5fe3 100644
--- a/src/avp/gui/mainwindow.py
+++ b/src/avp/gui/mainwindow.py
@@ -325,6 +325,7 @@ class MainWindow(QtWidgets.QMainWindow):
325 self.drawPreview(True) 325 self.drawPreview(True)
326 326
327 log.info("Pillow version %s", Image.__version__) 327 log.info("Pillow version %s", Image.__version__)
328 log.info("PyQt version %s (Qt version %s)", QtCore.PYQT_VERSION_STR, QtCore.QT_VERSION_STR)
328 329
329 # verify Ffmpeg version 330 # verify Ffmpeg version
330 if not self.core.FFMPEG_BIN: 331 if not self.core.FFMPEG_BIN:
@@ -341,7 +342,10 @@ class MainWindow(QtWidgets.QMainWindow):
341 ffmpegVers = checkOutput( 342 ffmpegVers = checkOutput(
342 [self.core.FFMPEG_BIN, "-version"], stderr=f 343 [self.core.FFMPEG_BIN, "-version"], stderr=f
343 ) 344 )
344 goodVersion = str(ffmpegVers).split()[2].startswith("4") 345 ffmpegVers = str(ffmpegVers).split()[2].split(".", 1)[0]
346 if ffmpegVers.startswith("n"):
347 ffmpegVers = ffmpegVers[1:]
348 goodVersion = int(ffmpegVers) > 3
345 except Exception: 349 except Exception:
346 goodVersion = False 350 goodVersion = False
347 else: 351 else: