Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (85)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (10262)

  • 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/'
  });
}


    


  • Android NDK Build FFMPEG in 2021

    19 janvier 2023, par Kyros

    I'm working on an android app, and I have to convert webm files to mp3.
I really want to make a custom ffmpeg build, because it reduces the ffmpeg executable size to only 2MB.

    


    My library works absolutely fine when running on my PC, but i'm struggling to build it for android... It seems like NDK architecture has changed and tutorials are outdated, and I can't find a proper and recent guide for android compiling...

    


    I also would like to target all architectures (aarch64, armv7, i686, and x86_64)...

    


    I've been on this for hours, fixed many errors, but still nothing has worked ><.&#xA;Please help me ! :

    &#xA;

    PS. I'm compiling on Linux, here is my configuration script :

    &#xA;

    #!/bin/bash&#xA;&#xA;API=31 # target android api&#xA;&#xA;OUTPUT=/home/romain/dev/android/ffmpeg_build&#xA;&#xA;NDK=/home/romain/android-sdk/ndk/23.0.7599858&#xA;TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/linux-x86_64&#xA;SYSROOT=$TOOLCHAIN/sysroot&#xA;&#xA;TOOL_PREFIX="$TOOLCHAIN/bin/aarch64-linux-android"&#xA;&#xA;CC="$TOOL_PREFIX$API-clang"&#xA;CXX="$TOOL_PREFIX$API-clang&#x2B;&#x2B;"&#xA;&#xA;./configure \&#xA;    --prefix=$OUTPUT \&#xA;    --target-os=android \&#xA;    --arch=$ARCH \&#xA;    --cpu=$CPU \&#xA;    --disable-everything \&#xA;    --disable-everything \&#xA;    --disable-network \&#xA;    --disable-autodetect \&#xA;    --enable-small \&#xA;    --enable-decoder=opus,vorbis \&#xA;    --enable-demuxer=matroska \&#xA;    --enable-muxer=mp3 \&#xA;    --enable-protocol=file \&#xA;    --enable-filter=aresample \&#xA;    --enable-libshine \&#xA;    --enable-encoder=libshine \&#xA;    --cc=$CC \&#xA;    --cxx=$CXX \&#xA;    --sysroot=$SYSROOT \&#xA;    --extra-cflags="-0s -fpic"&#xA;&#xA;make&#xA;make install&#xA;

    &#xA;

  • ffmpeg on google app engine or other alternatives

    6 décembre 2022, par Jon Luc

    This isn’t really a problem with any specific bit of code more just a general question about how I would host a ffmpeg function within a severless function like google app engine. Basically I have a block of code that takes every n frame a video and uploads it to google cloud storage. I have tried implementing such a solution with Firebase functions but to no avail. I think the primary problem is really to do with file storage, from my undetnsdjng data should be written to the tmp folder.

    &#xA;

    So if anyone can outline exactly how I could host this on app engine that would be great, please be very specific and don’t assumeI know anything because I’ve only really worked with functions :)

    &#xA;

    Thanks so much

    &#xA;

    &#xA;//Essentially this but on app engine or any other severless environment&#xA;&#xA;try {&#xA;        const process = new ffmpeg(&#x27;star_wars_film_scene.mp4&#x27;);&#xA;        process.then(function(video) {&#xA;            // Callback mode&#xA;            video.fnExtractFrameToJPG(&#x27;helpers/frames/&#x27;, {&#xA;                every_n_frames: 500&#xA;                &#xA;            }, function(error, files) {&#xA;                if (error) {&#xA;                    console.log(error);&#xA;                    return;&#xA;                }&#xA;                ProcessFrames(files);&#xA;            });&#xA;        }, function(err) {&#xA;            console.log(err);&#xA;        });&#xA;    } catch (e) {&#xA;        console.log(&#x27;Houston, we have a problem&#x27;)&#xA;        console.log(e.code);&#xA;        console.log(e.msg);&#xA;    }&#xA;&#xA;

    &#xA;