Recherche avancée

Médias (91)

Autres articles (102)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • 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 (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (8687)

  • Anomalie #3408 (En cours) : Ergo : incoherence entre l’accès au formulaire instituer et si on a vr...

    9 février 2021, par b b

    J’aillais envoyer le patch suivant, mais...

    < b_b‎ >  je voulais tester avant d’envoyer maieul 
    < b_b‎ >  mais je ne comprends pas le bug
    < b_b‎ >  je dois faire quoi pour le reproduire ?
    < b_b‎ >  en tant que rédacteur j’ai :
    < b_b‎ >  en cours de rédac + proposé + à la poubelle
    < b_b‎ >  j’envoie rien tant que je ne peux pas reproduire le bug
    
    * d702e8779a - (HEAD -> issue_3408) tester aussi qu’on peut publier dans la rubrique courante au chargement du formulaire (b_b il y a 5 minutes)
    | 
    | diff —git a/prive/formulaires/instituer_objet.php b/prive/formulaires/instituer_objet.php
    | index b5ae508405..cfa5f710e4 100644
    | --- a/prive/formulaires/instituer_objet.php
    | +++ b/prive/formulaires/instituer_objet.php
    | @@ -93,6 +93,11 @@ function formulaires_instituer_objet_charger_dist($objet, $id_objet, $retour = ’
    |              
    |          
    |      
    | +
    | +    if (isset($v[’id_rubrique’]) and !autoriser(’publierdans’, ’rubrique’, $v[’id_rubrique’])) 
    | +        $publiable = false ;
    | +    
    | +
    |      $statuts = lister_statuts_proposes($desc, $editable ? $publiable : true) ;
    |      if (count($statuts) == 1 and isset($statuts[$v[’statut’]])) 
    |          $editable = false ;
    
  • Stream my webcam on RTMP through FFMPEG

    3 mars 2014, par M.Yazdian

    I want to stream my webcam on RTMP through FFMPEG.

    I use FFMPEG in ProcessStartInfo, when I start this process FFMPEG run in new window and my web cam Images stream in RTMP correctly.

    But I have problems in this case :

    1- When I start to process, FFMPEG runs in the new window (cmd), I don’t need this window.

    I like FFMPEG work in background.

    2- When the FFMPEG in working I can't access to my forms.

    My vb.net forms are locked until FFMPEG process is done.

    3- I have 3 webcam in my computer and I like to stream these 3 webcams on the RTMP such as webcam1 , webcam2 , webcam3, But when I start stream from webcam1, I can't access to start other webcams to stream.

    Dim camName = DirectCast(sender, Button)
    Dim psi As ProcessStartInfo = New ProcessStartInfo("c:\ImageMagick\ffmpeg.exe")
    Dim proc As Process = Process.Start(psi)
    psi.UseShellExecute = False
    psi.CreateNoWindow = False
    psi.Arguments = " -f dshow -i video=""" &amp; camName.Name &amp; """ -threads 1 -preset ultrafast -vcodec libx264 -b:v 640k -acodec copy -f flv rtmp://192.168.1.2/live/sample2 "
    proc = Process.Start(psi)
    proc.WaitForExit()

    Please advise me to solve these issues

    Thanks in advance

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