Recherche avancée

Médias (1)

Mot : - Tags -/punk

Autres articles (48)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

Sur d’autres sites (2700)

  • Catalyst Open Source Academy

    16 janvier 2015, par Matthieu Aubry — Community

    The Open Source Academy is an initiative designed to provide training and work experience for young New Zealand technologists. Catalyst organises the Academy to show young technologists how to participate in open source communities and to fully explore their passion for IT through freely available open source tools.

    It has been running annually since 2011. We are proud that Piwik project could participate in the Academy again this year !

    What students got done

    It’s amazing what a few young students can get done in four days of participating in an open source project like Piwik ! They were able to quickly get started with Piwik, and continued to make useful contributions to the Piwik analytics platform.

    New Darkness theme

    Liam has created a new dark theme for Piwik called Darkness.

    Darkness theme

    To create the theme, Liam had to improve Piwik core stylesheets and created this pull request : Reuse the LESS variable for white color across all stylesheets.

    Accessibility improvements

    We were lucky to spend time with Julius, a Catalyst employee who is blind. He showed us in great detail how difficult and time consuming it can be for a blind user to use Piwik. For example we noticed how complicated it was for Julius to navigate the menus, to get to the main content, and to use the calendar and the Website selector. During this presentation we also noticed that Piwik was not yet usable with the keyboard.

    As a result of this session with Julius we got to work with the students to improve accessibility in Piwik.

    Accessibility session on Piwik

    (photo source)

    List of accessibility improvements

    All these pull requests were created by the students and have been successfully merged into Piwik :

    To learn more about accessibility in Piwik check out this issue on our tracker.

    Summary

    Working with young students was fun and interesting. We were excited to see how much they got done in such a short time !

    At Piwik and Piwik PRO we are committed to building the best open analytics platform, and we will continue to support students who want to take part in the Piwik adventure.

    Be well,

  • Anomalie #3901 : Créer un evenement plus visible

    19 février 2017, par denis -

    Bon, c’est étranger mais réglé en mettant dans v3.18.2/prive/style_prive_plugin_agenda.html

    .fiche_objet #agenda .creer_evenement position : absolute ;top :-1px ;right : 5px ;z-index : 1 ;

    à la place de

    .fiche_objet #agenda .creer_evenement position : absolute ;top :-1px ;right : 5px ;

  • look for a mp4 file inside a directory and send it to different directory after converting to mp3 in php ?

    13 mai 2019, par flash

    I have a directory called incoming_folder in which there is a mp4 file.

    What I want to achieve through php code is to scan a incoming_folder directory, look for an mp4 file and send it to outgoing_folder after converting it into mp3.

    Technically outgoing_folder should have mp3 version of mp4 from incoming_folder

    Here is the pictorial representation of what I want :

    enter image description here

    Tried with the following code although its scanning the incoming_folder directory but no conversion is happening through ffmpeg.

    <?php
    $dir    = 'in_folder';  /* Place where mp4 file is present */
    $files1 = scandir($dir);
    print_r($files1);    /* It lists all the files in a directory including mp4 file*/

    $destination = 'out_folder';  /* Place where mp3 file need to be send after conversion from mp4 */

       <?php
       foreach($files1 as $f)
       {
         $parts = pathinfo($f);

         switch($parts['extension'])
         {
           case 'mp4' :
             system('ffmpeg -i '.$f.' -map 0:2 -ac 1 '.$destination.DS. $parts['filename'].'.mp3', $result);

             if ($result) {
               // Do something with result if you want
               // log for example
             }
             break;

           case 'mp3' :
             // copy($f, $destination. DS . $parts['filename']. '.' . $parts['extension']);
             copy($f, $destination.DS.$parts['filename'].'.mp3');
             break;  
         }
       }
       ?>

    Problem Statement :

    I am wondering what changes I should make in the php code so that conversion of file happens from incoming_folder and it should go to outgoing_folder.