Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (95)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

Sur d’autres sites (9258)

  • Find the correct FFmpeg path in php

    10 mai 2023, par Ashraf Hefny

    I am using FFmpeg with PHP on CentOS server.
the php code is

    



    $thumbnail = $this->generateRandomString(25);
$ffmpeg = "/usr/bin/man"; // or /usr/share/ffmpeg {not working}
$videoFile = $_FILES['file']['tmp_name'];
$imageFile = "uploads/images/video_thumbnail/$thumbnail.jpg";
$size = '340x250';
$getFrom = 10;
$cmd = "$ffmpeg -i $videoFile -an -ss $getFrom -s $size $imageFile";
shell_exec($cmd);


    



    When running command $whereis FFmpeg

    



    output is : ffmpeg: /usr/bin/ffmpeg /usr/share/ffmpeg /usr/share/man/man1/ffmpeg.1.gz

    



    So what's the correct path.

    


  • Revision 109689 : complement a r107628 et r107791 pour etre conforme au code original

    26 mars 2018, par cedric@… — Log

    complement a r107628 et r107791 pour etre conforme au code original

  • Configure script for ffmpeg does not find sdl2

    3 avril 2018, par Peter

    Environment :

    Ubuntu 16.04
    ffmpeg source code version 3.4.2

    SDL2 installed

    $ pkg-config --exists --print-errors sdl2
    $ sdl2-config --cflags
    -I/usr/include/SDL2 -D_REENTRANT
    $ sdl2-config --libs
    -L/usr/lib/x86_64-linux-gnu -lSDL2
    $ sdl2-config --version
    2.0.4

    Here is part of my configuration shell script :

    PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$TARGET_DIR/lib/pkgconfig" ./configure \
    --prefix="$TARGET_DIR" \
    --pkg-config-flags="--static" \
    --enable-sdl2 \

    When I run the script, the error I get is "sdl2 requested but not found."

    What is it that I am missing ? Regards.