Recherche avancée

Médias (1)

Mot : - Tags -/3GS

Autres articles (81)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • MediaSPIP Player : problèmes potentiels

    22 février 2011, par

    Le lecteur ne fonctionne pas sur Internet Explorer
    Sur Internet Explorer (8 et 7 au moins), le plugin utilise le lecteur Flash flowplayer pour lire vidéos et son. Si le lecteur ne semble pas fonctionner, cela peut venir de la configuration du mod_deflate d’Apache.
    Si dans la configuration de ce module Apache vous avez une ligne qui ressemble à la suivante, essayez de la supprimer ou de la commenter pour voir si le lecteur fonctionne correctement : /** * GeSHi (C) 2004 - 2007 Nigel McNie, (...)

Sur d’autres sites (11333)

  • How to convert live video stream to mp4 format stream using FFmpeg API [on hold]

    27 avril 2017, par krish

    Using FFmpeg API :ConvertLiveMediaTask

    ConvertLiveMedia(Stream inputStream, string inputFormat, Stream outputStream, string outputFormat, ConvertSettings settings) ;

    Requirement : want to convert video file from any format to mp4 format and conversion should happen on fly using ConvertLiveMedia API

    Please help me for this problem, I googled so many times i didnt get a solution for this.

    Here is my code

    const int megabyte = 1024 * 1024;

    static string theFilename = @"F:\BackUp\Short video clip-nature.avi";

    static string[] VideoExtension = { ".ac3", ".aiff", ".alaw", ".asf", ".ast", ".mp4", ".au", ".avi", ".caf"};

    static void Main(string[] args)
    {
        ChunkedData(theFilename, 0);
    }              

    private static void ChunkedData(string theFilename, long whereToStartReading = 0)
    {
         string extension = System.IO.Path.GetExtension(theFilename);

         Stream chunkStream = new MemoryStream();

         if (VideoExtension.Any(Vi => extension.Contains(Vi)))
         {
              FileStream fileStram = new FileStream(theFilename, FileMode.Open, FileAccess.Read);

              using (fileStram)
              {
                    byte[] buffer = new byte[megabyte];

                    fileStram.Seek(whereToStartReading, SeekOrigin.Begin);

                    int bytesRead = fileStram.Read(buffer, 0, megabyte);

                    while (bytesRead > 0)
                    {
                        // Here i receive and implement
                        chunkStream = StreamData(buffer, bytesRead, extension);

                        bytesRead = fileStram.Read(buffer, 0, megabyte);
                    }
             }
         }                          
    }              

    private static Stream StreamData(byte[] buffer, int bytesRead, string formate)
    {
       // Have no idea what to give for ConvertSettings, i simply pass a object
       ConvertSettings settings = new ConvertSettings();

       var ffmpeg = new FFMpegConverter();

       Stream inputStream = new MemoryStream(buffer);

       Stream outputStream = new MemoryStream();

       try
       {
          // Here im getting outputStream capacity = 0, length = 0, position =0.
          var task = ffmpeg.ConvertLiveMedia(inputStream, formate, outputStream, Format.mp4, settings );
          task.Start();

       }
       catch (Exception ex)
       {
             Console.WriteLine(ex.ToString());
       }

       return outputStream;
    }
  • Live webcam stream to mjpeg file [on hold]

    20 mars 2018, par neph94

    I am looking for a way for ffmpeg or any other alternative to be able to continuously stream data to an mjpeg (or any other) file. There would be a size limitation to it. When exceeded oldest frames would just be removed to make space.

    Basically, what I am looking is ffserver with an option to stream locally to a file without serving it on an HTTP server.

  • Live Screen Cast via FFMPEG/Qt/C++ [on hold]

    19 février 2018, par user1496491

    I need to build an application which would capture current screen and draw it on QLabel / write it in video file. QScreen::grabWindow() seems to be extreemly slow. So I read quite a lot that using ffmpeg could help me with that problem, but I can’t find ANY information how to do it IN CODE, not by passing arguments to ffmpeg application.

    So, how do I do that ?