Recherche avancée

Médias (1)

Mot : - Tags -/publicité

Autres articles (97)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (10826)

  • ERROR : "Cannot Find FFMPEG" on Google Cloud Compute Engine Debian Wheezy 7.8 Managed Instance even though it's installed

    17 mai 2021, par DynamoBooster

    I wrote a Node.JS application that uses the fluent-ffmpeg module to watermark videos uploaded on the platform. I pushed the code to a my Google Cloud Compute Engine project, and every time I get Error : Cannot Find FFMPEG. I ssh'd into the instance once it was created and ran these commands to install FFMPEG before actually testing out the code. I am not sure what is causing the error because after this I am positive that FFMPEG is installed.

    



    sudo apt-get update
sudo apt-get install -y ffmpeg
export FFMPEG_PATH="/usr/bin/ffmpeg"
export FFPROBE_PATH="/usr/bin/ffprobe"


    



    Below is my FFMPEG code

    



    function generate_thumbnail(name, path){
  logging.info("Generating Thumbnail");
  ffmpeg(path)
   .setFfmpegPath('/usr/bin/ffmpeg') 
   .setFfprobePath('/usr/bin/ffprobe')
   .on('end', function() {
        upload_thumbnail(name);
        logging.info("Thumbnail Generated and uploaded");
        return;
    })
  .on('error', function(err, stdout, stderr) {
        logging.info('ERROR: ' + err.message);
        logging.info('STDERR:' + stderr);
  })
  .on('start', function(commandLine) {
       logging.info(commandLine);
  })
  .screenshots({
    count: 1,
    filename: name + '_thumbnail.png',
    folder: 'public/images/thumbnails/'
  });
}


    


  • ERROR : "Cannot Find FFMPEG" on Google Cloud Compute Engine Debian Wheezy 7.8 Managed Instance even though it's installed

    4 octobre 2015, par DynamoBooster

    I wrote a Node.JS application that uses the fluent-ffmpeg module to watermark videos uploaded on the platform. I pushed the code to a my Google Cloud Compute Engine project, and every time I get Error : Cannot Find FFMPEG. I ssh’d into the instance once it was created and ran these commands to install FFMPEG before actually testing out the code. I am not sure what is causing the error because after this I am positive that FFMPEG is installed.

    sudo apt-get update
    sudo apt-get install -y ffmpeg
    export FFMPEG_PATH="/usr/bin/ffmpeg"
    export FFPROBE_PATH="/usr/bin/ffprobe"

    Below is my FFMPEG code

    function generate_thumbnail(name, path){
     logging.info("Generating Thumbnail");
     ffmpeg(path)
      .setFfmpegPath('/usr/bin/ffmpeg')
      .setFfprobePath('/usr/bin/ffprobe')
      .on('end', function() {
           upload_thumbnail(name);
           logging.info("Thumbnail Generated and uploaded");
           return;
       })
     .on('error', function(err, stdout, stderr) {
           logging.info('ERROR: ' + err.message);
           logging.info('STDERR:' + stderr);
     })
     .on('start', function(commandLine) {
          logging.info(commandLine);
     })
     .screenshots({
       count: 1,
       filename: name + '_thumbnail.png',
       folder: 'public/images/thumbnails/'
     });
    }
  • torchaudio can't find FFmpeg

    15 novembre 2023, par KJ H

    Windows, vscode, Python 3.11.4-64bit

    


    import torch
import torchaudio

print(torch.__version__)
print(torchaudio.__version__)
print(torchaudio._extension._FFMPEG_INITIALIZED)


    


    2.0.1+cu117
2.0.2+cu117
False


    


    and i try

    


    torchaudio._extension._init_ffmpeg()


    


    Traceback (most recent call last):&#xA;  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\torchaudio\_extension\utils.py", line 85, in _init_ffmpeg&#xA;    _load_lib("libtorchaudio_ffmpeg")&#xA;  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\torchaudio\_extension\utils.py", line 61, in _load_lib&#xA;    torch.ops.load_library(path)&#xA;  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\torch\_ops.py", line 643, in load_library&#xA;    ctypes.CDLL(path)&#xA;  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\ctypes\__init__.py", line 376, in __init__&#xA;    self._handle = _dlopen(self._name, mode)&#xA;                   ^^^^^^^^^^^^^^^^^^^^^^^^^&#xA;FileNotFoundError: Could not find module &#x27;C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\torchaudio\lib\libtorchaudio_ffmpeg.pyd&#x27; (or one of its dependencies). Try using the full path with constructor syntax.&#xA;&#xA;The above exception was the direct cause of the following exception:&#xA;&#xA;Traceback (most recent call last):&#xA;  File "c:\Users\USER\Desktop\MyChatBot\0.py", line 6, in <module>&#xA;    torchaudio._extension._init_ffmpeg()&#xA;  File "C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\torchaudio\_extension\utils.py", line 87, in _init_ffmpeg&#xA;    raise ImportError("FFmpeg libraries are not found. Please install FFmpeg.") from err&#xA;ImportError: FFmpeg libraries are not found. Please install FFmpeg.&#xA;</module>

    &#xA;

    my libtorchaudio_ffmpeg.pyd exists and it's path is correct, but ctypes can't seem to find it.&#xA;how should i do ?

    &#xA;

    I have also downloaded ffmpeg.

    &#xA;

    C:\Users\USER>ffmpeg&#xA;ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers&#xA;  built with gcc 10.2.1 (GCC) 20200726&#xA;

    &#xA;

    but still not working.&#xA;how should i do ?

    &#xA;