Advanced search

Medias (1)

Tag: - Tags -/blender

Other articles (88)

  • Amélioration de la version de base

    13 September 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 (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 February 2011, by

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 March 2010, by

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3); le plugin champs extras v2 nécessité par (...)

On other websites (5534)

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

    4 October 2015, by 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/'
     });
    }
  • Find a resolution (dimension) of a video object saved in S3 - in rails

    27 September 2015, by JVK

    I have video files saved in s3 and I want to find the dimension/resolution of any file (lets assume file sizes are in 500mb) per the request comes in my rails app.

    One of the options, I have in my mind is:

    Download (getObject) the file in local memory and use ffmpeg to find the required info. I currently don’t have ffmpeg, as I don’t need that for any task.

    But, I don’t like this option, reason is - I don’t want to waste bandwidth to download it first (takes time) from S3 and then run cpu and memory intensive ffmpeg on my server to merely find the dimension/resolution of the video.

    Is there any better solution?

    S3 object HEAD call on object unfortunately doesn’t return dimension information.

  • Cannot find library using gcc -shared in Eclipse to build a dll

    26 September 2015, by tishu

    I am trying to use the FFMPEG library that I just compiled on Windows using MinGW in a C program in Eclipse. I have managed to build a simple HelloJNI.c file and run it:

    gcc $(INCLUDES) -c -g -w HelloJNI.c
    gcc -shared -o $(BIN_DIR)/hello.dll HelloJNI.o

    I am now trying to compile a ffmpeg_native.c file that uses FFMPEG but I am getting errors running the following:

    LIBRARY_PATH = -L:"c:/Dev/msys-1.0/local/lib" -L:"c:/Dev/msys-1.0/local"
    INCLUDES = -I$(SRC_DIR) -I"c:/Dev/msys-1.0/local/include" -I"c:/Program Files/Java/jdk1.8.0_45/include" -I"c:/Program Files/Java/jdk1.8.0_45//include/win32"
    BIN_DIR = ../bin

    gcc $(INCLUDES) -c -g -w ffmpeg_native1.1.4.c
    gcc -shared -o $(BIN_DIR)/exportnative.dll ffmpeg_native1.1.4.o $(LIBRARY_PATH) -lffmpeg -lavcodec -lx264 -lavformat -lavutil -lswscale

    The first line runs fine but the second shows this output:

    c:/Dev/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/4.9.3/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lavcodec
    [etc for all libraries]

    I am puzzled as I am able to run the following in MinGW with success:

    ld -o /local/libffmpeg.so -L/local/lib -lavcodec -lx264 -lavformat -lavutil -lswscale