Using Arch Linux. I get this error after selecting how many clips I want to generate
(env) ➜ ClippedAI git:(main) ✗ python main.py
[nltk_data] Downloading package punkt to /home/blutig/nltk_data...
[nltk_data] Package punkt is already up-to-date!
/home/blutig/ClippedAI/env/lib/python3.10/site-packages/pyannote/audio/core/io.py:212: UserWarning: torchaudio._backend.list_audio_backends has been deprecated. This deprecation is part of a large refactoring effort to transition TorchAudio into a maintenance phase. The decoding and encoding capabilities of PyTorch for both audio and video are being consolidated into TorchCodec. Please see pytorch/audio#3902 for more information. It will be removed from the 2.9 release.
torchaudio.list_audio_backends()
[nltk_data] Downloading package punkt to /home/blutig/nltk_data...
[nltk_data] Package punkt is already up-to-date!
How many clips do you want for 'Uranium.mp4'?
- 1-2
- 3-4
- 5-6
- 7-8
- 9-10
- 11-12
Your choice: 3
Will select up to 6 clips (if available and engaging).
=== Processing Video 1/1: Uranium.mp4 ===
Traceback (most recent call last):
File "/home/blutig/ClippedAI/main.py", line 370, in
transcriber = Transcriber(model_size="large-v1")
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/clipsai/transcribe/transcriber.py", line 70, in init
self._model = whisperx.load_model(
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/whisperx/init.py", line 20, in load_model
asr = _lazy_import("asr")
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/whisperx/init.py", line 5, in _lazy_import
module = importlib.import_module(f"whisperx.{name}")
File "/home/blutig/.pyenv/versions/3.10.6/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/whisperx/asr.py", line 5, in
import ctranslate2
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/ctranslate2/init.py", line 21, in
from ctranslate2._ext import (
ImportError: libctranslate2-d3638643.so.4.4.0: cannot enable executable stack as shared object requires: Invalid argument
Using Arch Linux. I get this error after selecting how many clips I want to generate
(env) ➜ ClippedAI git:(main) ✗ python main.py
[nltk_data] Downloading package punkt to /home/blutig/nltk_data...
[nltk_data] Package punkt is already up-to-date!
/home/blutig/ClippedAI/env/lib/python3.10/site-packages/pyannote/audio/core/io.py:212: UserWarning: torchaudio._backend.list_audio_backends has been deprecated. This deprecation is part of a large refactoring effort to transition TorchAudio into a maintenance phase. The decoding and encoding capabilities of PyTorch for both audio and video are being consolidated into TorchCodec. Please see pytorch/audio#3902 for more information. It will be removed from the 2.9 release.
torchaudio.list_audio_backends()
[nltk_data] Downloading package punkt to /home/blutig/nltk_data...
[nltk_data] Package punkt is already up-to-date!
How many clips do you want for 'Uranium.mp4'?
Your choice: 3
Will select up to 6 clips (if available and engaging).
=== Processing Video 1/1: Uranium.mp4 ===
Traceback (most recent call last):
File "/home/blutig/ClippedAI/main.py", line 370, in
transcriber = Transcriber(model_size="large-v1")
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/clipsai/transcribe/transcriber.py", line 70, in init
self._model = whisperx.load_model(
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/whisperx/init.py", line 20, in load_model
asr = _lazy_import("asr")
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/whisperx/init.py", line 5, in _lazy_import
module = importlib.import_module(f"whisperx.{name}")
File "/home/blutig/.pyenv/versions/3.10.6/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/whisperx/asr.py", line 5, in
import ctranslate2
File "/home/blutig/ClippedAI/env/lib/python3.10/site-packages/ctranslate2/init.py", line 21, in
from ctranslate2._ext import (
ImportError: libctranslate2-d3638643.so.4.4.0: cannot enable executable stack as shared object requires: Invalid argument