Recherche avancée

Médias (91)

Autres articles (93)

Sur d’autres sites (14944)

  • Evolution #2404 (Nouveau) : test : configuration

    11 novembre 2011, par jluc -

    Testant la partie "configuration" en partie privée de spip3 voici quelques remarques :

    identite : visiblement les champs obligatoires sont en gras, les champs facultatifs ne le sont pas. Pourtant il y a en plus la mention "(optionnel)" pour le label pour la saisie de l’email du webmestre, ce (...)

  • PHP detect if shell_exec() command failed

    28 octobre 2011, par Chad Whitaker

    I'm running the ffmpeg command within PHP's shell_exec() to convert several videos in a list. Is there anyway to detect if an error happened while the video was being converted (or atleast verify it fully completed the conversion) ?

    I don't want to stop converting other videos if an error happens, just the ability to record the error.

    <?php
       shell_exec('ffmpeg -i downloads/flv/file1.flv -vcodec libvpx -acodec libvorbis downloads/webm/file1.webm');

       if(error) {
        //run a command here to report the error (ie. MySQL or email)
       }
    ?>
  • Révision 18642 : #2335 : proposer un titre automatique pour ne pas avoir à le remplir quand il s’...

    25 octobre 2011, par cedric -

    + factorisation de la fonction de titrage Pour les auteurs, on reprend aussi email ou login (si fournis) pour le nom, mais on ne créé pas des "Auteur N°xx" car cela n’a pas de sens...