Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (47)

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

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

  • How to run FFMPEG with —enable-libfontconfig on Amazon Linux 2

    22 avril 2024, par Adrien Kaczmarek

    Problem

    &#xA;

    I want to run FFmpeg on AWS Lambda (Amazon Linux 2) with the configuration --enable-libfontconfig enable.

    &#xA;

    Situation

    &#xA;

    I already have FFmpeg running on AWS Lambda without the configuration --enable-libfontconfig.

    &#xA;

    Here is the step I took to run FFmpeg on AWS Lambda (see official guide) :

    &#xA;

      &#xA;
    • Connect to Amazon EC2 running on AL2 (environment used by Lambda for Python 3.11)
    • &#xA;

    • Download and package FFmpeg from John Van Sickle
    • &#xA;

    • Create a Lambda Layer with FFmpeg
    • &#xA;

    &#xA;

    Unfortunately, the version built by John Van Sickle doesn't have the configuration --enable-libfontconfig enabled.

    &#xA;

    Unsuccessful Trials

    &#xA;

    I tried to rebuilt it from scratch following the installation guide but without success (and the guide doesn't install font related dependencies)

    &#xA;

    I tried to install it with brew but the command brew install ffmpeg didn't succeed on AL2.

    &#xA;

    I tried to install ffmpeg from ffmpeg-master-latest-linux64-gpl.tar.xz. Unfortunately, this build of ffmpeg doesn't run on AL2 :

    &#xA;

    ffmpeg: /lib64/libm.so.6: version `GLIBC_2.27&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libpthread.so.0: version `GLIBC_2.28&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libc.so.6: version `GLIBC_2.27&#x27; not found (required by ffmpeg)&#xA;ffmpeg: /lib64/libc.so.6: version `GLIBC_2.28&#x27; not found (required by ffmpeg)&#xA;

    &#xA;

    Any help would be greatly appreciated,

    &#xA;

    Please make sure your answer is up to date and tested. Too many answers out there are auto-generated, too generic, or simple redirect without context.

    &#xA;

    Thank you

    &#xA;

  • ffmpeg throwing "errorMessage" : "spawn ffmpeg ENOENT"

    4 juin 2024, par ian

    My ffmpeg function thats running as a shell command isnt working. I think its because 'ffmpeg' isnt really referring to anything. I have the ffmpeg node module in my bundle, but i dont know the execFile command is referring to it here.

    &#xA;&#xA;

    Im following aws-lambda-ffmpeg as an example of how to call this particular function. They are referring to 'ffmpeg' as a 64-bit linux build they created from John Vansickle's static FFMPEG builds in their gulp function.

    &#xA;&#xA;

    I want to know how to replace 'ffmpeg' with something that will just recognize it like a node_module without having to do the whole gulp static build process. To my understanding the only reason they are doing that is to get the latest build which i really dont need.

    &#xA;&#xA;

    If I am wrong and a static build using gulp is needed for another reason please let me know.

    &#xA;&#xA;

    function ffmpegProcess(description, cb) {&#xA;console.log(&#x27;Starting FFmpeg&#x27;);&#xA;&#xA;child_process.execFile(&#xA;    &#x27;ffmpeg&#x27;,&#xA;    [&#xA;        &#x27;-y&#x27;,&#xA;        &#x27;-loglevel&#x27;, &#x27;warning&#x27;,&#xA;        &#x27;-i&#x27;, &#x27;download&#x27;,&#xA;        &#x27;-c:a&#x27;, &#x27;copy&#x27;,&#xA;        &#x27;-vf&#x27;, scaleFilter,&#xA;        &#x27;-movflags&#x27;, &#x27;&#x2B;faststart&#x27;,&#xA;        &#x27;-metadata&#x27;, &#x27;description=&#x27; &#x2B; description,&#xA;        &#x27;out.&#x27; &#x2B; config.format.video.extension,&#xA;        &#x27;-vf&#x27;, &#x27;thumbnail&#x27;,&#xA;        &#x27;-vf&#x27;, scaleFilter,&#xA;        &#x27;-vframes&#x27;, &#x27;1&#x27;,&#xA;        &#x27;out.&#x27; &#x2B; config.format.image.extension&#xA;    ],&#xA;    {&#xA;        cwd: tempDir&#xA;    },&#xA;    function(err, stdout, stderr) {&#xA;        console.log(&#x27;FFmpeg done.&#x27;);&#xA;        return cb(err, &#x27;FFmpeg finished:&#x27; &#x2B; JSON.stringify({ stdout: stdout, stderr: stderr}));&#xA;    }&#xA;);&#xA;}&#xA;

    &#xA;