-
Notifications
You must be signed in to change notification settings - Fork 537
Open
Description
Installed with pipx over Pop!_OS 22.04 LTS:
pipx install jumpcutter
installed package jumpcutter 0.1.6, installed using Python 3.10.12
These apps are now globally available
- jumpcutter
done! β¨ π β¨
And tried exactly the same way on an Ubuntu 20.04 (working fine). Tried with webm and mp4 with identical results:
jumpcutter --input 'my_video.webm' --output 'my_video_(without_silence).webm'
Running with the arguments:
Namespace(input=PosixPath('my_video.webm'), output=PosixPath('my_video_(without_silence).webm'), cut='silent', magnitude_threshold_ratio=0.02, duration_threshold=0.5, failure_tolerance_ratio=0.1, space_on_edges=0.1, silence_part_speed=None, min_loud_part_duration=-1, codec=None, bitrate=None)
------------------------------------------------------------
Traceback (most recent call last):
File "/home/pablo/.local/bin/jumpcutter", line 8, in <module>
sys.exit(main())
File "/home/pablo/.local/lib/python3.10/site-packages/jumpcutter/__main__.py", line 115, in main
clip = Clip(str(input_path), args.min_loud_part_duration, args.silence_part_speed)
File "/home/pablo/.local/lib/python3.10/site-packages/jumpcutter/clip.py", line 11, in __init__
self.audio = Audio(self.clip.audio)
File "/home/pablo/.local/lib/python3.10/site-packages/jumpcutter/clip.py", line 81, in __init__
self.signal = self.audio.to_soundarray()
File "<decorator-gen-44>", line 2, in to_soundarray
File "/home/pablo/.local/lib/python3.10/site-packages/moviepy/decorators.py", line 54, in requires_duration
return f(clip, *a, **k)
File "/home/pablo/.local/lib/python3.10/site-packages/moviepy/audio/AudioClip.py", line 113, in to_soundarray
return stacker(self.iter_chunks(fps=fps, quantize=quantize,
File "/home/pablo/.local/lib/python3.10/site-packages/numpy/core/shape_base.py", line 216, in _vhstack_dispatcher
return _arrays_for_stack_dispatcher(tup)
File "/home/pablo/.local/lib/python3.10/site-packages/numpy/core/shape_base.py", line 209, in _arrays_for_stack_dispatcher
raise TypeError('arrays to stack must be passed as a "sequence" type '
TypeError: arrays to stack must be passed as a "sequence" type such as list or tuple.
Metadata
Metadata
Assignees
Labels
No labels