Recherche avancée

Médias (91)

Autres articles (2)

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

  • Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)

    31 mai 2013, par

    Lorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
    Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
    Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
    Description des scripts
    Trois scripts Munin ont été développés :
    1. mediaspip_medias
    Un script de (...)

Sur d’autres sites (3070)

  • Bypass validation for buttons with 'formnovalidate' attribute (same as class="cancel"). Closes gh-623

    12 février 2013, par paulcichonski

    m jquery.validate.js m test/index.html m test/test.js Bypass validation for buttons with 'formnovalidate' attribute (same as class="cancel"). Closes gh-623

  • Echoprint-codegen perpetual "error" :"could not decode" from shell_exec

    16 janvier 2016, par sid405

    I am trying to run codegen from popen (shell_exec creates the same scenario) in php in my Mac lion MAMP box as follows :

    $handle = popen('echoprint-codegen "/Applications/MAMP/htdocs/projectx/codegen/2.mp3" 10 30', 'r')

    echo "'$handle'; " . gettype($handle) . "\n";
    $read = fread($handle, 2096);
    echo $read;
    pclose($handle);

    But i am perpetually met with

    "error":"could not decode", "tag":0, "metadata":{"filename":"/Applications/MAMP/htdocs/projectx/codegen/2.mp3"}}

    No matter how i format the cmd inside the handle, with various variations of single and dbl quotes i still get the same thing.

    codegen is in the path and so is ffmpeg.

    Here’s the kicker. Codegen works fine from command line and so does the php script with the popen() or the shell_exec().

    From browser it won’t work.

    Any ideas ?

    Thank you in advance

  • Bambuser ffmpeg - "arm-linux-androideabi-gcc is unable to create an executable file."

    14 avril 2014, par Chaitanya Chandurkar

    I know this may be possible duplicate of some questions. but answers for those threads are not helping me.

    I am trying to compile ffmpeg library for android using Bambuser's ffmpeg.
    I downloaded Archive for client versions 1.3.7 to 1.6.0. from bambuser.

    I followed instruction given in REAME.
    While running ./build.sh i came across following error

    arm-linux-androideabi-gcc is unable to create an executable file.
    C compiler test failed.

    If you think configure made a mistake, make sure you are using the latest
    version from SVN.  If the latest version fails, report the problem to the
    ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
    Include the log file "config.log" produced by configure as this will help
    solving the problem.

    Here are last few lines of config.log of ffmpeg

    mktemp is /bin/mktemp
    check_ld
    check_cc
    BEGIN /tmp/ffconf.qflVj27Q.c
       1   int main(void){ return 0; }
    END /tmp/ffconf.qflVj27Q.c
    arm-linux-androideabi-gcc --sysroot=/home/chaitanya/android/android-ndk-r5b/platforms/android-8/arch-arm -c -o /tmp/ffconf.gc6um0Ki.o /tmp/ffconf.qflVj27Q.c
    arm-linux-androideabi-gcc: error trying to exec &#39;cc1&#39;: execvp: No such file or directory
    C compiler test failed.

    in tmp i do not find any relative folder or file as per config.log says "ffconf.qflVj27Q.c".

    I am doing this on
    1. Ubuntu 11.10
    2. OpenJDK 6
    3. android-ndk-r5b

    NOte :
    I only have API-10 Installed in eclipse. (if it matters :D)

    What could be the solution for this ?