
Recherche avancée
Autres articles (42)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (7387)
-
bethsoftvid : set packet key frame flag for audio and I-frame video packets.
19 janvier 2012, par Justin Rugglesbethsoftvid : set packet key frame flag for audio and I-frame video packets.
-
How to optimize video to animated GIF conversion using PHP + shell commands
15 mars 2012, par user1070798I have a web application that converts any video into an animated GIF. The app runs in PHP and the following steps are executed through php's shell_exec :
- Scale video to smaller dimensions, if they are large (ffmpeg -i $in -s 200x150 -an $out)
- Use ffmpeg to extract 1 jpeg every x seconds (ffmpeg -i $in -ss $ss -vframes 1 $out)
-
Convert jpegs to animated GIF using imagick (convert -delay $delay -loop 0 $dir/* $out)
aside - the reason I don't use the ffmpeg gif89a output is because the quality sucks.
I want to be able to except any major image format, but the most common will probably be .flv (flash) and .avi/.mpg.
My application runs fine, but I am a perfectionist and it needs to be faster for scalability.
My web server has 16 cores and I would like to utilize them as much as possible, but .flv multi-threading appears to not be supported by ffmpeg, while .avi and some others are supported. Also, ffmpeg doesn't support multi-threading when outputting to jpegs.
Does anyone know of any other programs that support multi-threading for .flv and others ? Are there any more efficient methods to create an animated GIF from video, while maintaining relatively decent quality (aka not the 100-color palette that ffmpeg supports) ?
Also, if anyone knows which codecs might perform best for stages 1 and 2, particularly with flv, I'd love to know. I've done hours of testing, but there are just so many options I haven't come to any solid conclusions.
***Update : My online app is working well so far animated gif generator. I would still love to make it faster though, so if anyone has run into similar circumstances... let me know !
-
ffmpg : generate very small size video out of pictures
15 février 2012, par jfasUsing JPEG pictures, I'd like to generate a video with the smallest possible size. In the ffmpeg doc, it says one can use a 1 fps frame rate. Is it possible to go below that to have a even smaller video file size (like 1 new picture displayed every 2-3secs ?)