Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (72)

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (9434)

  • How to convert mp4 files into mp3 on button click using ffmpeg/php ?

    4 juin 2019, par flash

    I am working on a php code as shown below where I am converting mp4 files into mp3 using system command ffmpeg (in the case statement below).

    <?php

    $mp4_files = preg_grep('~\.(mp4)$~', scandir($src_dir));

    foreach ($mp4_files as $f)
    {

        $parts = pathinfo($f);
        switch ($parts['extension'])
        {
            case 'mp4' :
                $filePath = $src_dir . DS . $f;
                system('ffmpeg -i ' . $filePath . ' -map 0:2 -ac 1 ' . $destination_dir . DS . $parts['filename'] . '.mp3', $result);  // Through this command conversion happens.
        }
    }

    $mp3_files = preg_grep('/^([^.])/', scandir($destination_dir));

    ?>

    After conversion, mp3 files goes into destination_dir. If new mp4 file arrives in $src_dir, the conversion usually happen on refresh of a page.

    Once the conversion is complete, I am parsing everything into table as shown below :

    <table>
      <tr>
         <th style="width:8%; text-align:center;">House Number</th>
         <th style="width:8%; text-align:center;">MP4 Name</th>
         <th style="width:8%; text-align:center;">Action/Status</th>
      </tr>
      &lt;?php
         $mp4_files = array_values($mp4_files);
         $mp3_files = array_values($mp3_files);
         foreach ($programs as $key => $program)    {
            $file = $mp4_files[$key];    
            $file2 = $mp3_files[$key];   // file2 is in mp3 folder
         ?>
      <tr>
         <td style="width:5%; text-align:center;"><span style="border: 1px solid black; padding:5px;">&lt;?php echo basename($file, ".mp4"); ?></span></td>
         <td style="width:5%; text-align:center;"><span style="border: 1px solid black; padding:5px;">&lt;?php echo basename($file); ?></span></td>              
         <td style="width:5%; text-align:center;"><button style="width:90px;" type="button" class="btn btn-outline-primary">Gotd>  
      </button></td></tr>
      &lt;?php } ?>
    </table>

    Problem Statement :

    I am wondering what changes I should make in the php code above that on click of a Go button, conversion of individual mp4 into mp3 happen.

    On clicking of Go button, individual mp3 file (from an mp4) belonging to an individual row should go inside destination directory ($destination_dir).

    enter image description here

  • New Piwik Mobile 2.2.0 is released

    21 décembre 2014, par Thomas Steur — Piwik Mobile Releases

    We are proud to announce that Piwik Mobile 2.2.0 is now available ! This new version brings many improvements to our Android app. Here’s the list of changes :

    • Android : The keyboard is no longer displayed when opening the app [#5320]
    • Android : Back button did not work in a few screens and could cause the app to unexpectedly close under circumstances [#5316]
    • Android : The graph is now displayed fullscreen on tablets when maximizing it [#5315]
    • Android : New material design icons [#5310]
    • Android : Better exit workflow – we now open the left sidebar before closing the app if the left sidebar was opened at least once. Another back button press closes the app [#4305]
    • iOS : The left sidebar was positioned too far down on iPhone 4s with iOS 8 [#5306]
    • Region is now shown in visitor screen if possible [#5300]
    • Other performance, UI and usability improvements
    • List of all 18 closed issues

    Download

    Update now or install either the iOS version or the Android version.
    In case you are an Android user who is not using the Google Play Store you can download Piwik Mobile 2.2.0 for Android 4+.

    Feel free to send us feature wishes, bug reports, wireframes, mockups or even layouts. We can improve Piwik Mobile much better with your feedback. and suggestions

  • New Piwik Mobile 2.2.0 is released

    21 décembre 2014, par Thomas Steur — Piwik Mobile Releases

    We are proud to announce that Piwik Mobile 2.2.0 is now available ! This new version brings many improvements to our Android app. Here’s the list of changes :

    • Android : The keyboard is no longer displayed when opening the app [#5320]
    • Android : Back button did not work in a few screens and could cause the app to unexpectedly close under circumstances [#5316]
    • Android : The graph is now displayed fullscreen on tablets when maximizing it [#5315]
    • Android : New material design icons [#5310]
    • Android : Better exit workflow – we now open the left sidebar before closing the app if the left sidebar was opened at least once. Another back button press closes the app [#4305]
    • iOS : The left sidebar was positioned too far down on iPhone 4s with iOS 8 [#5306]
    • Region is now shown in visitor screen if possible [#5300]
    • Other performance, UI and usability improvements
    • List of all 18 closed issues

    Download

    Update now or install either the iOS version or the Android version.
    In case you are an Android user who is not using the Google Play Store you can download Piwik Mobile 2.2.0 for Android 4+.

    Feel free to send us feature wishes, bug reports, wireframes, mockups or even layouts. We can improve Piwik Mobile much better with your feedback. and suggestions