
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (92)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (12770)
-
Mingw-w64 - printf does not work
27 décembre 2013, par Gosha U.First I wanted to modificate ffplay according to my requirments. Then I noticed that original ffplay from my build can't play some video files, but it didn't write any message to console. Then I noticed that ffmpeg also don't write any usage message when I run it without params. But it works. If I run it from terminal it's like running asynchronously ! The terminal just shows next row. I mean it asks for a next command. But the
ffmpeg
process is visible in task manager and it writes the output video file what I had requested !I created following souce file. I have modified the Makefile. So it have built the exe-file works just the same way. I have no idea how it can be.
#include
#include "cmdutils.h"
const char program_name[] = "hello";
const int program_birth_year = 2013;
void show_help_default(const char *opt, const char *arg)
{
printf("zxcvbnm\n");
}
int main(int argc, char **argv)
{
printf("1234567890\n");
return 0;
}And after that I created real hello world app with MinGW-w64 and qmake without eny extra libs. And its printf does not work.
I want to prevent this behavior.
I want to make printf working in traditional manner.
How I build FFmpeg :
PKG_CONFIG_PATH=/home/developer/workspace/MinGW32fs/lib/pkgconfig/ \
SDL_CONFIG=/home/developer/workspace/MinGW32fs/bin/sdl-config \
./configure \
--prefix=/home/developer/workspace/MinGW32fs \
--extra-ldflags="-L/home/developer/workspace/MinGW32fs/lib" \
--extra-cflags="-I/home/developer/workspace/MinGW32fs/include" \
--arch=x86 --target-os=mingw32 --cross-prefix=i686-w64-mingw32- \
--pkg-config=pkg-config --enable-libtheora --enable-libvorbis --enable-libvpx \
--enable-outdev=sdl --enable-shared --disable-static \
--disable-doc --disable-manpages --disable-podpages
make -
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
? -
Which Dedicated Server for FFMPEG ?
11 février 2017, par OarSmaNMy website converts video to audio and video to video using FFMPEG (full Centos 64bit install). Mostly i got multiple conversions (10-20) real time. I use cache for already converted audios/videos. I am currently moving to a dedicated server and i need to know which configuration would be best for my situation.
Which of the below servers is better for FFMPEG ;
SINGLE Intel® Xeon® Processor E3-1270 v5, 8M Smart Cache, 3.60 GHz, 8 GT/s DMI3 (4 Cores-8 Threads) / 32GB DDR4 2133 / 240GB S3500 Intel Wolfsville SSD + 1TB Enterprise Grade HDD (for caching)
DUAL Intel® Xeon® Processor E5-2620, 15M Smart Cache, 2.00 GHz, 7.20 GT/s Intel® QPI (12 Cores-24 Threads) / 32GB DDR3 1333 / 120GB S3500 Intel Wolfsville SSD + 1TB Enterprise Grade HDD (for caching)
thanks for your ideas.