Recherche avancée

Médias (91)

Autres articles (100)

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

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (6078)

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