Recherche avancée

Médias (16)

Mot : - Tags -/mp3

Autres articles (43)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

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

  • phplondon conference 2008

    9 juin 2010, par Mikko Koppanen — Everything else, Imagick, PHP stuff, phplondon08

    To summarize it : I had fun :) My conference preparations started about two weeks before the conference. The PHPLondon fellows (Paul, Matt and Richard) asked me to do a small presentation about Imagick at the pre-conference social event. The presentation I assembled ended up being a little over two hours, give or take. The hardest part was to trim down from two hours to about 40 minutes (I didn’t want to bore the people with too many code examples). The slides are available at http://valokuva.org/talks if you need them for some reason.

    My conference day was pretty hectic from the beginning to the end. I gave a few demos about the products that we represent and the moment I opened my mouth for the first time people started leaving the room. I hope that it had something to do with the “My Framework is better than yours ?” talk starting at the same time ;)

    I met quite a lot of new people at the conference and of course it was nice to see the familiar faces from other conferences and PHPLondon meetings. I was especially happy that I was able to answer the questions Nigel James had ;)

    A huge thanks to the organizers for making this day possible !

  • Evolution #4462 (Nouveau) : Rendu du plan

    20 mars 2020, par jluc -

    Sur la page ?exec=plan on peut déployer l’arborescence des rubriques. Il y a toutefois un déficit d’indications visuelles sur cette possibilité car
    - lorsqu’on hover le nom d’une rubrique, le style change et on sait qu’on peut cliquer, mais lorsqu’on clique sur le nom d’une rubriques on est projeté vers la page de cette rubrique, dans le même onglet
    - il y a bien un minitruc pâlot triangulaire à gauche, mais il ne change pas de style au survol (à part le pointeur de la souris) et sa minitaille et son faible contraste n’invitent pas au survol, et le simple changement de curseur invite mal au clic. C’est pourtant lui qu’il faut cliquer pour déployer la rubrique.

    Il serait utile de bénéficier d’indications plus claires facilitant l’usage de l’arbre du plan.
    - peut être un ’+’ plus gros et plus contrasté que ce triangle
    - et en tout cas, un changement d’apparence au survol (+ un title ?)
    - une indication textuelle sur ce que permet cette page (le compagnon le fait il déjà peut être ?). Par exemple "Vous pouvez déployer les rubriques en cliquant le + ou le triangle à gauche, et vous pouvez déplacer les rubriques et leur contenu dans l’arborescence par glisser-déposer"

  • ffmpeg azure function consumption plan low CPU availability for high volume requests

    27 novembre 2017, par The Lemon

    I am running an azure queue function on a consumption plan ; my function starts an FFMpeg process and accordingly is very CPU intensive. When I run the function with less than 100 items in the queue at once it works perfectly, azure scales up and gives me plenty of servers and all of the tasks complete very quickly. My problem is once I start doing more than 300 or 400 items at once, it starts fine but after a while the CPU slowly goes from 80% utilisation to only around 10% utilisation - my functions cant finish in time with only 10% CPU. This can be seen in the image shown below.
    Does anyone know why the CPU useage is going lower the more instances my function creates ? Thanks in advance Cuan

    edit : the function is set to only run one at a time per instance, but the problem exists when set to 2 or 3 concurrent processes per instance in the host.json

    edit : the CPU drops get noticeable at 15-20 servers, and start causing failures at around 60. After that the CPU bottoms out at an average of 8-10% with individuals reaching 0-3%, and the server count seems to increase without limit (which would be more helpful if I got some CPU with the servers)

    Thanks again, Cuan.

    I’ve also added the function code to the bottom of this post in case it helps.

    live metrics cpu

    CPU useageg

    using System.Net;
    using System;
    using System.Diagnostics;
    using System.ComponentModel;

    public static void Run(string myQueueItem, TraceWriter log)
    {
       log.Info($"C# Queue trigger function processed a request: {myQueueItem}");
       //Basic Parameters
           string ffmpegFile = @"D:\home\site\wwwroot\CommonResources\ffmpeg.exe";
           string outputpath = @"D:\home\site\wwwroot\queue-ffmpeg-test\output\";
           string reloutputpath = "output/";
           string relinputpath = "input/";
           string outputfile = "video2.mp4";
           string dir =  @"D:\home\site\wwwroot\queue-ffmpeg-test\";

       //Special Parameters

           string videoFile = "1 minute basic.mp4";
           string sub = "1 minute sub.ass";
       //guid tmp files

           // Guid g1=Guid.NewGuid();
           // Guid g2=Guid.NewGuid();
           // string f1 = g1 + ".mp4";
           // string f2 = g2 + ".ass";
           string f1 = videoFile;
           string f2 = sub;
       //guid output - we will now do this at the caller level
           string g3 = myQueueItem;
           string outputGuid = g3+".mp4";
       //get input files
       //argument
           string tmp = subArg(f1, f2, outputGuid );
       //String.Format("-i \"" + @"input/tmp.mp4" + "\" -vf \"ass = '" + sub + "'\" \"" + reloutputpath +outputfile + "\" -y");
       log.Info("ffmpeg argument is: "+tmp);


       //startprocess parameters
       Process process = new Process();
       process.StartInfo.FileName = ffmpegFile;
       process.StartInfo.Arguments =  tmp;
       process.StartInfo.UseShellExecute = false;
       process.StartInfo.RedirectStandardOutput = true;
       process.StartInfo.RedirectStandardError = true;
       process.StartInfo.WorkingDirectory = dir;
       //output handler

       process.OutputDataReceived += new DataReceivedEventHandler(
           (s, e) =>
           {
               log.Info("O: "+e.Data);
           }
       );
       process.ErrorDataReceived += new DataReceivedEventHandler(
           (s, e) =>
           {
               log.Info("E: "+e.Data);
           }
       );
       //start process
       process.Start();
       log.Info("process started");
       process.BeginOutputReadLine();
       process.BeginErrorReadLine();
       process.WaitForExit();
    }
    public static void getFile(string link, string fileName, string dir, string relInputPath){
       using (var client = new WebClient()){
           client.DownloadFile(link, dir + relInputPath+ fileName);
           }

    }
    public static string subArg(string input1, string input2, string output1){
       return String.Format("-i \"" + @"input/" +input1+ "\" -vf \"ass = '" + @"input/"+input2 + "'\" \"" + @"output/" +output1 + "\" -y");

    }