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

Edited Video cannot save properly #212

Open
KokeCacao opened this issue Jan 26, 2019 · 3 comments
Open

Edited Video cannot save properly #212

KokeCacao opened this issue Jan 26, 2019 · 3 comments

Comments

@KokeCacao
Copy link

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
Copy link

pbhj commented Feb 10, 2019

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
Copy link

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
Copy link

mnbrgr commented Nov 3, 2019

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

  • Original video file: MP4 v2 [ISO 14496-14]
  • I crop a part from the beginning and the end
  • I have frame accurate cutting enabled.
  • I toggle the audio steam off

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

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

4 participants