Recherche avancée

Médias (91)

Autres articles (81)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • 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.

  • 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 (...)

Sur d’autres sites (10942)

  • Revision fbf052df42 : Clean up 4x4 coefficient decoding code. Don't use vp9_decode_coefs_4x4() for 2n

    8 décembre 2012, par Ronald S. Bultje

    Changed Paths : Modify /vp9/decoder/vp9_detokenize.c Clean up 4x4 coefficient decoding code. Don't use vp9_decode_coefs_4x4() for 2nd order DC or luma blocks. The code introduces some overhead which is unnecessary for these cases. Also, remove variable declarations that are only used once, (...)

  • How to convert this php code to javascript

    5 octobre 2019, par Salman

    I have this php code to check the progress percentage of a ffmpeg video conversion. Basically ffmpeg command generates a log file named "output.txt" from where i can estimate the percentage with the help of this code. I want to create a javascript code where i can directly estimate the percentage from the log file.

    $content = @file_get_contents('output.txt');

    if ($content) {
       //get duration of source
       preg_match("/Duration: (.*?), start:/", $content, $matches);

       $raw_duration = $matches[1];

       //raw_duration is in 00:00:00.00 format. This converts it to seconds.
       $array_reverse = array_reverse(explode(":", $raw_duration));
       $duration      = floatval($array_reverse[0]);
       if (!empty($array_reverse[1]))
           $duration += intval($array_reverse[1]) * 60;
       if (!empty($array_reverse[2]))
           $duration += intval($array_reverse[2]) * 60 * 60;

       //get the time in the file that is already encoded
       preg_match_all("/time=(.*?) bitrate/", $content, $matches);

       $raw_time = array_pop($matches);

       //this is needed if there is more than one match
       if (is_array($raw_time)) {
           $raw_time = array_pop($raw_time);
       }

       //raw_time is in 00:00:00.00 format. This converts it to seconds.
       $array_reverse = array_reverse(explode(":", $raw_time));
       $time          = floatval($array_reverse[0]);
       if (!empty($array_reverse[1]))
           $time += intval($array_reverse[1]) * 60;
       if (!empty($array_reverse[2]))
           $time += intval($array_reverse[2]) * 60 * 60;

       //calculate the progress
       $progress = round(($time / $duration) * 100);

       echo $duration;
       echo $time;
       echo $progress;
    }
  • FFmpeg code not working on http url for thumbnail extraction

    1er août 2014, par user2240379

    I am trying to extract thumbnail from sharepoint 2013 video library. I found a link which can extract using ffmpeg. this is the link :
    [How can I save first frame of a video as image ?

    filename = "http://siteurl/" + items["FileRef"].ToString();

    When i replaced the input file with sharepoint site url and video name then it does not produce any thumbnail. I also gives error on

    ffmpeg.Start();
           ffmpeg.WaitForExit();
           ffmpeg.Close()

    I would like to understand how make it work for http url.
    If it is not possible to use url in ffmpeg can anyone suggest another method to achieve thumbnail.(as i want the thumbnail to be set automatically using 1st frame from of video if it not set manually)