Recherche avancée

Médias (91)

Autres articles (96)

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

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

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

Sur d’autres sites (8150)

  • C# Process output redirected to console instead of stream

    18 juillet 2017, par w0ffen

    I am trying to use FFmpeg to get video data using the following code :

    var ffmpeg = new Process();
           ProcessStartInfo sInfo = new ProcessStartInfo();

           sInfo.FileName = @"C:\FFmpeg\ffmpeg.exe";
           sInfo.Arguments = string.Format("-i {0}", filePath);
           sInfo.UseShellExecute = false;
           sInfo.RedirectStandardOutput = true;

           ffmpeg.StartInfo = sInfo;
           ffmpeg.Start();

           string output = ffmpeg.StandardOutput.ReadToEnd();

           ffmpeg.WaitForExit();

    The process output goes through, but it is a console application, and the output gets redirected to the console window. Then, when I check the contents of output, it is empty, but ffmpeg’s output is displayed on the console window of the program I’m working on.

    How do I fix this ?

  • javacv records the camera stream,the console prints warning all the time

    5 septembre 2017, par dtest

    When javacv records the camera stream, the following warning statement appears. The function is normal, but the console prints all the time. Is there any solution ?

    [swscaler @ 000000002b8cd2a0] deprecated pixel format used, make sure you  did set range correctly
    [swscaler @ 00000000342a4d80] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 00000000339f3920] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0000000030a29060] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000000002be31d60] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000000002bb06260] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0000000039c5af60] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 00000000342a4d80] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 00000000339f3920] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000000002b8cd2a0] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0000000039c5af60] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000000002b8cd2a0] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0000000030a29060] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0000000030a29060] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000000002be31d60] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000000002bb06260] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 000000002be31d60] deprecated pixel format used, make sure you did set range correctly
    [swscaler @ 0000000039c5af60] deprecated pixel format used, make sure you did set range correctly
  • How can i use ffmpeg to capture the entire desktop but without the console window of the ffmpeg ? [duplicate]

    1er novembre 2017, par Simonicop cooper

    This question already has an answer here :

    This is how i’m doing it in the command prompt :

    ffmpeg -f gdigrab -framerate 24 -i desktop -preset ultrafast -pix_fmt yuv420p out.mp4

    And in csharp code :

    using System;  
    using System.Collections.Generic;  
    using System.Linq;  
    using System.Text;  
    using System.Threading.Tasks;  
    using System.IO;  
    using System.Diagnostics;  

    namespace Ffmpeg_App  
    {  
       class Ffmpeg  
       {  
           Process process;  

           public void Start(string FileName, int Framerate)  
           {  
               process = new System.Diagnostics.Process();  
               process.StartInfo.FileName = @"D:\ffmpegx86\ffmpeg.exe"; // Change the directory where ffmpeg.exe is.  
               process.EnableRaisingEvents = false;  
               process.StartInfo.WorkingDirectory = @"D:\ffmpegx86"; // The output directory  
               process.StartInfo.Arguments = @"-f gdigrab -framerate " + Framerate + " -i desktop -preset ultrafast -                                                                     pix_fmt yuv420p " + FileName;  
               process.Start();  
               process.StartInfo.UseShellExecute = false;  
               process.StartInfo.CreateNoWindow = false;  
               Close();  
           }  

           public void Close()  
           {  
               process.Close();  
           }  
       }  
    }  

    In form1 top :

    Ffmpeg fpeg = new Ffmpeg();

    Start button :

    private void Start_Click(object sender, EventArgs e)  
           {  
               fpeg.Start("test.mp4", 24);  
           }  

    Stop button :

    private void Stop_Click(object sender, EventArgs e)  
           {  
               fpeg.Close();  
           }

    The problem is when i start recording it also recording first few seconds the console window of the ffmpeg too same when i stop the recording.

    How can i make in both cases using only command prompt or using with csharp that it will not show the console window of the ffmpeg ?

    Ffmpeg console window