Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (76)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (9425)

  • corrects typo in add function description

    12 juin 2013, par martco
    corrects typo in add function description
  • rtpdec : Free depacketizers if the init function failed

    24 février 2015, par Martin Storsjö
    rtpdec : Free depacketizers if the init function failed
    

    This is different from how it is handled in codecs/demuxers/muxers
    though (where the close function isn’t called if the open function
    failed), but since the number of depacketizers that have an .init
    function is quite limited, this is easy to change.

    The main point is that if the init function failed, we shouldn’t
    try to use that depacketizer at all - this makes sure that the
    parse function doesn’t need to check for the things that were
    initialized in the init function.

    Signed-off-by : Martin Storsjö <martin@martin.st>

    • [DH] libavformat/rdt.c
    • [DH] libavformat/rtpdec.h
    • [DH] libavformat/rtpdec_mpegts.c
    • [DH] libavformat/rtsp.c
  • 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 ?