Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (79)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (13256)

  • nvenc : flush the encoder before closing it, as required by the docs

    8 janvier 2016, par Anton Khirnov
    nvenc : flush the encoder before closing it, as required by the docs
    

    Otherwise, closing the encoder can crash.

    • [DBH] libavcodec/nvenc.c
  • Revision 18d323606d : Fix test to call clear system state in convolve_test. Assembly tests should cle

    12 décembre 2014, par Jim Bankoski

    Changed Paths :
     Modify /test/convolve_test.cc



    Fix test to call clear system state in convolve_test.

    Assembly tests should clear system state, as we have no
    expectation of proper system state in between test runs..

    Change-Id : I0f591996c1f17ef2a5a8572a6b445f757223a144

  • How to know system command is in use in php ?

    13 juin 2019, par flash

    I have a HTML/PHP code as shown below in which on click of a button conversion of mp4 into mp3 starts happening.

    HTML/PHP Code :

      <?php  foreach ($programs as $key => $program) {  ?>
          <tr data-index="&lt;?php echo $key; ?>">
             <td><input type="submit" value="Go" data-id="&lt;?php echo $key; ?>" /></td>
          </tr>
       &lt;?php }?>

    Php code (where mp4=>mp3 conversion happens) :

    $f = $mp4_files[$_POST['id']];
    $parts = pathinfo($f);  
    switch ($parts['extension'])
    {  
    case 'mp4' :
    $filePath = $src_dir . DS . $f;
    system('C:\ffmpeg\bin\ffmpeg.exe -i ' . $filePath . ' -map 0:2 -ac 1 ' . $destination_dir . DS . $parts['filename'] . '.mp3', $result);
    break;  
    }

    As soon as the button is clicked from the HTML/PHP Code above, the text gets changed from Go to Converting in the UI because I have added JS/jQuery code in my codebase but this JS/jQuery code which I have added just change the text only.

    It doesn’t actually know that the Conversion is happening in the background.

    JS/jQuery code :

    $("input[name='go-button']").click( function() {

     // Change the text of the button, and disable
     $(this).val("Converting").attr("disabled", "true");

    });

    Problem Statement :

    I am wondering what modification I need to do in the JS/jQuery code above so that UI actually knows that conversion is happening in the background.

    Probably, we need to add make establish some connection between JS/jQuery and php code above but I am not sure how we can do that.