Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (111)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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

Sur d’autres sites (8486)

  • I've download ffmpeg source code,but I don't know how to use it on anroid

    23 octobre 2013, par Sravanthi Pasaragonda

    I've download ffmpeg source code,but I don't know how to use it on anroid.I need to remove audio from vedio file and i need to add other audio to vedio.This is my Task .I am using ubutu 10.04 ,And i have installed NDK-r9,ffmpeg and yasm 1-2.0 in my system.
    please any sample process to how to start ffmpeg example,i have downloaded lot of example from GITHUB Like

       https://github.com/appunite/AndroidFFmpeg
       http://www.roman10.net/how-to-build-android-applications-based-on-ffmpeg-by-an-example/
       https://github.com/mconf/android-ffmpeg



    But i dont no how to complie all projects using ffmpeg.

    Please give me step by step process for any ffmpeg example in ubutu.

    Thanks

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

  • 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;
    }