Recherche avancée

Médias (91)

Autres articles (80)

  • 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 (...)

  • Selection of projects using MediaSPIP

    2 mai 2011, par

    The examples below are representative elements of MediaSPIP specific uses for specific projects.
    MediaSPIP farm @ Infini
    The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (12195)

  • ffmpeg shared libraries setup on visual studio 2013

    19 décembre 2017, par Hyun Jung

    Setting up ffmpeg shared libraries that are downloaded from ffmpeg zenaroe (https://ffmpeg.zeranoe.com/builds/) for windows_64bit. The IDE is VS2013.

    I downloaded dev and shared build for windows 64bit.

    And followed steps like bellow but when building, linker error happens. The object file is created so compiling seems done. But there seems to be a problem finding referenced functions at the linking stage.

    1. Create win32 project and main.cpp
    2. Copy ffmpeg_dev’s include and lib folders to solution directory.
    3. Open project properties and add the include dir and the lib dir.
    4. Add lib names to linker input.
    5. Build

      main.cpp

      extern "C"{
      #include
      }
      int main(void){

         av_register_all();

         return 0;
      }

    The linker error is :

    LNK2019 unresloved external symbol _av_register_all referenced in function _main.

  • How can I bundle ffmpeg in an Electron application

    14 janvier 2024, par jshbrntt

    I'm building an Electron application starting from the electron-webpack boilerplate.

    



    I found this node module @ffmpeg-installer/ffmpeg which installs a compatible precompiled binary into the /node_modules directory then makes the path of that executable accessible through.

    



    const ffmpegPath = require('@ffmpeg-installer/ffmpeg').path


    



    This works fine during development, but when I build the distributable and run it I get an error when attempting to spawn a child process with that path. Presumably, because the path does not point at the binary.

    



    The path is set to the following when running the distributable.

    



    /Users/me/project/dist/mac/AppName.app/Contents/Resources/app.asar/node_modules/@ffmpeg-installer/darwin-x64/ffmpeg


    



    However, when looking in the AppName.app package contents I find the binary in the following path.

    



    /Users/me/project/dist/mac/AppName.app/Contents/Resources/app.asar.unpacked/node_modules/@ffmpeg-installer/darwin-x64/ffmpeg


    



    How should I include binary dependencies in an Electron application using electron-webpack and electron-builder ?

    


  • NodeJs : How to pipe two streams into one spawned process stdin (i.e. ffmpeg) resulting in a single output

    20 juin 2018, par Keyne Viana

    In order to convert PCM audio to MP3 I’m using the following :

    function spawnFfmpeg() {
       var args = [
           '-f', 's16le',
           '-ar', '48000',
           '-ac', '1',
           '-i', 'pipe:0',
           '-acodec', 'libmp3lame',
           '-f', 'mp3',
           'pipe:1'
       ];

       var ffmpeg = spawn('ffmpeg', args);

       console.log('Spawning ffmpeg ' + args.join(' '));

       ffmpeg.on('exit', function (code) {
           console.log('FFMPEG child process exited with code ' + code);
       });

       ffmpeg.stderr.on('data', function (data) {
           console.log('Incoming data: ' + data);
       });

       return ffmpeg;
    }

    Then I pipe everything together :

    writeStream = fs.createWriteStream( "live.mp3" );
    var ffmpeg = spawnFfmpeg();
    stream.pipe(ffmpeg.stdin);
    ffmpeg.stdout.pipe(/* destination */);

    The thing is... Now I want to merge (overlay) two streams into one. I already found how to do it with ffmpeg : How to overlay two audio files using ffmpeg

    But, the ffmpeg command expects two inputs and so far I’m only able to pipe one input stream into the pipe:0 argument. How do I pipe two streams in the spawned command ? Would something like ffmpeg -i pipe:0 -i pipe:0... work ? How would I pipe the two incoming streams with PCM data (since the command expects two inputs) ?