Recherche avancée

Médias (91)

Autres articles (68)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, 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 (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

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

Sur d’autres sites (10592)

  • How to get output from ffmpeg process in c#

    13 juillet 2018, par Anirudha Gupta

    In the code I written in WPF, I run some filter in FFmpeg, If I run the command in terminal (PowerShell or cmd prompt) It will give me information line by line what’s going on.

    I am calling the process from C# code and it’s work fine. The problem I have with my code is actually I am not able to get any output from the process I run.

    I have tried some answers from StackOverflow for FFmpeg process. I see 2 opportunities in my code. I can either fix it by Timer approach or secondly hook an event to OutputDataReceived.

    I tried OutputDataReceived event, My code never got it worked. I tried Timer Approach but still, it’s not hitting my code. Please check the code below

           _process = new Process
           {
               StartInfo = new ProcessStartInfo
               {
                   FileName = ffmpeg,
                   Arguments = arguments,
                   UseShellExecute = false,
                   RedirectStandardOutput = true,
                   RedirectStandardError = true,
                   CreateNoWindow = true,
               },
               EnableRaisingEvents = true
           };

           _process.OutputDataReceived += Proc_OutputDataReceived;

           _process.Exited += (a, b) =>
           {
               System.Threading.Tasks.Task.Run(() =>
               {
                   System.Threading.Tasks.Task.Delay(5000);
                   System.IO.File.Delete(newName);
               });

               //System.IO.File.Delete()
           };

           _process.Start();
           _timer = new Timer();
           _timer.Interval = 500;
           _timer.Start();
           _timer.Tick += Timer_Tick;
       }


       private void Timer_Tick(object sender, EventArgs e)
       {
           while (_process.StandardOutput.EndOfStream)
           {
              string line = _process.StandardOutput.ReadLine();
           }
           // Check the process.

       }
  • Force ffmpeg to generate WebVTT for each subtitle track

    14 juin 2018, par Rogue

    I use the following ffmpeg command to generate an HLS stream from a video :

    ffmpeg -i pipe:0 \
       -y -b:a 64k -acodec aac -vcodec copy \
       -hls_time 10 -hls_playlist_type vod -start_number 0 -hls_base_url http://127.0.0.1:5000/ -hls_list_size 0 \
       -f hls -crf 20 -hls_flags split_by_time -force_key_frames "expr:gte(t,n_forced*3)"\
       -threads 4 \
       target/stream.m3u8

    It works perfectly, and to my pleasure and surprise ffmpeg generates a second m3u8 file corresponding to the subtitles that are embeded in the video file, with the appropriate .vtt files.
    The problem is that when i input a video file with more than one subtitle tracks, i only get files for the first one.
    How can i force ffmpeg to output ALL tracks as m3u8 / .vtt files ?

    Thanks a lot

  • ffmpeg multiple filters need assistance

    16 mars 2018, par Tony Hanna

    I have one movie .mp4, one logo .png and one text (banner) sliding in the bottom, and I need to add subtitles. I’m trying this with complex filters but always with an error. Please help.

    ffmpeg.exe -re -i wonder.mp4 -i logo72.png -filter_complex "[0:v]drawtext=fontcolor=white:fontsize=32:fontfile='C:\Windows\Fonts\arial.ttf':textfile='d:\banner.txt':reload=1:y=h-line_h:x=w-(mod(n*3\,w+tw)-tw/40),drawbox=y=ih-40:color=black@0.4:width=iw:height=40:t=max[text];[text][1:v]overlay=15:15[filtered];[0:v][1:v]overlay=0:0,subtitles=subtitle.srt[out]" -map "[filtered]" - map "[out]" -map 0:a -codec:v libx264 -codec:a copy -f mpegts udp://10.10.10.4:5000?pkt_size=1316

    What am I doing wrong ?