
Recherche avancée
Autres articles (60)
-
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (5542)
-
Summer Hacking 2011
28 avril 2011, par Multimedia Mike — GeneralI recently learned that iD — you know, the famed game company — has a series of summer tech camps :
All I care to know is : Where were programs like these when I was 7-18 years old ? Born too early, I tell ya.
That reminds me that the Google Summer of Code, 2011 Edition is getting underway soon. I guess it’s like summertime computer camp for college-aged students. FFmpeg / libav is once again a part of the program with 10 slots awarded by Google. Here are the students, projects, and mentors.
Wish them luck.
-
Timestamp information of MP4
25 juillet 2016, par Zhenjie ZhaoI want to ask for an easy way to get the timestamp information of a mp4 file. (Sorry that I am not familiar with codec.)
I am reading the Tobii Pro Glasses SDK document that explains how to synchronize frame with eye tracking data, where they use a terminorlogy called VTS. Goolge cannot find the exact meaning, so I want to ask for what VTS really stands for and how to get it from a mp4 file. Thanks very much !
-
OSError : [WinError 126] Não foi possível encontrar o módulo especificado. Error loading [closed]
27 août 2024, par FelipesInformações relevantes


**
SO : Windowns 11
Dependencias : torch —extra-index-url https://download.pytorch.org/whl/cpu ;
openai-whisper ;
ffmpeg-python
Microsoft Visual C++ Redistributable


Tudo isso dentro de um ambiente virtual
**


Então... eu to com o seguinte codigo em python :


import whisper
import os

# Carregar o modelo
model = whisper.load_model("base") # Pode usar 'small', 'medium', 'large' conforme a necessidade

# Carregar o áudio
audio_path = "audio.mp3" # Substitua pelo caminho do arquivo de áudio extraído
result = model.transcribe(audio_path)

# Obter o texto da transcrição
transcription_text = result['text']

# Salvar a transcrição em um arquivo .txt
with open("transcription.txt", "w") as file:
 file.write(transcription_text)

print("Transcrição salva em 'transcription.txt'")



Basicamente é pegar um arquivo .mp3 e salvar a transcrisão no em arquivo txt
mas ao rodar o codigo eu recebo o seguinte erro :


Traceback (most recent call last):
 File "C:\Users\Felipe Bezerra\Documents\ytDownload\transcrisao.py", line 2, in <module>
 import whisper
 File "C:\Users\Felipe Bezerra\Documents\ytDownload\venv\Lib\site-packages\whisper\__init__.py", line 8, in <module>
 import torch
 File "C:\Users\Felipe Bezerra\Documents\ytDownload\venv\Lib\site-packages\torch\__init__.py", line 148, in <module>
 raise err
OSError: [WinError 126] Não foi possível encontrar o módulo especificado. Error loading "C:\Users\Felipe Bezerra\Documents\ytDownload\venv\Lib\site-packages\torch\lib\fbgemm.dll" or one of its dependencies.
</module></module></module>


É como se as dependências não estivecem instaladas, já verifiquei a variavél de ambiente, criei outro ambiente virtual, e sempre caio nesse mesmo erro.


PS : o msm codigo rodou perfeitamente no Debian 12


Verifiquei o ambiente virtual, reistalei tudo