
Recherche avancée
Autres articles (99)
-
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 (...) -
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 -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.
Sur d’autres sites (8239)
-
Virtual host compared to multiple servers
9 septembre 2011, par josiecatThis may be dumb but has me wondering why and I know how to setup the virtual host but need to know the why or what it is good for.
Why do you setup virtual host for local development and why not just put sub directories ?
What are the real world uses and how do you use virtual host ?
(my normal set up as of now)
I use Mamp and just put more folders (speaking dummy terms here) in the htdocs folder. Is that ok what am I missing ?The reason why I would like to use virtual hosting is because I would like to have a few servers to try different technologies (e.g. adding ffmpeg support for streaming video and many others ) but do I use virtual hosting to be able to have more than one server or do I need to use something like virtual machine to have multiple servers with different versions of PHP, Mysql etc...?
I understand how to set this stuff up just don't understand the difference from virtual host to multiple servers ? could I actually set up one with php just the basic and another for php with ffmpeg-php and other stuff like zend or what ever just to have different server environments to basically mock the actual server that the project will land when done ?
-
How does winget set permenant aliases ?
9 septembre 2023, par ninburaWhen I install something like
ffmpeg
with winget it sets permanent aliases forffmpeg
,ffplay
, &ffprobe
.

winget install gyan.ffmpeg



It doesn't look like it's adding anything to my path environment variable. If I use the Set-Alias utility said alias is ephemeral, only lasting until the end of the current session. Eventually I found that I can use my
$profile
to denote a list of aliases that insnsiate every time I launch my shell.

Does winget do the same thing just with a different "profile" file ?


-
Extract the middle frame of a video in Python using ffmpeg ?
10 juin 2014, par ensnareI have a collection of video files for which I’d like to generate thumbnails. How can I extract the middle frame of the video in Python ?
If I execute :
ffmpeg -i /tmp/0.mts
I get a line returned to the shell that says :
Duration: 00:00:04.49, start: 1.016689, bitrate: 25234 kb/s
Maybe I could extract the timestamp after the duration and somehow divide that by 2 to get the middle frame timestamp, and extract that ?
If I’m recursing through a large collection of videos, is there a way to keep ffmpeg "open" without the overhead of opening/closing it to identify each file ?