ozmartian / vidcutter

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

Edited Video cannot save properly #212

Open KokeCacao opened 5 years ago

KokeCacao commented 5 years ago

image

Edited Video cannot save properly. How did I install:

sudo apt install vidcutter
Reading package lists... Done
Building dependency tree       
Reading state information... Done
vidcutter is already the newest version (6.0.0-3~ubuntu18.04.1).
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.

Kernal: Linux KokeCacao-Ubuntu 4.18.0-13-generic #14~18.04.1-Ubuntu SMP Thu Dec 6 14:09:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Potential Duplicates:

192

pbhj commented 5 years ago

FWIW I get a very similar error running 6.0.0-1 on Kubuntu 18.04.1:

2019-02-10 21:40 - vidcutter.libs.videoservice - INFO - /usr/bin/ffmpeg -hide_banner -i "/tmp/vidcutter/VID_20190210_153437_EDIT_00_middle_00.mp4"
2019-02-10 21:40 - root - CRITICAL -   File "/usr/lib/python3/dist-packages/vidcutter/libs/videoservice.py", line 418, in smartcheck
    self.smartjoin(index)
  File "/usr/lib/python3/dist-packages/vidcutter/libs/videoservice.py", line 440, in smartjoin
    if self.isMPEGcodec(joinlist[1]):
  File "/usr/lib/python3/dist-packages/vidcutter/libs/videoservice.py", line 608, in isMPEGcodec
    codec = self.codecs(source)[0].lower()
  File "/usr/lib/python3/dist-packages/vidcutter/libs/videoservice.py", line 268, in codecs
    acodec = re.search(r'Stream.*Audio:\s(\w+)', result).group(1)

2019-02-10 21:40 - root - CRITICAL - <class 'AttributeError'>: 'NoneType' object has no attribute 'group'

Basically I was trimming an mp4 file, cropping off the end of it; the "save media" button continues the conversion until it gets to 60% and then hangs forever. In at least one instance the main process had 22 sub-processes.

If I turn off frame accurate processing then the job completes without issue.

etencore commented 5 years ago

I confirm this conversion problem after "save" which blocks around 60% (with DV files) The problem does not occur if "frame accurate cutting" is not enabled. This problem may be similar to report #218 (Export freezes at 50%[could not open codec]) Version: 6.0.0 - Flatpack System: Linux Mint mate 18.3 64bit

mnbrgr commented 4 years ago

I observe the same behavior at 80% with vidCutter 6.0.0 on Linux Mint 19.2 64bit

If I toggle audio steam on, it works. If I disable frame accurate cutting, it works.