Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (46)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (8824)

  • Revision 6522 : $GLOBALS[’liste_des_forums’] a disparu

    12 juin 2012, par kent1 — Log

    $GLOBALSliste_des_forums ? a disparu

  • ffmpeg generate overlay complex filter for audio with background image

    8 janvier 2016, par user1793606

    I am experimenting with ffmpeg and would like to generate overlay complex filter for audio with background image. The code normally works, except for when adding -filter_complex "[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]" -map "[v]" -map 0:a
    it crashes. I found the example code at https://trac.ffmpeg.org/wiki/Waveform Any help is appreciated.

    Command '['c:/ffmpeg/bin\\ffmpeg.exe', '-y', '-loop', '1', '-r', '1', '-i', 'temp\\bg.png', '-i', 'test.mp3', '-filter_complex', '[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]', '-map', '[v]', '-map', '0:a', '-c:v', 'libx264', '-preset', 'ultrafast', '-tune', 'stillimage', '-crf', '15', '-pix_fmt', 'yuv420p', '-strict', 'experimental', '-c:a', 'aac', '-b:a', '256k', '-shortest', '-threads', '0', 'done/test.mp4']'

    EDIT 1 :

    I tested this with the new verson : ffmpeg -y -i input.mp3 -i background.png -filter_complex "[0:a]showwaves=s=1280x720:mode=line,format=yuv420p[v]" -map "[v]" -map 0:a -c:v libx264 -c:a copy output.mp4

    It generates an output file, but only the waveform, no background included. My end goal is to generate the waveform over the background.

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