Recherche avancée

Médias (0)

Mot : - Tags -/albums

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

Autres articles (55)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

Sur d’autres sites (8331)

  • Returning a success or failure from ffmpeg

    2 novembre 2017, par user3331834

    I have some code executed in PHP after meeting some criteria through if/then statements which looks something like this :

    if(in_array($ext,$video)&&($ext!=="mp4")){
       exec("ffmpeg -i ".$fileName.".".$ext." -s 640x360 ".$fileName.".mp4");
       /*
       if(successful){
           unlink($fileName.$ext);
           $status="Video entry approved. File converted.";
       }
       */
    }

    As you can see, the issue I’m having is trying to figure out what should go in place of if(successful). The point of this section of the code is to check the files extension against an array of known extensions that are in video format, and that aren’t already in the mp4 format. If it passes this check, ffmpeg should run and convert to mp4.

    So a few questions here. Firstly, how can I return a status to tell me if it is converting, succeeded, or failed ? Secondly, how can this be run asynchronously ? That is, if I wanted to convert multiple files, would I be able to do so ? Would I be able to limit ffmpeg to ensure it does not take up all of my server’s processing power and inadvertently bring the site to a grinding halt ?

    Or is there a better way to go about converting files than this ? I’m pretty sure my method must be crude.

    EDIT : In addition to this, how does one run ffmpeg in the background, so that the page can be closed, and/or another instance from the same page can be started up by the user for multiple simultaneous conversions ? Is it possible to include a real-time progress status of each conversion ?

  • Returning a success or failure from ffmpeg

    16 mars 2014, par user3331834

    I have some code executed in PHP after meeting some criteria through if/then statements which looks something like this :

    if(in_array($ext,$video)&&($ext!=="mp4")){
       exec("ffmpeg -i ".$fileName.".".$ext." -s 640x360 ".$fileName.".mp4");
       /*
       if(successful){
           unlink($fileName.$ext);
           $status="Video entry approved. File converted.";
       }
       */
    }

    As you can see, the issue I'm having is trying to figure out what should go in place of if(successful). The point of this section of the code is to check the files extension against an array of known extensions that are in video format, and that aren't already in the mp4 format. If it passes this check, ffmpeg should run and convert to mp4.

    So a few questions here. Firstly, how can I return a status to tell me if it is converting, succeeded, or failed ? Secondly, how can this be run asynchronously ? That is, if I wanted to convert multiple files, would I be able to do so ? Would I be able to limit ffmpeg to ensure it does not take up all of my server's processing power and inadvertently bring the site to a grinding halt ?

    Or is there a better way to go about converting files than this ? I'm pretty sure my method must be crude.

    EDIT : In addition to this, how does one run ffmpeg in the background, so that the page can be closed, and/or another instance from the same page can be started up by the user for multiple simultaneous conversions ? Is it possible to include a real-time progress status of each conversion ?

  • 3 million downloads for Piwik Analytics

    11 janvier 2017, par Matthieu Aubry — Community

    A testament to the power of our mission statement…

    “To create, as a community, the leading international open source digital analytics platform, that gives every user full control of their data.”

    … Piwik has been downloaded more than 3 million times !

    Piwik is the most popular open analytics platform

    Piwik is the number one most popular open analytics platform, used on more than 1 million websites in 200 different countries, and the 7th overall most popular analytics tool.

    Together we can make Piwik even better !

    Piwik is a community project. We are so proud of what we have created and would love your help too ! Help us by filling in our community survey (takes just 5 minutes !), by getting involved or becoming a sponsor.

    Thank you so much for using Piwik and respecting privacy while keeping control of your data.

    Happy Analytics !