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
VidCutter-5.5.0 stuck at 66% if more than 1 segment #171
Comments
Same thing happens in Linux. Vidcutter 5.5.0 and Fedora Linux 28 x64. Vidcutter hangs at 66% if more than one clip is selected. Also, before the hang, vidcutter slams all CPU cores at 100%. The following error appears when running with --debug flag: 2018-05-26 20:43 - root - CRITICAL - File "/usr/lib64/python3.6/site-packages/vidcutter/videocutter.py", line 1242, in saveMedia 2018-05-26 20:43 - root - CRITICAL - <class 'AttributeError'>: 'NoneType' object has no attribute 'group' |
I have the same problem. For me it stuck at 20% at 5.5.0 and at 40% for 6.0.0 when I'm trying to cut one clip using smartcut:
I use the flatpak packages. @ozmartian I really love this program, since it became a daily driver for my android QA, however 6.0.0 has so many bugs that it's unusable for me :(. Please tell me how I can support you so the quality improves again. |
Still the same issue with mine... works fine is 1 segment... 2 segments will get stuck at 66% ... |
@emdeex |
@OliPelz can we get a compiled version out with this patch? I'm on Win 64bit... |
@emdeex |
Tried the Dev version at: https://ci.appveyor.com/project/ozmartian/vidcutter/build/artifacts Same issue - freezes at 66% completion when saving multiple edits. |
Same problem here on Ubuntu 18.04. Hangs at 66% write of the file. |
For Linux users: before the next official update you can use this command to install the fix: |
linux not supported? sudo pip install --upgrade git+https://github.com/ozmartian/vidcutter.git |
Problem still present in latest git version (6.0.0-9) on Arch Linux. @MaxMatti's fix also does not seem to work. |
I have the same issue. Stuck at 80% forever. |
For me it fixed this particular bug, but then other bugs occured, leading to still not being able to use VidCutter. I did not create separate issues for those nor did I check for existing ones as I have found other tools for this task. |
I had exactly the same problem. The program hanged at either 33% or 66%. But I managed to find the problem in my case. Problem: Simple solution: A slightly more complicated but more robust solution: Hope this helps. |
@zhihongyou nice thx. Could you try to create a pull request out of this? |
I had a similar issue on OSX (Mojave) running 6.0.0 & 6.0.2. A comment in the console logs suggested a zero length segment and this correlated with one or more clips starting on a keyframe. By adjusting the offending clips' start frames by a single frame so that none started on a keyframe, I was able to save the file successfully. Typically, clips that started on a keyframe would never progress beyond 16%. One of my videos had 5 clips, 3 starting on keyframes. Adjusting 1 clip at a time saw an improvement in the overall progress, but I had to have no clips starting on a keyframe before each clip reached 100% and the whole video was successfully exported. The timecode for keyframes can be found in Media Information -> View Keyframes |
I tried both methods described by zhihongyou and neither worked for my manjaro Linux system. Freezes at 66%. I gave up, uninstalled vidcutter and have good success by (1) splitting up the mp4 using LossLessCut and the (2) Joining them into a new mp4 using mp4joiner. Both are in AUR. |
I have the same issue. However, @zhihongyou's solution won't work for me. Ram use is at 6.1GB out of 32GB. Swap at 256KiB. CPU on all 16 cores at <2% +/-. Total mem used by vidcutter 101.3MB. I've tried LossLessCut and didn't cut correctly so moved on to try VidCutter. I would define 15sec segments (for Instagram Story) but app would clip 2nd/3rd/4th, etc segments by pulling from previous segment adding 2sec to said segment thereby clipping a 17sec segment. So watching successive clips would repeat last 2sec of previous segment. |
Reproduced this issue with 6.0.0 on Ubuntu 20.04 (focal) and verified that 6.0.5 fixes the issue. |
@brannonb How did you install 6.0.5 on ubuntu 20.04? |
Reproduced a similar issue in version 6.0.0.0 flatpak - turning off 'smartcut' solved the issue |
@sebbyr123 Thanks bro! I'll try it. |
@vitorrcunhaa see #295
@brannonb wrote
not for me, just pulled the latest master |
I had the same issue when I installed this on my Ubuntu using Snap. I uninstalled it and tried installing it using Flatpak and it works alright now. |
Installing from the launchpad PPA in Ubuntu 20+ is working now for a proper native install if you prefer that over Flatpak or Snap (the snap is not as stable as the Flatpak for now) and new version for Windows users on Releases page or from Chocolatey (once 6.0.5.1 is approved in the next day or so) |
@ozmartian I felt that when I used Flatpak to install and when the smart cut is enabled, it still gets stuck in the middle of processing. But when I install it using PPA, both modes work as expected. |
Tested 6.0.5.1 on snap install, ubuntu 20.10 and it works like a charm. Ty |
Thx for the feedback guys! |
Still has the 66% problem with 22.04 UBUNTU and 2 clips. |
I too use Ubunto 20.04. default snap-pack. VidCutter 6.0.5.1. Save stucks at 20% if smartcut is used. Without smartcut, it works fine. |
Let's Try To Define The Root-Cause
|
OS: Ubuntu 22.04 LTS Problems description: Saving clip Freeses on about 20%. Disabling smartcut resolves the issue. Clip is about 30 seconds of length (201,2 MB). Laptop: oldish Dell XPS 13, 8GB Ram, 512 GB ssd, i5 with integrated graphics. |
Windows 10-64. If I select more than 1 segment, it gets stuck at 66% forever.
The text was updated successfully, but these errors were encountered: