Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (92)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (12190)

  • http: fix potentially dangerous whitespace skipping code

    8 mars 2018, par wm4
    http: fix potentially dangerous whitespace skipping code
    

    If the string consists entirely of whitespace, this could in theory
    continue to write '\0' before the start of the memory allocation. In
    practice, it didn't really happen : the generic HTTP header parsing code
    already skips leading whitespaces, so the string is either empty, or
    consists a non-whitespace. (The generic code and the cookie code
    actually have different ideas about what bytes are whitespace : the
    former uses av_isspace(), the latter uses WHITESPACES. Fortunately,
    av_isspace() is a super set of the http.c specific WHITESPACES, so
    there's probably no case where the above assumption could have been
    broken.)

    • [DH] libavformat/http.c
  • IIS Worker Process memory keeps increasing while asp.net run ffmpag process

    27 mars 2016, par cheinan

    I am running this code every 4 second

    protected string output = string.Empty;
    protected Process process;
    protected StreamReader sr;

    protected void Page_Load(object sender, EventArgs e)
    {
       process = new Process();
       process.StartInfo.Arguments = "-an -flv_metadata 1 -analyzeduration 1 -i \"rtmp://localhost/test/testStream live=1\" -s 700*394 -r 5 -vframes 10 -f image2pipe -";
       process.StartInfo.FileName = Page.MapPath("ffmpeg.exe");
       process.StartInfo.UseShellExecute = false;
       process.StartInfo.RedirectStandardOutput = true;
       process.StartInfo.CreateNoWindow = true;
       process.EnableRaisingEvents = true;
       process.Start();

       sr = process.StandardOutput;
       output = sr.ReadToEnd();
       process.WaitForExit();

       if (output.Length > 200)
       {
           process.Close();
           if (process != null)
           {
               process.Dispose();
               if (process != null)
               {
                   try { process.Kill(); }
                   catch { }
                   process = null;
               }
           }
       }
    }

    I using asp.net c# to run a FFmpeg process in order to get image data
    from rtmp stream
    the code is working fine but the problem is
    IIS Worker Process memory keeps increasing.

    I tried to use the using statement
    and :
    Close,
    Dispose,
    Kill,
    process = null
    but nothing help

    How I can stop this memory from increasing ?
    Is there a better way to control IIS Worker Process memory
    from asp.net c# code ?

  • how to get the output of a child process in a variable c#

    4 août 2022, par Dokoa

    I want to get width, height information into a variable after ffprobe is finished.

    


    int width, height;   
Process pr = new Process();
                pr.StartInfo.FileName = "ffprobe";
                pr.StartInfo.Arguments = $"- v error - select_streams v: 0 - show_entries stream = width,height - of default = nw = 1 input.mp4";
                pr.StartInfo.UseShellExecute = false;
                pr.StartInfo.CreateNoWindow = true;
                pr.EnableRaisingEvents = true;
                pr.Start();


    


    example of ffprobe console output

    


    width=320
height=180