
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (39)
-
Personnaliser les catégories
21 juin 2013, parFormulaire 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, parPour 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 2011You 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 NiedermayerMerge commit ’58ae8d595724150c407ca2c2df3aa4bd5580397c’
* commit ’58ae8d595724150c407ca2c2df3aa4bd5580397c’ :
h264_parser : restore a comment lost in 0268a54Conflicts :
libavcodec/h264_parser.cNo change, the code that is commented is no longer there in the form to
which the comment appliedMerged-by : Michael Niedermayer <michaelni@gmx.at>
-
Proxy a rtmp stream
22 février 2015, par lsborgHow 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 ZugwaltI 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 thespawn
function.The below code illustrates the problem :
var child_process = require('child_process');
var cmd = 'ffmpeg';
var args = [ '-i',
'c:\\path\\to\\my\\inputfile.mp4',
'-vf',
'drawtext="fontfile=/Windows/Fonts/arial.ttf:text=\'Hello World\':fontcolor=white@0.6:fontsize=70:x=0:y=40"',
'-y',
'c:\\path\\to\\my\\outputfile.mp4' ];
// Above creates the command line equivalent of:
// ffmpeg -i c:\path\to\my\inputfile.mp4 -vf drawtext="fontfile=/Windows/Fonts/arial.ttf:text='Hello fluent text':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+' '+args.join(' ');
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('close', 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 'drawtext' with args '"fontfile=/Windows/Fonts/arial.ttf:text=Hello fluent text:fontcolor=white@0.6:fontsize=70:x=0:y=40"'
*/
});
});Based on the error message :
Could not load font ""fontfile=/Windows/Fonts/arial.ttf" : impossible
to find a matching fontAnd 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 fontIt 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 withexec
or from the command line. Is there any additional escaping that needs to be done when executing usingspawn
?