
Recherche avancée
Autres articles (104)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (15151)
-
Fixed parsing of $_FILES as one-dimensional array.
8 mars 2012, par Sebastian Tschanm server/php/upload.class.php Fixed parsing of $_FILES as one-dimensional array. Thanks to Julien Künzi for the report.
-
Ffmpeg change height with fixed width
2 mars 2012, par DmitryI'm trying to change video dimensions using ffmpeg.
For example, user is uploading video 1280*960.And i need to get video 640*480 in return.
I tried this code and it works
exec($ffmpegPath." -i ".$srcFile." -ar 22050 -ab 32 -f flv -s 640x480".$destFile,$tmp);
but this method d't keep width/height balance of video (i.e. video 5000*480 becomes 640*480 and looks compressed from left and right).
In case of this dimensions (5000*480) i need to get video on exit like 640*61
i mean fixed height is not suitable for me.I look over the internet and found this topics
http://superuser.com/questions/201051/resize-videos-with-different-widths-to-a-fixed-height-preserving-aspect-ratio-wi
http://delogics.blogspot.com/2011/11/ffmpeg-maintain-aspect-ratio-with-fixed.htmlbut neither of them works for me (ffmpeg even not works with this code, maybe i've made mistake when adding theirs code parts in my ffmpeg string)
Help me to improve my code pls
Thanks
-
Fixed parsing of $_FILES as one-dimensional array.
8 mars 2012, par Sebastian Tschanm server/php/upload.class.php Fixed parsing of $_FILES as one-dimensional array. Thanks to Julien Künzi for the report.