ozmartian / vidcutter

A modern yet simple multi-platform video cutter and joiner.
GNU General Public License v3.0
1.77k stars 137 forks source link

Hangs on generating thumbnails / slider not working #364

Open zyll71 opened 1 year ago

zyll71 commented 1 year ago

When I open a .ts with VidCutter it hangs in "generating thumbnails" and nothing happens. I can click play and start click, but i can't step through the video, go back, or set the position with the slider. I'm using vidcutter 5.0.5.1 on OpenSuSE Tumbleweed. libmpv: 0.2 FFmpeg: 4.4.3 PyQt: 5.15.7 Python 3.10.8

The log file is full of repeating instances of the following errors:

2022-10-28 19:15 - root - CRITICAL - <class 'TypeError'>: arguments did not match any overloaded call:
  QSize(): too many arguments
  QSize(int, int): argument 1 has unexpected type 'float'
  QSize(QSize): argument 1 has unexpected type 'float'
2022-10-28 19:15 - root - CRITICAL -   File "/usr/lib64/python3.10/site-packages/vidcutter/__main__.py", line 309, in timerEvent
    self.cutter.seekSlider.reloadThumbs()
  File "/usr/lib64/python3.10/site-packages/vidcutter/videoslider.py", line 343, in reloadThumbs
    self.initThumbs()
  File "/usr/lib64/python3.10/site-packages/vidcutter/videoslider.py", line 247, in initThumbs
    thumbsize = QSize(