Recherche avancée

Médias (91)

Autres articles (108)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • 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

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

Sur d’autres sites (11946)

  • Révision 19284 : A prtir du moment ou le procure désigne bien une version donnée du service, on u...

    22 avril 2012, par Eric Lupinacci
  • Running ffmpeg.exe through windows service fails to complete while dealing with large files

    28 avril 2013, par Harun

    I am using ffmpeg.exe to convert video files to flv format. For that purpose i use a windows service to run the conversion process in background. While trying to convert large files(i experienced it when the file size is >14MB) through windows service it gets stuck at the line which starts the process(ie, process.start();).

    But when i tried to execute ffmpeg.exe directly from command prompt it worked with out any problems.

    My code in windows service is as follows :

    private Thread WorkerThread;
    protected override void OnStart(string[] args)
    {

      WorkerThread = new Thread(new ThreadStart(StartHandlingVideo));
      WorkerThread.Start();
    }

    protected override void OnStop()
    {
      WorkerThread.Abort();
    }

    private void StartHandlingVideo()
    {  
      FilArgs = string.Format("-i {0} -ar 22050 -qscale 1 {1}", InputFile, OutputFile);
      Process proc;
      proc = new Process();

      try
      {

        proc.StartInfo.FileName = spath + "\\ffmpeg\\ffmpeg.exe";
        proc.StartInfo.Arguments = FilArgs;
        proc.StartInfo.UseShellExecute = false;
        proc.StartInfo.CreateNoWindow = false;
        proc.StartInfo.RedirectStandardOutput = true;
        proc.StartInfo.RedirectStandardError = true;

        eventLog1.WriteEntry("Going to start process of convertion");

        proc.Start();

        string StdOutVideo = proc.StandardOutput.ReadToEnd();
        string StdErrVideo = proc.StandardError.ReadToEnd();

        eventLog1.WriteEntry("Convertion Successful");
        eventLog1.WriteEntry(StdErrVideo);              
    }
    catch (Exception ex)
    {
        eventLog1.WriteEntry("Convertion Failed");
        eventLog1.WriteEntry(ex.ToString());            
    }
    finally
    {
        proc.WaitForExit();
        proc.Close();
    }

    How can I get rid of this situation.

  • How can I split an mp4 video with ffmpeg every time the volume is zero ?

    14 mars 2019, par Juan Pablo Fernandez

    I need to split a video into many smaller videos.
    I have tried PySceneDetect and its 2 scene detection methods don’t fit my need.

    The idea is to trigger a scene cut/break every time the volume is very low, every time audio level is less than a given parameter. I think overall RMS dB volume level is what I mean.

    The purpose is to split an mp4 video into many short videos, each smaller video with short dialog phrases.

    So far I have a command to get the overall RMS audio volume level.

    ffprobe -f lavfi -i amovie=01x01TheStrongestMan.mp4,astats=metadata=1:reset=1 -show_entries frame=pkt_pts_time:frame_tags=lavfi.astats.Overall.RMS_level,lavfi.astats.1.RMS_level,lavfi.astats.2.RMS_level -of csv=p=0

    How can I get only the minimum values for RMS level and its corresponding frame or time ?

    And then how can I use ffmpeg to split the video in many videos on every frame that corresponds to a minimum RMS ?

    Thanks.