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

Freeze on save media #362

Open d9k opened 1 year ago

d9k commented 1 year ago

App just freezes on "Save media" without any error message.

I installed it on Ubuntu 18.04 from snap:

sudo snap install --devmode vidcutter

WTF?! I wonder how could you release an app without basic errors handling. :roll_eyes:

RichardYann commented 1 year ago

The same problem :(

bigrammy commented 1 year ago

For me it Still has the "stuck at 66%" bug during the Save / Processing part. Solus 4.3 Fortitude Intel® Core™ i5-4210M × 4 RAM: 16.0 GiB

alexander-winkler commented 1 year ago

stuck at 80% (installed via snap)

rickst29 commented 1 year ago

The following log sequence hint provides a hint, although I am unable to code a fix for this:

2022-11-26 14:14 - vidcutter.videocutter - INFO - MPEG-TS based join failed, will retry using standard concat
2022-11-26 14:14 - root - CRITICAL -   File "/usr/lib64/python3.10/site-packages/vidcutter/videocutter.py", line 1389, in saveMedia
    self.joinMedia(filelist)
  File "/usr/lib64/python3.10/site-packages/vidcutter/videocutter.py", line 1438, in joinMedia
    rc = self.videoService.join(filelist, self.finalFilename, True, chapters)
  File "/usr/lib64/python3.10/site-packages/vidcutter/libs/videoservice.py", line 459, in join
    with open(filelist, 'w') as f:

2022-11-26 14:14 - root - CRITICAL - <class 'OSError'>: [Errno 28] No space left on device

There is lots of space on the device. I'm not a python reader, and can't tell what this line is doing wrong. It seems to work OK and quickly with just two clips. It works OK and slower with 3 or 4 clips, and hangs when attempting to either 5 or 6 long clips.

rickst29 commented 1 year ago

I found the cause, and opened [https://github.com/ozmartian/vidcutter/issues/367] on the issue. The temporary 'clip' and 'join' files are all being written to system root /TMP, rather than your $HOME Directory. Your root partition ran out of room.

landronick commented 1 year ago

That workaround has not worked for us: my partner and I using separate Linux desktop machines both get the hanging at 66% issue.

OS: Manjaro Gnome 16GB RAM VidCutter: (Installed from Official Repos) Version 6.0.5.1; libmpv:2.0; PyQt:5.15.7; FFmpeg:n5.1.2; Python: 3.10.8

Source: 599MiB AVI; codec MJPG; 1440x1080p; 17fps; no audio track

SmartCut disabled.

A single clip saves fine, but attempts to save/combine more than two clips hang at 66%.

OS: Ubuntu MATE 22.04; MATE Desktop Environment: 1.26.0 16GB RAM

VidCutter: (Installed from ppa:ozmartian) Version 6.0.5.1; libmpv:1.109; PyQt:5.15.6; FFmpeg:4.4.2-Oubuntu0.22.04.1; Python: 3.10.6

SmartCut disabled.

Same source, exactly the same behaviour.

None of the fixes I've seen suggested works on either of these systems. This is such good software in every other respect and we continue to use it to chop into individual clips, but such a shame it won't work to join. Is it still in development? Some posts suggest it's not.