
Recherche avancée
Autres articles (37)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Les thèmes de MediaSpip
4 juin 20133 thèmes sont proposés à l’origine par MédiaSPIP. L’utilisateur MédiaSPIP peut rajouter des thèmes selon ses besoins.
Thèmes MediaSPIP
3 thèmes ont été développés au départ pour MediaSPIP : * SPIPeo : thème par défaut de MédiaSPIP. Il met en avant la présentation du site et les documents média les plus récents ( le type de tri peut être modifié - titre, popularité, date) . * Arscenic : il s’agit du thème utilisé sur le site officiel du projet, constitué notamment d’un bandeau rouge en début de page. La structure (...) -
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (4172)
-
MAINTAINERS : Add T field based on the linux kernel MAINTAINERs
14 août 2024, par Michael NiedermayerMAINTAINERS : Add T field based on the linux kernel MAINTAINERs
Text was stolen from the linux kernel
This is thus identical to the kernel just a different more compact format.
I am very happy also to switch the file entirely to the format of the linux kernel maintainer list
if people preferThis allows specifying a git repository for an area
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>
-
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


-
Is there a way to open a batch file at a certain line using a command prompt window
14 août 2024, par Voidmaster01Im testing a batch file that Im still in the process of making and I want to open it at line 6 instead of line 1 since ive already run that part of the code. it takes a couple of minutes to run it since im using ffmpeg.


this is the first area of the code


1 @Echo off
2 set /p IPath=Enter the Path of the file you wish to remux from (use "Copy as path" option and keep the Quotations): 
3 set /P M=what is the first letter of the path of your new file?(do not include the semicolon(:))
4 set /p NewPath=Enter the Path you wish to remux to (must be path minus the directory BUT do not use Quotations for this)(I also recommend using a single folder to hold the files while remuxing them before sending them to their separate folders):
5 ffmpeg -i %IPath% -c copy -map 0 "%M%:\%NewPath%"
6 goto :Premiere &:: This command takes inputs from the previous lines and sets up to remux files
7
8 :Premiere &:: this command line starts the preferred editor and waits 30 seconds to allow it to start
9 set /p EDITOR=Enter the .exe file for your prefered editor should look like: 'Adobe Premiere Pro.exe':
10 start "" "%EDITOR%"
11 echo Starting Process. . . Please Wait
12 timeout /t 30
13 tasklist | find /I "%EDITOR%" &:: The next couple of lines test for the editor to see if it opened or not
14 if errorlevel 1 (
15 echo could not start process 
16 goto :FailEditor
17 ) Else (
18 echo Process completed, next question--->
19 goto :choice
20 )



so instead of starting at line 1 i would like to start at line 6 to bypass the longest section of the code.


Im thinking its something along the lines of


Start M:\REMUX.bat at line 6


however
AT
is a command to tell a time to start the batch file so im not sure