Recherche avancée

Médias (91)

Autres articles (103)

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

  • 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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (12771)

  • Révision 17911 : Comparaion ’ =’ dans le scheduler de taches : cela permet d’ajouter une tache et...

    18 mai 2011, par cedric -

    define(’_DIRECT_CRON_FORCE’,true) ; même si le hit dure moins d’une seconde.

  • Red5 live stream - huge delay on localhost

    23 janvier 2013, par user1958067

    I m running Red5 1.0.0 RC1, with JW Player and ffmpeg on Linux Mint14

    There is a huge delay while streaming, even when everythings happening on my machine/localhost.

    I do following steps :

    1. FFmpeg : ffmpeg -i 'http://localhost:port' rtmp://localhost/oflaDemo/live.flv

    2. Red5 : TCPnoDelay ist set to true.

    3. JW Player : Bufferlength is set to 0. Also tried 2 and 3.

     :

       <code class="echappe-js">&lt;script type=&amp;#39;text/javascript&amp;#39;&gt;<br />
        jwplayer(&amp;#39;mediaspace&amp;#39;).setup({<br />
       &amp;#39;flashplayer&amp;#39;: &amp;#39;player.swf&amp;#39;,<br />
       &amp;#39;file&amp;#39;: &amp;#39;live&amp;#39;,<br />
       &amp;#39;type&amp;#39;: &amp;#39;rtmp&amp;#39;,<br />
       &amp;#39;streamer&amp;#39;: &amp;#39;rtmp://localhost/oflaDemo&amp;#39;,<br />
       &amp;#39;controlbar&amp;#39;: &amp;#39;none&amp;#39;,<br />
       &amp;#39;autostart&amp;#39;: &amp;#39;true&amp;#39;,<br />
       &amp;#39;bufferlength&amp;#39;: &amp;#39;3&amp;#39;,<br />
       &amp;#39;width&amp;#39;: &amp;#39;640&amp;#39;,<br />
       &amp;#39;height&amp;#39;: &amp;#39;380&amp;#39;<br />
     });<br />
    &lt;/script&gt;

    The delay is something between 7-10 seconds !
    This all is happening on and from localhost, so bandwith shouldnt be the issue.

  • ffmpeg process how to read from pipe to pipe in c#

    28 janvier 2024, par greg

    I need to read audio data from stream 1 to stream 2 passing the data through ffmpeg.&#xA;It works great when i input data from file and output to pipe :

    &#xA;

    Process? CreateStream()&#xA;{&#xA;    return Process.Start(new ProcessStartInfo&#xA;    {&#xA;        FileName = @"sources\ffmpeg",&#xA;        Arguments = @"-i input.mp3 -f s16le pipe:1",&#xA;        UseShellExecute = false,&#xA;        RedirectStandardOutput = true&#xA;    });&#xA;}&#xA;

    &#xA;

    Or when i input data from pipe and output to file :

    &#xA;

    Process? CreateStream()&#xA;{&#xA;    return Process.Start(new ProcessStartInfo&#xA;    {&#xA;        FileName = @"sources\ffmpeg",&#xA;        Arguments = @"-i pipe: -f s16le output.file",&#xA;        UseShellExecute = false,&#xA;        RedirectStandardInput = true&#xA;    });&#xA;}&#xA;

    &#xA;

    But if i try to do both :

    &#xA;

    Process? CreateStream()&#xA;{&#xA;    return Process.Start(new ProcessStartInfo&#xA;    {&#xA;        FileName = @"sources\ffmpeg",&#xA;        Arguments = @"-i pipe:0 -f s16le pipe:1",&#xA;        UseShellExecute = false,&#xA;        RedirectStandardInput = true,&#xA;        RedirectStandardOutput = true&#xA;    });&#xA;}&#xA;

    &#xA;

    Runtime will hang in place printing :

    &#xA;

    &#xA;

    Input #0, matroska,webm, from 'pipe:0' :&#xA;Metadata :&#xA;encoder : google/video-file&#xA;Duration : 00:04:15.38, start : -0.007000, bitrate : N/A&#xA;Stream #0:0(eng) : Audio : opus, 48000 Hz, stereo, fltp (default)&#xA;Stream mapping :&#xA;Stream #0:0 -> #0:0 (opus (native) -> pcm_s16le (native))

    &#xA;

    Output #0, s16le, to 'pipe:1' :&#xA;Metadata :&#xA;encoder : Lavf59.27.100&#xA;Stream #0:0(eng) : Audio : pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s (default)&#xA;Metadata :&#xA;encoder : Lavc59.37.100 pcm_s16le

    &#xA;

    &#xA;

    main function code (it is the same for all examples) :

    &#xA;

    async Task Do()&#xA;{&#xA;    using (var ffmpeg = CreateStream())&#xA;    {&#xA;        if (ffmpeg == null) return;&#xA;&#xA;        using (var audioStream = GetAudioStream())&#xA;        {&#xA;            await audioStream.CopyToAsync(ffmpeg.StandardInput.BaseStream);&#xA;            ffmpeg.StandardInput.Close();&#xA;        }&#xA;&#xA;        //runtime will hang in here&#xA;&#xA;        Console.WriteLine("\n\ndone\n\n"); //this won&#x27;t be printed&#xA;&#xA;        using (var outputStream = CreatePCMStream())&#xA;        {&#xA;            try&#xA;            {&#xA;                await ffmpeg.StandardOutput.BaseStream.CopyToAsync(outputStream);&#xA;            }&#xA;            finally&#xA;            {&#xA;                await outputStream.FlushAsync();&#xA;            }&#xA;        }&#xA;    }&#xA;}&#xA;

    &#xA;

    And the most interesting is if i remove RedirectStandardOutput = true string programm will work as expected printing a bunch of raw data to the console.

    &#xA;

    I'd like to solve this problem without using any intermediate files and so on.

    &#xA;