Recherche avancée

Médias (91)

Autres articles (39)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Contribute to translation

    13 avril 2011

    You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
    To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
    MediaSPIP is currently available in French and English (...)

Sur d’autres sites (7385)

  • Merge commit ’58ae8d595724150c407ca2c2df3aa4bd5580397c’

    27 janvier 2015, par Michael Niedermayer
    Merge commit ’58ae8d595724150c407ca2c2df3aa4bd5580397c’
    

    * commit ’58ae8d595724150c407ca2c2df3aa4bd5580397c’ :
    h264_parser : restore a comment lost in 0268a54

    Conflicts :
    libavcodec/h264_parser.c

    No change, the code that is commented is no longer there in the form to
    which the comment applied

    Merged-by : Michael Niedermayer <michaelni@gmx.at>

  • Proxy a rtmp stream

    22 février 2015, par lsborg

    How could I proxy a rtmp stream ?

    I have two raspberry pi streaming live video from raspicams on my LAN. Each raspberry pi sends the video to ffmpeg which wraps in flv and sends to crtmpserver.

    A third server using nginx, has a static html page with two instances of jwplayer, each pointing to one raspberry pi.

    The setup is just like this one.

    The web server uses authentication and I’d like streams not to be public too.

    I’m thinking of trying nginx-rtmp-module, but I am not sure if it would help me. Also, it seems dormant and has many open issues.

    I’m open to suggestions, thanks in advance !

  • ffmpeg command and args execute successfully with child_process.exec() but not child_process.spawn()

    15 octobre 2013, par Zugwalt

    I am trying to use ffmpeg to add text to a video via the drawtext filter from within node.js in a windows environment.

    I have a command and arguments that work in the command line and when executed using the child_process module's exec function, but it encounters an error when the same arguments are used with the spawn function.

    The below code illustrates the problem :

    var child_process = require(&#39;child_process&#39;);

    var cmd = &#39;ffmpeg&#39;;

    var args = [ &#39;-i&#39;,
                &#39;c:\\path\\to\\my\\inputfile.mp4&#39;,
                &#39;-vf&#39;,
                &#39;drawtext="fontfile=/Windows/Fonts/arial.ttf:text=\&#39;Hello World\&#39;:fontcolor=white@0.6:fontsize=70:x=0:y=40"&#39;,
                &#39;-y&#39;,
                &#39;c:\\path\\to\\my\\outputfile.mp4&#39; ];

    // Above creates the command line equivalent of:
    // ffmpeg -i c:\path\to\my\inputfile.mp4 -vf drawtext="fontfile=/Windows/Fonts/arial.ttf:text=&#39;Hello fluent text&#39;:fontcolor=white@0.7:fontsize=70:x=0:y=40" -y c:\path\to\my\outputfile.mp4
    // this works when run from the command line

    var execCmd = cmd+&#39; &#39;+args.join(&#39; &#39;);

    child_process.exec(execCmd, function (error, stdout, stderr) {
           /* ffmpeg runs fine, adding the text to the video */

           var spawn = child_process.spawn(cmd,args);

           spawn.on(&#39;close&#39;, function (code) {
               /* ffmpeg fails, with standard error (obtained via spawn.stderr) reading:
                  Could not load font ""fontfile=/Windows/Fonts/arial.ttf": impossible to find a matching font
                  Error initializing filter &#39;drawtext&#39; with args &#39;"fontfile=/Windows/Fonts/arial.ttf:text=Hello fluent text:fontcolor=white@0.6:fontsize=70:x=0:y=40"&#39;
               */
           });
       });

    Based on the error message :

    Could not load font ""fontfile=/Windows/Fonts/arial.ttf" : impossible
    to find a matching font

    And comparing it to giving ffmpeg a bogus font on the command line :

    Could not load font "/Windows/Fonts/bogus.ttf" : impossible to find a
    matching font

    It seems the problem is that when executed from spawn the drawtext argument is incorrectly parsed and "fontfile= is incorrectly making its way into the font's path. This does not happen when the same argument is executed with exec or from the command line. Is there any additional escaping that needs to be done when executing using spawn ?