Recherche avancée

Médias (0)

Mot : - Tags -/presse-papier

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (77)

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

  • lavc : Drop exporting 2-pass encoding stats

    30 novembre 2015, par Vittorio Giovara
    lavc : Drop exporting 2-pass encoding stats
    

    These variables are coming from mpegvideoenc where are supposedly used
    as bit counters on various frame properties. However their use is
    unclear as they lack documentation, are available only from a very small
    subset of encoders, and they are hardly used in the wild. Also frame_bits
    in aacenc is employed in a similar way.

    Remove this functionality from AVCodecContex, these variable are mostly
    frame properties, and too few encoders support setting them with anything
    useful.

    Signed-off-by : Vittorio Giovara <vittorio.giovara@gmail.com>

    • [DBH] libavcodec/aacenc.c
    • [DBH] libavcodec/avcodec.h
    • [DBH] libavcodec/mpegvideo_enc.c
    • [DBH] libavcodec/options_table.h
    • [DBH] libavcodec/version.h
  • Can't process RTP video stream from Firefox browser or Python based scripts by FFMPEG

    3 avril 2023, par Gentelam.S

    Any time I want to process (forward, analyze, copy, ...) RTP video stream from FF browser or python based scripts by FFMPEG, it "chucks" and can't work with it. Seems to be stream encoding issue.&#xA;I have a Janus server where clients join from browsers or anothers services, like Python, then I forward the stream to the URL, where FFMPEG is listening on. There is no issue when I try to process any forwarded stream coming from Chrome based browsers, but the problem occurs when I join from FF or Python.

    &#xA;

    I run ffmpeg in Ubuntu container.&#xA;The command I use :&#xA;-loglevel trace -analyzeduration 300M -probesize 300M -protocol_whitelist file,udp,rtp -i port4000.sdp -vf scale=1280:720 -vcodec libx264 -profile:v baseline -preset:v ultrafast -acodec aac -f flv -flvflags no_duration_filesize {{rtmpUrl}}

    &#xA;

    I used also very simple commands like the following but the result is the same :&#xA;ffmpeg -protocol_whitelist file,udp,rtp -i ./SDP/port4000.sdp -c copy -t 10 -y test.mkv

    &#xA;

    The SDP file I use :

    &#xA;

    SDP:&#xA;v=0&#xA;o=- 0 0 IN IP4 127.0.0.1&#xA;s=No Name&#xA;c=IN IP4 127.0.0.1&#xA;t=0 0&#xA;a=tool:libavformat 58.29.100&#xA;m=video 4000 RTP/AVP 96&#xA;b=AS:200&#xA;a=rtpmap:96 VP8/90000&#xA;

    &#xA;

    The screens below depicts how FFMPEG behaves in case of FF and Chrome (loglevel of ffmpeg set to trace).

    &#xA;

    Firefox :&#xA;enter image description here

    &#xA;

    Chrome :&#xA;enter image description here

    &#xA;

    enter image description here

    &#xA;

    enter image description here

    &#xA;

    enter image description here

    &#xA;

    It looks like it brokes after the following log : Before avformat_find_stream_info() pos: xxx

    &#xA;

    (Same problem is if I try to run ffprobe)&#xA;Thank you for any suggestion.

    &#xA;

    As described above, I tried quite a lot of of arguments running ffmpeg, different SDP files but seems to be not enough. I want the stream to be procced properly by FFMEPG.

    &#xA;

  • Streaming jpegs to a video on my server

    2 décembre 2013, par Andrew Simpson

    I found a solution to my problem IF I was using a Linux/UNIX machine. It is FFServer from the tools from FFMPEG.

    I had been using FFMPEG on my client Winform Desktop C# to convert jpegs into an OGG video file for playback.

    I have now been tasked with uploading the jpegs to my server and rendering it as a video.

    Optimum, I would start an FFMPEG process on my client PC and supply its stdin with jpegs in byte array format. I have achieved this (I have looked around) but is there a way to redirect the stdoutput to my server that can be picked up by my code on the server and render in real-time to my web User ?

    I have looked on the ffmpeg web site but I am unsure how to 'fit' it in with my process.

    This is my code so far :

       public byte[] EncodeAndUploadImages(string _args1, string _fn)  
       {
           byte[] _data = null;
           try
           {
               clientBuild = new Process();
               clientBuild.StartInfo.WorkingDirectory = Environment.CurrentDirectory;
               clientBuild.StartInfo.Arguments = " -f mjpeg -r 30 -i - -c:v libtheora -q:v 7 -r 30 -f ogg -";
               clientBuild.StartInfo.FileName = Environment.CurrentDirectory + @"\ffmpeg.exe";
               clientBuild.StartInfo.UseShellExecute = false;
               clientBuild.StartInfo.RedirectStandardOutput = true;
               clientBuild.StartInfo.RedirectStandardError = true;
               clientBuild.StartInfo.RedirectStandardInput = true;
               clientBuild.StartInfo.CreateNoWindow = true;
               clientBuild.StartInfo.LoadUserProfile = false;
               clientBuild.EnableRaisingEvents = true;    
               clientBuild.Start();

               using (BinaryWriter bw = new BinaryWriter(clientBuild.StandardInput.BaseStream))
               {
                  //I am simulating a stream of jpegs coming in////////////////
                   for (int i = 1; i &lt; 20; i++)
                   {
                       using (MemoryStream ms = new MemoryStream())
                       {
                           System.Diagnostics.Debug.Write(i.ToString("00000"));
                           Bitmap bmp = new Bitmap("h:\\streamin\\" + i.ToString("00000") + ".jpg");
                           bmp.Save(ms, System.Drawing.Imaging.ImageFormat.Jpeg);
                           bw.Write(ms.ToArray());                          
                           bmp.Dispose();
                           ms.Close();
                       }
                   }
                   bw.Close();
               }

               // I need some in my ffmpeg arguments to do something here//////  
               mStandardOutput = clientBuild.StandardOutput.BaseStream;
               mStandardOutput.BeginRead(mReadBuffer, 0, mReadBuffer.Length, StandardOutputReadCallback, null);
               clientBuild.WaitForExit();
               _data = mStandardOutputMs.ToArray();
               mStandardOutput.Close();
           }
           catch (Exception _ex)
           {

           }
           finally
           {
               clientBuild.Dispose();
           }
           return _data;
       }

    Thanks