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

Export freezes at 50% [could not open codec] #218

Closed
Platypants opened this issue Feb 26, 2019 · 6 comments
Closed

Export freezes at 50% [could not open codec] #218

Platypants opened this issue Feb 26, 2019 · 6 comments

Comments

@Platypants
Copy link

Platypants commented Feb 26, 2019

Hi, I'm a new user. I'm running Ubuntu 18.04.2 with Vidcutter 6.0.0. When I attempt to export my cuts with "Save Media", the progress bar jumps to 50% and then freezes there. I'm forced to quit the program. I have tried this with mp4s and flvs of varying lengths with the same results. The only possible clue I see in the console window is "[vd] Could not open codec."

@Platypants Platypants changed the title codec Export freezes at 50% [could not open codec] Feb 26, 2019
@ted-dev-42
Copy link

same issue here, closing SmartCut may fix it.

@gwarah
Copy link

gwarah commented Mar 3, 2019

Same issue but sometimes freezing at 66% (for 2 or more clips).

System info

$(uname -a)=Linux4.15.0-45-generic #48~16.04.1-Ubuntu SMP Tue Jan 29 18:03:48 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
install: snap
version: 6.0.0

screenshots

vidcutter_01_2019-03-03 11-34-27

vidcutter_2019-03-03 11-47-59

--debug log

(python3:15663): GLib-GIO-WARNING **: Error creating IO channel for /proc/mounts: Permission denied (g-file-error-quark, 2)
2019-03-03 11:56 - vidcutter.libs.videoservice - INFO - /snap/vidcutter/14/usr/bin/ffmpeg -hide_banner -v error -ss 00:00:40.080 -t 00:01:38.000 -i "/home/luis/Música/musica/video/Rush_Xanadu_Live_1977.flv" -c copy -map 0:0 -map 0:1 -avoid_negative_ts 1 -y "/tmp/vidcutter/Rush_Xanadu_Live_1977_EDIT_00.flv"
2019-03-03 11:56 - vidcutter.libs.videoservice - INFO - /snap/vidcutter/14/usr/bin/ffmpeg -hide_banner -v error -ss 00:04:05.960 -t 00:01:16.800 -i "/home/luis/Música/musica/video/Rush_Xanadu_Live_1977.flv" -c copy -map 0:0 -map 0:1 -avoid_negative_ts 1 -y "/tmp/vidcutter/Rush_Xanadu_Live_1977_EDIT_01.flv"
2019-03-03 11:56 - vidcutter.libs.videoservice - INFO - /snap/vidcutter/14/usr/bin/ffmpeg -hide_banner -i "/tmp/vidcutter/Rush_Xanadu_Live_1977_EDIT_00.flv"
2019-03-03 11:56 - vidcutter.videocutter - INFO - MPEG-TS based join failed, will retry using standard concat
2019-03-03 11:56 - vidcutter.libs.videoservice - INFO - /snap/vidcutter/14/usr/bin/ffmpeg -hide_banner -i "/tmp/vidcutter/Rush_Xanadu_Live_1977_EDIT_00.flv"
2019-03-03 11:56 - vidcutter.libs.videoservice - INFO - /snap/vidcutter/14/usr/bin/ffmpeg -hide_banner -i "/tmp/vidcutter/Rush_Xanadu_Live_1977_EDIT_01.flv"
2019-03-03 11:56 - vidcutter.libs.videoservice - INFO - /snap/vidcutter/14/usr/bin/ffmpeg -hide_banner -v error -f concat -safe 0 -i "/tmp/vidcutter/_vidcutter.list" -i "/tmp/vidcutter/ffmetadata.txt" -map_metadata 1 -c copy -map 0 -y "/home/luis/Área de Trabalho/temp/Rush_Xanadu_Live_1977_EDIT.flv"
2019-03-03 11:56 - root - CRITICAL -   File "/snap/vidcutter/14/lib/python3.5/site-packages/vidcutter/videocutter.py", line 1392, in saveMedia
    self.joinMedia(filelist)
  File "/snap/vidcutter/14/lib/python3.5/site-packages/vidcutter/videocutter.py", line 1450, in joinMedia
    self.complete(False)
  File "/snap/vidcutter/14/lib/python3.5/site-packages/vidcutter/videocutter.py", line 1460, in complete
    self.videoService.finalize(self.finalFilename)
  File "/snap/vidcutter/14/lib/python3.5/site-packages/vidcutter/libs/videoservice.py", line 283, in finalize
    self.checkDiskSpace(source)
  File "/snap/vidcutter/14/lib/python3.5/site-packages/vidcutter/libs/videoservice.py", line 162, in checkDiskSpace
    spacewarn = VCMessageBox('Warning', 'Disk space alert', warnmsg, self.parentWidget())

2019-03-03 11:56 - root - CRITICAL - <class 'AttributeError'>: 'VideoService' object has no attribute 'parentWidget'
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [vd] Uninit video.
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [cplayer] Video: no video
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [opengl-cb] flushing shader cache
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [cplayer] Run command: quit, flags=0, args=[0]
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [cplayer] EOF code: 6
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [ad] Uninit audio decoder.
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [af] Removing filter lavrresample
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [cplayer] finished playback, success (reason 3)
2019-03-03 11:56 - vidcutter.libs.mpvwidget - INFO - [cplayer] 

[1]+  Concluído              vidcutter --debug

@etencore
Copy link

This problem may be similar to report #212 (Edited Video cannot save properly)
In the case of problem #212, it does not occur if "frame accurate cutting" is not enabled.
Version: 6.0.0 - Flatpack
System: Linux Mint mate 18.3 64bit

@danaivehr
Copy link

Have the same issue.

It seems the clue is

2020-05-04 19:01 - root - CRITICAL -   File "/usr/lib/python3/dist-packages/vidcutter/videocutter.py", line 1392, in saveMedia
    self.joinMedia(filelist)
  File "/usr/lib/python3/dist-packages/vidcutter/videocutter.py", line 1452, in joinMedia
    self.complete(True, filelist[-1])
  File "/usr/lib/python3/dist-packages/vidcutter/videocutter.py", line 1460, in complete
    self.videoService.finalize(self.finalFilename)
  File "/usr/lib/python3/dist-packages/vidcutter/libs/videoservice.py", line 283, in finalize
    self.checkDiskSpace(source)
  File "/usr/lib/python3/dist-packages/vidcutter/libs/videoservice.py", line 162, in checkDiskSpace
    spacewarn = VCMessageBox('Warning', 'Disk space alert', warnmsg, self.parentWidget())

2020-05-04 19:01 - root - CRITICAL - <class 'AttributeError'>: 'VideoService' object has no attribute 'parentWidget'

It tries to show a dialog about Disk space and fails.
For me it happens if there is no info on free space - my video is on the mounted virtual drive.
If i try to cut the video from ordinary location, there is no any error.

@gwarah
Copy link

gwarah commented May 4, 2020

This problem may be similar to report #212 (Edited Video cannot save properly)
In the case of problem #212, it does not occur if "frame accurate cutting" is not enabled.
Version: 6.0.0 - Flatpack
System: Linux Mint mate 18.3 64bit

I've tried to convert with this configuration and the problem still remains.

System ubuntu 16.04 LTS 64 bits

@Choupinounours
Copy link

I think i had a similar issue, and i gave the solution i found, here : #337 (comment)

Maybe it will help you...

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

7 participants