Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save Media hangs when using Frame Accurate Cutting #384

Open
chrisveness opened this issue Jun 8, 2023 · 4 comments
Open

Save Media hangs when using Frame Accurate Cutting #384

chrisveness opened this issue Jun 8, 2023 · 4 comments

Comments

@chrisveness
Copy link

From the log:

2023-06-08 17:24 - vidcutter.libs.videoservice - INFO - /app/bin/ffprobe -hide_banner -v error -show_packets -select_streams v -show_entries packet=pts_time,flags -of csv "/home/xxxxx/Videos/video.mp4"
2023-06-08 17:24 - root - CRITICAL - 
  File "/app/lib/python3.9/site-packages/vidcutter/videocutter.py", line 1361, in saveMedia
    self.smartcutter(file, source_file, source_ext)
  File "/app/lib/python3.9/site-packages/vidcutter/videocutter.py", line 1406, in smartcutter
    self.videoService.smartcut(index=index,
  File "/app/lib/python3.9/site-packages/vidcutter/libs/videoservice.py", line 331, in smartcut
    bisections = self.getGOPbisections(source, start, end)
  File "/app/lib/python3.9/site-packages/vidcutter/libs/videoservice.py", line 590, in getGOPbisections
    end_pos = bisect_left(keyframes, end)

2023-06-08 17:24 - root - CRITICAL - <class 'TypeError'>: '<' not supported between instances of 'str' and 'float'

Versions:

  • Linux Mint 21.1
  • VidCutter 6.0.5.1 (Flatpak)
  • libmpv: 1.109
  • PyQt: 5.15.4
  • FFmpeg: 5.0.1
  • Python: 3.9.9
@avalon60
Copy link

This makes it very difficult to use. I'm on Linux Mint 21.1 and editing down vids is almost impossible. Disabling the smartcut, seems to make the process very innacurate.

@mrehkopf
Copy link

mrehkopf commented Jul 31, 2023

I have the same issue.
Solution has been part of a pull request for quite some time: bcbf880
However it is not being merged. I had no success building the app on MSYS2/mingw64, maybe someone else can try it out :)

@derickso
Copy link

derickso commented Nov 18, 2023

I built using the code from that pull request and it still hangs with Frame Accurate Cutting enabled.

@amymor
Copy link

amymor commented Feb 12, 2024

same here
hope someone fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants