vidcutter
vidcutter copied to clipboard
Vidcutter fails to export using smart cut
2018-02-02 00:52 - vidcutter.libs.videoservice - INFO - /usr/bin/ffprobe -hide_banner -v error -show_packets -select_streams v -show_entries packet=pts_time,flags -of csv "/home/rusins/video.mp4"
2018-02-02 00:52 - root - CRITICAL - File "/usr/lib/python3.6/site-packages/vidcutter/videocutter.py", line 1117, in saveMedia
self.smartcutter(file, source_file, source_ext)
File "/usr/lib/python3.6/site-packages/vidcutter/videocutter.py", line 1167, in smartcutter
allstreams=True)
File "/usr/lib/python3.6/site-packages/vidcutter/libs/videoservice.py", line 295, in smartcut
bisections = self.getGOPbisections(source, start, end)
File "/usr/lib/python3.6/site-packages/vidcutter/libs/videoservice.py", line 495, in getGOPbisections
end_pos = bisect_left(keyframes, end)
2018-02-02 00:52 - root - CRITICAL - <class 'TypeError'>: '<' not supported between instances of 'str' and 'float'
Using Arch, can provide extra console output if needed. Smartcut worked for me previously, I suspect an update must have broken it.
I had the same message when trying to save h264 files. See https://github.com/ozmartian/vidcutter/issues/257#issuecomment-569539686 for my solution.
possibly https://github.com/ratcashdev/vidcutter/commit/306f153a76dd7583d41133f5e69985d93c98b466 fixes is related. It may give a hint about to fix this as well?