Recherche avancée

Médias (0)

Mot : - Tags -/objet éditorial

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (101)

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

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (15201)

  • Only 1 process is showing activity parallel foreach

    18 janvier 2018, par TheHappyGuy

    So I am using a Parallel.Foreach because I want to start 4 unique processes that does essentially the same thing. Watermarks a video.

    How it should work is that it should open 4 ffmpeg.exe and pass an argument to each window so it watermarks 4 videos at a time.
    However.. That’s not what is happening, It opens 4 processes but only 1 is active. Not sure if it’s trying to use the same one 4 times or what ever it could be but I need help.

    When I close the working process, the 3 non working ones are still there until I manually close them down.
    Here is a visual representation

    pic1

    Here is a second image showing what happends when closing the working one

    Here is the code :

    public void Watermark()
       {
           Console.WriteLine("Please enter the directory with the mp4 files: ");
           string EntryPath = Console.ReadLine();

           //Console.WriteLine("Please enter the directory with the mp4 files: ");
           //string OutputPath = Console.ReadLine();

           var psi = new ProcessStartInfo();
           psi.WindowStyle = ProcessWindowStyle.Hidden;
           psi.FileName = "ffmpeg.exe";
           int i = 0;

           var videos = Directory.EnumerateFiles(EntryPath, "*.mp4");
           Parallel.ForEach(videos, new ParallelOptions { MaxDegreeOfParallelism = 4 },
               vid =>
               {
                   try
                   {
                       //Maybe those processes are trying to work on the same file and can't access it?
                       //It's probably better to use the event Exited than WaitForExit
                       psi.Arguments = $"-i {vid} -i watermarker.png -threads 4 -filter_complex \"overlay = 275:350\" C:\\Users\\Developer\\Desktop\\Eh\\Watermarked{i}.mp4";
                       var p = Process.Start(psi);
                       p.WaitForExit();

                       Console.WriteLine($"{vid} is watermarked");
                       i++;
                   }
                   catch (Exception)
                   {
                       Console.ForegroundColor = ConsoleColor.Red;
                       Console.WriteLine("Error parsing that file");
                       Console.ForegroundColor = ConsoleColor.White;
                   }

               });
           Console.ReadLine();

       }
  • Difference between DirectShowSource() and FFmpegSource2() in AviSynth

    29 mars 2024, par MarianD

    For non .avi A/V sources (as .mp3, .mp4, etc.) there are (at least) 2 possibilities for reading those media files in AviSynth (in Windows) :

    



      

    • The built-in media filter DirectShowSource(), using Microsoft's DirectShow media architecture.
    • 


    • The AviSynth Plugin FFmpegSource2() alias FFMS2() using FFmpeg and nothing else.
    • 


    



    What are advantages and disadvantages of them ?
    
Which is more reliable, frame / sample accurate, etc.?

    


  • tests/checkasm/float_dsp : Increase allowed difference for float_dsp.vector_dmul

    29 octobre 2017, par Michael Niedermayer
    tests/checkasm/float_dsp : Increase allowed difference for float_dsp.vector_dmul
    

    Tested for 10000 iterations on x86-32

    Fixes : Ticket6848

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] tests/checkasm/float_dsp.c