Recherche avancée

Médias (91)

Autres articles (25)

  • 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

  • Prérequis à l’installation

    31 janvier 2010, par

    Préambule
    Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
    Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
    Il (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5062)

  • c# Process Arguments and Missing Output

    8 décembre 2017, par Tawm

    I’m using an FFMPEG Process to gather some information on a file :

    private void GatherFrames()
    {
       Process process = new Process();
       process.StartInfo.FileName = "ffmpeg";
       process.StartInfo.Arguments = "-i \"" + filePath + "\"";
       process.StartInfo.RedirectStandardError = true;
       process.StartInfo.UseShellExecute = false;

       if (!process.Start())
       {
           Console.WriteLine("Error starting");
           return;
       }
       StreamReader reader = process.StandardError;
       string line;
       while ((line = reader.ReadLine()) != null)
       {
           outputRichTextBox.AppendText(line + "\n");
       }
       process.Close();
    }

    This seems to works fine. Now I want to get just the FrameRate, and thanks to other posts, I’ve found that ffprobe can be used to do just that :

    public void GetFrameRate()
    {
       Process process = new Process();
       process.StartInfo.FileName = "ffprobe";
       process.StartInfo.Arguments = "-v 0 -of compact=p=0 -select_streams 0 -show_entries stream = r_frame_rate \"" + filePath + "\"";
       Console.WriteLine(process.StartInfo.Arguments);
       process.StartInfo.RedirectStandardError = true;
       process.StartInfo.RedirectStandardOutput = true;
       process.StartInfo.UseShellExecute = false;
       process.StartInfo.CreateNoWindow = false;
       Console.WriteLine(process.StartInfo);

       if (!process.Start())
       {
           Console.WriteLine("Error starting");
           return;
       }

       StreamReader reader = process.StandardError;
       string line;
       while ((line = reader.ReadLine()) != null)
       {
           Console.WriteLine(line);
       }
       process.Close();
    }

    This does not seem to work at all. The process starts, but does not return what I expect to be returned.

    If I run the command manually, I do the following in cmd.exe :

    > e:
    > cd "FILE_PATH"
    > ffprobe -v 0 -of compact=p=0 -select_streams 0 -show_entries stream=r_frame_rate "FILE_NAME.mp4"
    r_frame_rate=60/1

    Note : -show_entries stream = r_frame_rate does not work, only -show_entries stream=r_frame_rate without the spaces.


    I’m not sure how to properly go about doing this with a Process.

  • how to get the argument of ffmpeg process in vb.net ?

    20 octobre 2015, par TOM

    i am writing a simple program to get the all the properties of a process like ffmpeg . i got most properties of predefined functions but i want to know the argument which i gave to the ffmpeg in vb.net ?

     For Each prog As Process In Process.GetProcesses
           If prog.ProcessName = "ffmpeg" Then
               al.Add(prog.Id)
           End If
       Next

    For Each id In al  
      Dim p As Process = Process.GetProcessById(id)
      listBox3.Items.Add(Process.GetProcessById(id).ProcessName)
      ListBox3.Items.Add(p.BasePriority)
      ListBox3.Items.Add(p.HandleCount)
      ListBox3.Items.Add(p.Id)
      ListBox3.Items.Add(p.MainWindowTitle)
      ListBox3.Items.Add(p.MaxWorkingSet)
      ListBox3.Items.Add(p.MinWorkingSet)
      ListBox3.Items.Add(p.PriorityBoostEnabled)
      ListBox3.Items.Add(p.PriorityClass)
      ListBox3.Items.Add(p.PrivilegedProcessorTime)
      ListBox3.Items.Add(p.ProcessName)
      ListBox3.Items.Add(p.ProcessorAffinity)
      ListBox3.Items.Add(p.StartTime)
      ListBox3.Items.Add(p.TotalProcessorTime)
     ListBox3.Items.Add(p.UserProcessorTime)
     lastBox3.Items.Add(p.WaitForInputIdle)
     ListBox3.Items.Add("========================")
    Next id
  • Révision 18091 : Lorsuq’un formulaire ajax ajoute une action en queue, elle n’est pas declenchée ...

    17 juin 2011, par cedric -

    Particulièrement critique si le site a peu de traffic. On procède donc à un appel du pipeline affichage_final, sur un texte vide, avec une globale html=false pour empecher toute tentative d’affichage, ce qui permet neanmoins de declencher des actions du type cron (...)