Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (26)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

Sur d’autres sites (6951)

  • Scale image overlay over the time with ffmpeg

    27 avril, par Nazarii Kahaniak

    I have an overlay image and background video. I want to make the overlay 3 times bigger when 10 seconds of video pass, the scaling animation should take 1 second. Is it possible to do something like this with ffmpeg ?

    


  • From time to time ffmpeg makes my computer unable to restart

    6 juin 2022, par principal-ideal-domain

    I'm doing very time consuming ffmpeg video editing. That's why I put my commands into a .bat file and run them over night. Usually that works fine but from time to time when I look at the next moring a see an error message of this kind :

    


    enter image description here

    


    From that state on I didn't find any good way to close the console. When I press the x in the top right corner, it freezes. When I try to kill it using the task manager nothing happens. Even explorer.exe can't be closed using the task manager. A shutdown won't do anything. During the last month I had this problem about three times and the only way I could close it was to long press the power button of the computer until it was turned off this hard way.

    


    Any ideas what to in such situations ? Or even better : Any ideas how to prevent those situations ? What is the reason for the error ? Do you understand the message ? By the way, when the computer is started again then at the next morining and I run the same bat file again everything works fine. So the same error does not repeat and the video is edited nicely.

    


    Edit : Now, about one week after posting this question the problem occurred many more times. It is very annoying. I guess it has to do with the external hard drive connected by USB. Sometimes it randomly interrupts the connection. That might be the reason for the behavior. However that be, I want to learn a solution how to deal with this in future. I don't want to always push the reset button of my computer. I want a proper way to shut it down.

    


  • Extracting JPG Image From MP4 Video

    17 mars 2015, par michael hanon

    I am using the below method to extract an image from a uploaded video and placing the image into a folder.

       private string GeneratePreviewImageMP4(string FileName, HttpPostedFile file, string ProperPath)
    {
       string inputfile = System.IO.Path.Combine(Server.MapPath(ProperPath), file.FileName);
       string ext = System.IO.Path.GetExtension(FileName);
       string thumbpath = AppDomain.CurrentDomain.BaseDirectory + "Reports\\TrainingLibrary\\Videothumbnails\\";
       string thumbname = thumbpath + FileName.Replace(ext, "") + ".jpg";
       string thumbargs = "-i " + inputfile + " -ss 00:00:25.435 -qscale:v 2 -vframes 1 " + thumbname;
       Process thumbproc = new Process();
       thumbproc.StartInfo.FileName = "C:\\FFMPEG\\Bin\\ffmpeg.exe";
       thumbproc.StartInfo.Arguments = thumbargs;
       thumbproc.StartInfo.UseShellExecute = false;
       thumbproc.StartInfo.CreateNoWindow = false;
       thumbproc.StartInfo.RedirectStandardOutput = false;
       try
       {
           thumbproc.Start();
       }
       catch (Exception ex)
       {
           Response.Write(ex.Message);
       }
       thumbproc.WaitForExit();
       thumbproc.Close();

       return FileName.Replace(ext, ".jpg");

    }

    The issue, is that once the image is extracted, I get locked out of the folder. No body has admin rights to that folder. We have to restart the Server just to restore access to that folder.

    This is only at certain times, most of the time it works great, but one out of ten times there will be an issue.

    Anyone now why this is happening ? Does it play the video to extract the image, but does not stop the video ?