Recherche avancée

Médias (0)

Mot : - Tags -/latitude

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

Autres articles (101)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

  • 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (13740)

  • Build FFMPEG 1.2 (Code name magic) for android

    3 juillet 2013, par Jijo Varghese

    I'm working on a multimedia project. Where i need to concatenate more than one videos. I found that ffmpeg concat demuxer has been added to ffmpeg fire flower (version 1.1). Somebody help me out on, how to builid ffmpeg 1.1 / 1.2 for android ?.

    I've checked all other alternatives, None succeeded. Thanks in advance !!

  • The system cannot find the file specified error when trying to execute FFMpeg command with C# (same code works fine in a different app)

    5 mars 2023, par m_kr

    I know there are similar questions to this one. I have gone through every single one I could find and nothing worked for me. Here is my issue :

    


    I am trying to execute a FFMpeg command in command-line through .NET.

    


    Before anything I tried doing it with the following code :

    


    public static string executeCommand(string commandToBeExecuted)
    {
        Process cmd = new Process();
        cmd.StartInfo.FileName = "cmd.exe";
        cmd.StartInfo.RedirectStandardInput = true;
        cmd.StartInfo.RedirectStandardOutput = true;
        cmd.StartInfo.CreateNoWindow = true;
        cmd.StartInfo.UseShellExecute = false;
        cmd.Start();

        cmd.StandardInput.WriteLine(commandToBeExecuted);
        cmd.StandardInput.Flush();
        cmd.StandardInput.Close();
        cmd.WaitForExit();
        return cmd.StandardOutput.ReadToEnd();
    }


    


    Sending the "ffmpeg -h" command in commandToBeExecuted. This did not work.

    


    I next tried the following solution :

    


    public static string ffmpegCommand(string commandToBeExecuted)
    {
        ProcessStartInfo startInfo = new ProcessStartInfo();
        startInfo.CreateNoWindow = false;
        startInfo.UseShellExecute = false;
        startInfo.FileName = "c:\\ffmpeg\\bin\\ffmpeg.exe";
        startInfo.WindowStyle = ProcessWindowStyle.Hidden;
        startInfo.Arguments = "-h";

        startInfo.RedirectStandardOutput = true;
        startInfo.RedirectStandardError = true;


        Process exeProcess = Process.Start(startInfo);

        // string error = exeProcess.StandardError.ReadToEnd();
        string output = exeProcess.StandardOutput.ReadToEnd();
        exeProcess.WaitForExit();
        return output;
    }


    


    This returns the following error :

    


    


    The system cannot find the file specified

    


    


    I am assuming this is referring to this part of the code :

    


    startInfo.FileName = "c:\\ffmpeg\\bin\\ffmpeg.exe";


    


    However, I checked and this is the correct path to my ffmpeg.exe file. On an even weirder note, this code works correct when tested in a new .net console application. However, I am creating an extension for OutSystems in integration, and when testing this code there it no longer works. The long exception from the logs is the following :

    


    


    CssbobffmpegCommandTestFolder
System.ComponentModel.Win32Exception : The system cannot find the file specified
at Object.s [as getException] (https://personal-jwy0bfog.outsystemscloud.com/FFMpegCommandGeneratorFFProbeVisual/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:2:10241)
at c.onSuccess (https://personal-jwy0bfog.outsystemscloud.com/FFMpegCommandGeneratorFFProbeVisual/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:3:7232)
at XMLHttpRequest. (https://personal-jwy0bfog.outsystemscloud.com/FFMpegCommandGeneratorFFProbeVisual/scripts/OutSystems.js?RnlDcii3Xz75iIHHERIZtA:3:2648)

    


    


    I researched similar problems and tried the following solutions :

    


    In place of :

    


    startInfo.FileName = "c:\\ffmpeg\\bin\\ffmpeg.exe";


    


    I tried :

    


      startInfo.WorkingDirectory = "c:\\ffmpeg\\bin";
  startInfo.FileName = @"ffmpeg.exe";


    


    I also tried changing the :

    


    startInfo.Arguments = "-h";


    


    to :

    


    startInfo.Arguments = "/C -h";


    


    I tried to "add new item" to my solution : the ffmpeg.exe file, and I tried the following logic :

    


    public static string testingNewApproachTwoThree(string commandToBeExecuted)
    {
        string res;
        ProcessStartInfo startInfo = new ProcessStartInfo();

        startInfo.CreateNoWindow = false;
        startInfo.UseShellExecute = false;
        startInfo.FileName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "ffmpeg\\ffmpeg.exe");
        startInfo.Arguments = "-h";
        startInfo.RedirectStandardOutput = true;
        //startInfo.RedirectStandardError = true;

        res = string.Format(
            "Executing \"{0}\" with arguments \"{1}\".\r\n",
            startInfo.FileName,
            startInfo.Arguments) + " NEXT: ";

        try
        {
            using (Process process = Process.Start(startInfo))
            {
                while (!process.StandardOutput.EndOfStream)
                {
                    res = res + process.StandardOutput.ReadLine();

                }

                process.WaitForExit();
            }
        }
        catch (Exception ex)
        {
            res = res + "exception:" + ex.Message;
        }

        return res;
    }


    


    as suggested in a different question.

    


    I tried changing the capitalization of letters in the specified filepath to make sure it matches the naming of my folders. Nothing worked.

    


    Any ideas ?

    


  • libav avformat_open_input error code -1094995529

    17 juin 2015, par mohamed

    I am using libav to decode njpeg stream, I read each frame as a byte array.
    using AVIOContext to read the array and make an AVFormatContext
    I got 2 frames decoded, the third one, the function
    avformat_open_input returns -1094995529

    What is that error code, so I can find out the problem ?