Recherche avancée

Médias (0)

Mot : - Tags -/formulaire

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

Autres articles (49)

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

  • 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

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (6037)

  • Process is not exiting ffmpeg.exe only for the command which detects the silences from a video

    20 juillet 2015, par Jitender Kumar

    The job of the method ExecuteCommandSync is to detect the silences from a video and return the output as string but when I run this code it never bring the value of proc.HasExited as true. If I forcefully drag the debugger to the line

    result =proc.StandardOutput.ReadToEnd()

    then it never exit the ffmpeg.exe so as a result control never returns back.

    Although the same method is working fine for a different command like creating an audio file from a video. In this case proc.HasExited also returns false but it also generates the audio file successfully.

    public static string ExecuteCommandSync(string fileName, int timeoutMilliseconds)
       {
           string result = String.Empty;
           string workingDirectory = Directory.GetCurrentDirectory();
           try
           {
               string command = string.Format("ffmpeg -i {0} -af silencedetect=noise=-20dB:d=0.2 -f null -", "\"" + fileName + "\"");                
               System.Diagnostics.ProcessStartInfo procStartInfo =
                   new System.Diagnostics.ProcessStartInfo("cmd", "/c " + command);

               procStartInfo.WorkingDirectory = workingDirectory;                
               procStartInfo.RedirectStandardOutput = true;
               procStartInfo.RedirectStandardError = true;
               procStartInfo.UseShellExecute = false;                
               procStartInfo.CreateNoWindow = false;                
               System.Diagnostics.Process proc = new System.Diagnostics.Process();
               proc.StartInfo = procStartInfo;
               proc.Start();                
               proc.WaitForExit(timeoutMilliseconds);
               // Get the output into a string
               if (proc.HasExited)
               {
                   if (!proc.StandardOutput.EndOfStream)
                   {
                       result = proc.StandardOutput.ReadToEnd();
                   }
                   else if (!proc.StandardError.EndOfStream)
                   {
                       result = "Error:: " + proc.StandardError.ReadToEnd();
                   }
               }
           }
           catch (Exception)
           {
               throw;
           }
           return result;
       }

    So please advice.

  • How to implement FFMPEG retry logic [closed]

    18 mars, par M9A

    I am recording a live stream using the following code :

    


    ffmpeg -i <stream url="url"> -c copy output.mp4&#xA;</stream>

    &#xA;

    This works fine for occasions where the stream is segmented in the sense that it will retry if the stream drops. However if the url no longer exists or returns a code such as 403, it will still retry, resulting in an infinite loop of retrying when the stream doesnt exist.

    &#xA;

    How can I retry for segments but maybe retry only a few times for page errors ?

    &#xA;

  • Using ffmpeg to convert an SEC file

    29 septembre 2023, par anna

    I need to convert an SEC file into any video format that I can share and/or upload to Youtube. MP4, etc.

    &#xA;&#xA;

    I'm a complete newbie at all things terminal. I've tried :

    &#xA;&#xA;

    ffmpeg -i video.sec video.mp4

    &#xA;&#xA;

    ffmpeg -i video.sec -bsf:v h264_mp4toannexb -c:v copy video.avi

    &#xA;&#xA;

    ffmpeg -i video.sec -b 256k -vcodec h264 -acodec aac video.mp4

    &#xA;&#xA;

    I don't understand what any of these mean, they're just examples I found online. However, whatever I try returns this error :

    &#xA;&#xA;

    Invalid data found when processing input

    &#xA;&#xA;

    Any thoughts ? Thanks !

    &#xA;