Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (104)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • MediaSPIP Init et Diogène : types de publications de MediaSPIP

    11 novembre 2010, par

    À l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
    Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
    Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)

Sur d’autres sites (13384)

  • Error : ffmpeg exited with code 2 - Docker Container

    15 avril 2020, par Vincenzo Asta

    I created a Docker Container that when I run I get this error (Why do I get this error ? It works locally) :

    



    {&#xA;    "message": "Error: ffmpeg exited with code 2&#xA;    at ChildProcess.<anonymous> (/app/lib/node_modules/fluent-ffmpeg/lib/processor.js:182:22)&#xA;    at emitTwo (events.js:126:13)&#xA;    at ChildProcess.emit (events.js:214:7)&#xA;    at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)"&#xA;}&#xA;</anonymous>

    &#xA;&#xA;

    Below, the part of code where I get the error (in particular the execution goes into reject) :

    &#xA;&#xA;

    var ffmpeg = require(&#x27;fluent-ffmpeg&#x27;);&#xA;&#xA;module.exports = (sourcePath, outputPath, af, outputFormat="mp3") => {&#xA;    return new Promise((resolve, reject) => {&#xA;        let proc = new ffmpeg({ source: sourcePath, nolog: true });&#xA;        proc.audioQuality(0);&#xA;        proc.audioFilters(af);&#xA;        proc.setFfmpegPath(__dirname &#x2B; "/ffmpeg-20180325-5b31dd1-win64-static/bin/ffmpeg.exe");&#xA;        proc.toFormat(outputFormat).on(&#x27;end&#x27;, function () {&#xA;            resolve();&#xA;        })&#xA;        .on(&#x27;error&#x27;, function (err) {&#xA;            reject(err);&#xA;        })&#xA;            .saveToFile(outputPath);&#xA;    })&#xA;}&#xA;

    &#xA;&#xA;

    My Dockerfile :

    &#xA;&#xA;

    FROM node:8.11.1&#xA;&#xA;WORKDIR /app&#xA;&#xA;COPY package*.json /app/&#xA;&#xA;RUN npm install&#xA;&#xA;COPY . /app/&#xA;&#xA;EXPOSE 8000&#xA;&#xA;CMD [ "node", "app.js" ]&#xA;

    &#xA;&#xA;

    My package.json :

    &#xA;&#xA;

    {&#xA;  "name": "",&#xA;  "version": "1.0.0",&#xA;  "description": "",&#xA;  "main": "app.js",&#xA;  "author": "",&#xA;  "license": "ISC",&#xA;  "dependencies": {&#xA;    "express": "^4.16.4",&#xA;    "azure-storage": "^2.1.0",&#xA;    "crypto": "^0.0.3",&#xA;    "ffmpeg": "^0.0.4",&#xA;    "ffmpeg-normalize": "^1.3.0",&#xA;    "fluent-ffmpeg": "^2.1.2",&#xA;    "fs": "^0.0.1-security",&#xA;    "jmespath": "0.15.0",&#xA;    "mp3-duration": "^1.1.0",&#xA;    "striptags": "^3.1.1"&#xA;  }&#xA;}&#xA;

    &#xA;

  • Use correct iso code for swedish

    3 avril 2012, par Markus Nilsson

    m localization/messages_sv.js Use correct iso code for swedish Fixes #18

  • Anomalie #4306 : Erreur détection code mal formé

    6 mars 2019, par jluc -

    décidément la balise code se rebelle. En pseudo html c’est :

    code 
       /onglet
    /code
    cadre
       $onglet2 = ($quoi == ’actifs’ ? ’plugins_actifs’ : ’admin_plugin’) ;Retour ligne automatique
    /cadre
    

    Ou sinon voir là : https://contrib.spip.net/ecrire/?exec=article&id_article=5117