
Recherche avancée
Autres articles (31)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (4032)
-
FFmpeg static keyframe rate
7 novembre 2011, par 2diI have a question about ffmpeg usage. Every time when I trying to convert video files into
some different format, output file getting static keyframe sequence.What I mean is that keyframes appear at the distance of 12 frames. I know that its controllerd by parameter -g that you can change to any other number.
ffmpeg -i 1.avi -vcodec mpeg4 -b 2000000 out.avi
I believe there should be some way to make keyframes appear on uneven intervals. These interval should be calculated by codec, and it should be based on image changes in the video file. So keyframes should be inserted only when they needed, but not consistently after N frames.
Can somebody please explain to me how this "smart" encoding can be done with ffmpeg ?
Thank youSOLUTION : ok what I'ev been looking for has very simple solution. If you set -g to zero, ffmpeg will choose keyframes based on the video shots and bitrate
-
Symfony2 command different behavior in cli and from incron
27 janvier 2014, par user3227518I'm using
incron
to watch a folder and each time a file is uploaded to it a Symfony2 command is executed to encode a video and store it in my application.The encoding is made through shell scripts using
ffmpeg
. It works fine when I use the command in cli (php app/console ...) but when the same command is called from incron, it's likeffmpeg
won't work.Do you have any idea why the scripts would behave differently when the same command is used ?
shell_exec("/absolute/path/to/script.sh /absolute/path/to/file1.avi
/absolute/path/to/file2.avi /absolute/path/to/output/output.avi") ;Thanks in advance !
-
ffmpeg : How to set AVFormatContext from NSData
21 janvier 2014, par SUKIYAKII'm using FFmpeg library in Objective-C.
I want to set AVFormatContext from NSData which contain imagedata.
I know I can set AVFormatContext with av_open_input_file().
so writing contents of NSData to a temporary file, I can do it like this.[data writeToFile:@"./temp.mov" atomically:YES];
av_open_input_file(&pFormatCtx, "./temp.mov", NULL, 0, NULL);
.
.
.
NSFileManager *fm = [NSFileManager defaultManager];
[fm removeFileAtPath:@"./temp.mov" handler:nil];but, I don't want to use temporary file.
Does anyone know smart way ?
sorry my poor English.
Thanks