Recherche avancée

Médias (1)

Mot : - Tags -/biographie

Autres articles (51)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

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

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

  • Revision a7c69a71d9 : Fix broken encoding process at sub8x8 block size Use the correct buffer to upda

    17 avril 2014, par Jingning Han

    Changed Paths :
     Modify /vp9/encoder/vp9_encodeframe.c



    Fix broken encoding process at sub8x8 block size

    Use the correct buffer to update the coding mode decision for
    sub8x8 blocks.

    Change-Id : I091ef27d2047eeb8b73ceb7c2c7c45b38ba8c6d5

  • processing audio in java using process builder and sox or ffmpeg

    15 août 2016, par D Liebman

    I’m processing audio files with java. I use a command line option like ffmpeg or sox to read the file. When I’m trying to use sox to decode a mp3 file. I type something like this at the command line :

    sox input.mp3 output.dat

    and this gives me a output file with text in it. How do I stream the output to standard out ? I’d like to use the command in a java program using a process builder. I have been able to use ffmpeg like this :

    ffmpeg -v quiet -i dnd-07-music.mp3 -ac 1 -filter:a aresample=8000 -map 0:a -c:a pcm_s16le -f data -

    but this doesn’t seem to give me amplitude. I’m not sure what I’m looking at, but I think it’s pulse-code-modulation. I’d like something that gives me amplitudes over time (and just one channel).

    EDIT :
    Just to be clear, I want amplitudes ... a stream of amplitudes in binary form. I don’t want just one number.

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

       }