Recherche avancée

Médias (91)

Autres articles (79)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

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

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (10005)

  • ffmpeg from a C# app using Process class - user prompt not shown in standardError

    21 avril 2016, par DarwinIcesurfer

    I am writing an app to run ffmpeg using c#. My program redirects the standardError output to a stream so it can be parsed for progress information.

    During testing I have found a problem :

    If the output is shown in a command window rather than being redirected ffmpeg will display it’s normal headers followed by "file c :\temp\testfile.mpg already exists. overwrite [y]". If I click on the command window and press y the program continues to encode the file.

    If the StandardError is redirected to my handler and then printed to the console, I see the same header information that was displayed in the command window now printed to the console. except for the file...already exists prompt. If I click in the command window and press y the program continues to process the file.

    Is there a stream other than standardOutput or standardError that is used when the operator is prompted for information, or am I missing something else ?

    public void EncodeVideoWithProgress(string filename, string arguments, BackgroundWorker worker, DoWorkEventArgs e)
       {

           Process proc = new Process();

           proc.StartInfo.FileName = "ffmpeg";
           proc.StartInfo.Arguments = "-i " + " \"" + filename + "\" " + arguments;

           proc.StartInfo.UseShellExecute = false;
           proc.EnableRaisingEvents = true;

           proc.StartInfo.RedirectStandardError = true;
           proc.StartInfo.RedirectStandardOutput = false;
           proc.StartInfo.CreateNoWindow = false; //set to true for testing

           proc.ErrorDataReceived += new DataReceivedEventHandler(NetErrorDataHandler);

           proc.Start();
           proc.BeginErrorReadLine();


           StreamReader reader = proc.StandardOutput;
            string line;
            while ((line = reader.ReadLine()) != null)
           { Console.WriteLine(line); }
        proc.WaitForExit();
    }

    private static void NetErrorDataHandler(object sendingProcess,
                  DataReceivedEventArgs errLine)
       {
           if (!String.IsNullOrEmpty(errLine.Data))
           {
               Console.WriteLine(errLine.Data);
           }
       }
  • Refactor file validation.

    13 janvier 2020, par blueimp
    Refactor file validation.
    

    Resolves #3547.

  • Localization : Fixed GL number validation message

    20 mai 2014, par nschonni
    Localization : Fixed GL number validation message
    

    The validation message was targeted only to integers ("entero") while the
    number method validates decimals http://jqueryvalidation.org/number-method/

    Related to #1016