Recherche avancée

Médias (91)

Autres articles (108)

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

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

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

  • How to Drop Duplicated frames that do not appear sequentially ?

    2 octobre 2022, par zgno

    As you might know, mpdecimate only drop frames that is similar to the PREVIOUS frame which means it only deals with sequentially duplicated frames. My problem is that just one same frame is duplicated throughout the whole video, and it is duplicated between frames(in other words, not sequentially,so mpdecimate always treats them as not duplicated) . It's almost like that frame is inserted randomly for a 1000+ times throughout the video. And I use ffmpeg -err_detect ignore_err -i only to find that no errors are detected. This strange situation happens in some hls streaming video. I will provide a small segment of the whole video for anyone who are interested to test.
A 6 seconds video down below, it is a badminton game.
A segment from the m3u8 file list

    


  • FFmpeg somehow set the udp speed ?

    19 juin 2018, par potu1304

    I wanted to nearly live stream my Unit game with FFmpeg to a simple client. I have one Unity game in which each frame is saved as an jpg image. These images are wrapped in ffmpeg and send over udp to a simple c# client where I use ffplay to play the stream. The problem is, that FFmpeg is wrapping the images way faster than the unity app can write them. So ffmpeg quits but Unity is still writing frames. Is there a way to set ffmpeg in a loop to wait for the next image or can I somehow make a for loop without call every time ffmpeg ?

    Here is my function from my capturing script in Unity :

    Process process;
       //BinaryWriter _stdin;
       public void encodeFrame()
       {


           ProcessStartInfo startInfo = new ProcessStartInfo();

           var basePath = Application.streamingAssetsPath + "/FFmpegOut/Windows/ffmpeg.exe";


           info.Arguments = "-re -i screen_%d.jpg -vcodec libx264 -r 24 -f mpegts udp://127.0.0.1:1100";
           info.RedirectStandardOutput = true;
           info.RedirectStandardInput = true;
           info.RedirectStandardError = true;
           info.CreateNoWindow = true;
           info.UseShellExecute = false;
           info.RedirectStandardError = true;
           UnityEngine.Debug.Log(string.Format(
               "Executing \"{0}\" with arguments \"{1}\".\r\n",
               info.FileName,
               info.Arguments));
           process = Process.Start(info);
           //_stdin = new BinaryWriter(process.StandardInput.BaseStream);
           process.WaitForExit();
           var outputReader = process.StandardError;
           string Error = outputReader.ReadToEnd();
           UnityEngine.Debug.Log(Error);

    }

    And here the function from my cs file from my simple windowsform application :

    private void xxxFFplay()
    {
       text = "start";
       byte[] send_buffer = Encoding.ASCII.GetBytes(text);
       sock.SendTo(send_buffer, endPoint);
       ffplay.StartInfo.FileName = "ffplay.exe";
       ffplay.StartInfo.Arguments = "udp://127.0.0.1:1100";
       ffplay.StartInfo.CreateNoWindow = true;
       ffplay.StartInfo.RedirectStandardOutput = true;
       ffplay.StartInfo.UseShellExecute = false;

       ffplay.EnableRaisingEvents = true;
       ffplay.OutputDataReceived += (o, e) => Debug.WriteLine(e.Data ?? "NULL", "ffplay");
       ffplay.ErrorDataReceived += (o, e) => Debug.WriteLine(e.Data ?? "NULL", "ffplay");
       ffplay.Exited += (o, e) => Debug.WriteLine("Exited", "ffplay");
       ffplay.Start();

       Thread.Sleep(500); // you need to wait/check the process started, then...

       // child, new parent
       // make 'this' the parent of ffmpeg (presuming you are in scope of a Form or Control)
       //SetParent(ffplay.MainWindowHandle, this.panel1.Handle);

       // window, x, y, width, height, repaint
       // move the ffplayer window to the top-left corner and set the size to 320x280
       //MoveWindow(ffplay.MainWindowHandle, -5, -300, 320, 280, true);

    }

    Does have somebody some ideas ? I am really stuck at this to create a somehow "live" stream.

    Best regards

  • aiff : add support for XA ADPCM

    3 janvier 2018, par Misty De Meo
    aiff : add support for XA ADPCM
    

    Certain AIFF files encode XA ADPCM compressed audio using a chunk
    with the tag `APCM`. Aside from this custom chunk type, they're
    otherwise standard AIFF files. I've only observed these files in the
    Sega Saturn game Sonic Jam so far.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/aiffdec.c