
Recherche avancée
Autres articles (46)
-
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
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
Sur d’autres sites (4720)
-
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 !
-
Best format available for jwplayer
14 mai 2013, par offboardI want the quality 360p, so I thought the format. Mp4
but is slow to load the video on my local server is faster but takes a long web. videos in flv is faster.
I use ffmpeg to convert videosI'm using this command line to convert the file. mp4
ffmpeg-i "video.avi"-ar 22050-ab 32-f mp4 video.mp4
and also use this :
ffmpeg-i video.avi-vf scale = -1:360-c: v libx264-preset ultrafast video.mp4
I do not understand is slow to load, I think it may be the bitrate or file size, I do not know, by my testing the player expect to load the whole video to play, but not flv, so I do not understand.
-
avfiltergraph : simplify inserting conversion filters.
14 mai 2013, par Anton Khirnov