Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (34)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (7112)

  • using ffmpeg in Azure function to cut files using c#

    24 mars 2017, par abhishekmoondra1989

    I have written an Azure function in C# which will cut a big mp4 files into some small duration. I have copied everything that is required (ffmpeg executeable, video file) in home directory via KUDU console. But when I run the the function it runs for more than 5 minutes and it doesn’t give any files in the home directory.

    Function :

    using System;
    using System.Diagnostics;

    public static void Run(string input, TraceWriter log)
    {
       log.Info("Executing");
       using (var process = new Process())
       {
           process.StartInfo.FileName = @"D:\home\ffmpeg.exe";
           process.StartInfo.Arguments = @"-i D:\home\AmnestyInternational.mp4 -ss 00:00:03 -t 00:00:08 -async 1 D:\home\cut.mp4";
           process.StartInfo.UseShellExecute = false;
           process.StartInfo.RedirectStandardOutput = true;
           process.StartInfo.RedirectStandardError = true;
           log.Info(Directory.GetCurrentDirectory());
           log.Info("Cutting starts:"+DateTime.Now.ToString("h:mm:ss tt"));
           process.Start();
           string output = process.StandardOutput.ReadToEnd();
           process.WaitForExit();
           log.Info("Cutting ends :"+DateTime.Now.ToString("h:mm:ss tt"));
           log.Info(output);
       }
    }

    Output seen on Azure function Console :

    2017-03-24T11:06:00.705 Function started (Id=df082f54-719a-415f-b7f1-b10548a213be)
    2017-03-24T11:06:00.721 Executing
    2017-03-24T11:06:00.721 D:\Windows\system32
    2017-03-24T11:06:00.721 Cutting start :11:06:00 AM
    2017-03-24T11:07:14  No new trace in the past 1 min(s).
    2017-03-24T11:08:14  No new trace in the past 2 min(s).
    2017-03-24T11:09:14  No new trace in the past 3 min(s).
    2017-03-24T11:10:14  No new trace in the past 4 min(s).
    2017-03-24T11:11:00.758 Microsoft.Azure.WebJobs.Host: Timeout value of 00:05:00 was exceeded by function: Functions.ManualTriggerCSharp1.

    When I try to execute this same command on KUDU console or my own PC it only take 1.5 mins and I get a file of the desired duration

    Could anyone please help me with this ? What I might be missing ?

  • using ffmpeg in Azure function to cut files using c#

    22 janvier 2019, par abhishekmoondra1989

    I have written an Azure function in C# which will cut a big mp4 files into some small duration. I have copied everything that is required (ffmpeg executeable, video file) in home directory via KUDU console. But when I run the the function it runs for more than 5 minutes and it doesn’t give any files in the home directory.

    Function :

    using System;
    using System.Diagnostics;

    public static void Run(string input, TraceWriter log)
    {
       log.Info("Executing");
       using (var process = new Process())
       {
           process.StartInfo.FileName = @"D:\home\ffmpeg.exe";
           process.StartInfo.Arguments = @"-i D:\home\AmnestyInternational.mp4 -ss 00:00:03 -t 00:00:08 -async 1 D:\home\cut.mp4";
           process.StartInfo.UseShellExecute = false;
           process.StartInfo.RedirectStandardOutput = true;
           process.StartInfo.RedirectStandardError = true;
           log.Info(Directory.GetCurrentDirectory());
           log.Info("Cutting starts:"+DateTime.Now.ToString("h:mm:ss tt"));
           process.Start();
           string output = process.StandardOutput.ReadToEnd();
           process.WaitForExit();
           log.Info("Cutting ends :"+DateTime.Now.ToString("h:mm:ss tt"));
           log.Info(output);
       }
    }

    Output seen on Azure function Console :

    2017-03-24T11:06:00.705 Function started (Id=df082f54-719a-415f-b7f1-b10548a213be)
    2017-03-24T11:06:00.721 Executing
    2017-03-24T11:06:00.721 D:\Windows\system32
    2017-03-24T11:06:00.721 Cutting start :11:06:00 AM
    2017-03-24T11:07:14  No new trace in the past 1 min(s).
    2017-03-24T11:08:14  No new trace in the past 2 min(s).
    2017-03-24T11:09:14  No new trace in the past 3 min(s).
    2017-03-24T11:10:14  No new trace in the past 4 min(s).
    2017-03-24T11:11:00.758 Microsoft.Azure.WebJobs.Host: Timeout value of 00:05:00 was exceeded by function: Functions.ManualTriggerCSharp1.

    When I try to execute this same command on KUDU console or my own PC it only take 1.5 mins and I get a file of the desired duration

    Could anyone please help me with this ? What I might be missing ?

  • Easiest way to convert images to mp4 with FFMPEG

    3 octobre 2017, par sql_newbie_developper

    I will try to explain my situation : I know that FFMPEG is the best tool to work with PHP to have transcode operations. I’m in a Windows environnement and I have PHP 7.

    What I need is : with a php file, to take all pictures in the folder (1.png ; 2.png) etc and then process with FFMPEG to create a MP4 video

    I know there is a lot of documentation on the Web about PHP, FFMPEG, PHP-FFMPEG but I don’t know the easiest way to implement what I want. I also know that PHP needs FFMPEG binaries to work (which is logical). But I’m lost in the procedure and the way to do it.

    Is it possible with the exec function ?

    exec("PATH IN THE PROJECT OF EXE -f image2 -i /home/phedra/imgs/image/img%03d.png -r 12 -s 610x489 /home/phedra/imgs/video/out.avi", $out);

    Do I absolutely need PHP-FFMPEG ?