Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (37)

  • Organiser par catégorie

    17 mai 2013, par

    Dans 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 2013

    3 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, par

    L’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 Niedermayer
    MAINTAINERS : 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 prefer

    This allows specifying a git repository for an area

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] MAINTAINERS
  • OSError : [WinError 126] Não foi possível encontrar o módulo especificado. Error loading [closed]

    27 août 2024, par Felipes

    Informações relevantes

    &#xA;

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

    &#xA;

    Tudo isso dentro de um ambiente virtual&#xA;**

    &#xA;

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

    &#xA;

    import whisper&#xA;import os&#xA;&#xA;# Carregar o modelo&#xA;model = whisper.load_model("base")  # Pode usar &#x27;small&#x27;, &#x27;medium&#x27;, &#x27;large&#x27; conforme a necessidade&#xA;&#xA;# Carregar o &#xE1;udio&#xA;audio_path = "audio.mp3"  # Substitua pelo caminho do arquivo de &#xE1;udio extra&#xED;do&#xA;result = model.transcribe(audio_path)&#xA;&#xA;# Obter o texto da transcri&#xE7;&#xE3;o&#xA;transcription_text = result[&#x27;text&#x27;]&#xA;&#xA;# Salvar a transcri&#xE7;&#xE3;o em um arquivo .txt&#xA;with open("transcription.txt", "w") as file:&#xA;    file.write(transcription_text)&#xA;&#xA;print("Transcri&#xE7;&#xE3;o salva em &#x27;transcription.txt&#x27;")&#xA;

    &#xA;

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

    &#xA;

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

    &#xA;

    É 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.

    &#xA;

    PS : o msm codigo rodou perfeitamente no Debian 12

    &#xA;

    Verifiquei o ambiente virtual, reistalei tudo

    &#xA;

  • Is there a way to open a batch file at a certain line using a command prompt window

    14 août 2024, par Voidmaster01

    Im 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.

    &#xA;

    this is the first area of the code

    &#xA;

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

    &#xA;

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

    &#xA;

    Im thinking its something along the lines of

    &#xA;

    Start M:\REMUX.bat at line 6

    &#xA;

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

    &#xA;