Recherche avancée

Médias (91)

Autres articles (11)

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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

Sur d’autres sites (515)

  • ffmpeg : not found when running ffmpeg via php xampp (mac)

    28 août 2021, par Alex Styl

    I am trying to execute ffmpeg from php. I have installed ffmpeg locally on my mac via homebrew and I am able to run the commands I need via terminal.

    


    When I try to execute the following code :

    


    &lt;?php&#xA;    echo "Starting ffmpeg";&#xA;    $output = shell_exec("ffmpeg -i test.mp3 -codec:a libmp3lame -b:a 128k out.mp3 2>&amp;1");&#xA;    echo "<pre>$output</pre>";&#xA;?>&#xA;

    &#xA;

    I am receiving the following on my browser :

    &#xA;

    &#xA;

    Starting ffmpeg

    &#xA;

    sh : 1 : ffmpeg : not found

    &#xA;

    &#xA;

    I am assuming that I somehow need to install ffmpeg to my xampp server but it is not obvious how to do that. After searching online I can find linux and Windows tutorials but I couldn't figure out something out by looking at them.

    &#xA;

    What I tried doing was to download the ffmpeg static build form https://ffmpeg.org/download.html#build-mac and placed it in the htdocs holder, and then tried to execute ffmpeg as if it was an executable (after changing chmod), but that gave me

    &#xA;

    &#xA;

    sh : 1 : ./ffmpeg : Exec format error

    &#xA;

    &#xA;

    How would one go and install and then run ffmpeg on their xampp server ?

    &#xA;

  • ffmpeg : not found after compiling ffmpeg [closed]

    26 avril 2023, par Anatoly Rozhkov

    I've compiled ffmpeg after downloading it from here

    &#xA;

    Those are the commands I used in Docker

    &#xA;

    RUN apk add build-base yasm &amp;&amp; \&#xA;./ffmpeg-5.1.1/configure &amp;&amp; make &amp;&amp; make build&#xA;

    &#xA;

    After trying to call ffmpeg from a file I've got the exception : ffmpeg : not found

    &#xA;

    ffmpeg -hide_banner -loglevel error -framerate 1 -pattern_type glob -i "$1" -c:v libx264 -pix_fmt yuv420p $2&#xA;

    &#xA;

    What have I done wrong ?

    &#xA;

  • How to use ffmpeg.dmg on Mac same way as ffmpeg.exe on windows via bat files ? [on hold]

    25 janvier 2017, par EhabSherif

    I was wondering how can I use ffmpeg.dmg on Mac same way as ffmpeg.exe on windows via bat files ? without installing ffmpeg on the PC.

    For example if I wanted to create a thumbnial from video file I type this line in a text file and rename it to xxxx.bat and place it beside the exe

    ffmpeg.exe -i "input.mp4" -an -ss 00:00:02 -an -r 1 -vframes 1 -s 512x512 -y "output.jpg"

    anyway to do the same on mac ? I tried renaming ffmpeg.exe to ffmpeg.dmg and xxxx.bat to xxxx.command thought it was that simple :) but of course didn’t work.