
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (107)
-
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 les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...)
Sur d’autres sites (12628)
-
FFMPEG & boxblur, alignment
26 décembre 2020, par Дмитрий Варзанов

This is the original frame. It is necessary to bring it to a height of 594, and reduce the width in the proportion of Perform-vf "scale=-2:594", done. At the output, we have a height of 594, and a width of even less.


But, the image width should be 1056, while not stretching the frame. That is, add curbs


ffmpeg -i file -ss 10 -lavfi "[0:v]scale=1056:594,boxblur=luma_radius=min(h\,w)/50:chroma_radius=min(cw\,h)/50[bg];[bg][0:v]overlay=(W-w)/2:0" -vframes 1 output_image1.jpg



The whole day I tried to set it up correctly, but it doesn't work out. The result is a width of 1056 and a height of 594. At the same time, the original frame, or rather the entire frame, did not fit in height. Cut from the bottom




How to perform so that the original frame is not cut off and the borders are called shadow. Was at the level of
enter image description here


-
Anomalie #3271 (Nouveau) : tailles_en_octets : tenir compte des norme SI
22 septembre 2014, par Maïeul RouquetteOn va pas revenir sur l’historique des puissance de 2 comme unité de mesure, mais actuellement taille_en_octets fait comme si 1 ko = 1024 octets.
Depuis la normalisation par l’iso, on distingue :
- 1 ko = 1000 octets
- 1kio = 1024 octetset de même pour les multiples au dessus. Cela n’a guère d’importance pour les petites unités, mais à partir du giga cela se fait sentir.
Voir https://fr.wikipedia.org/wiki/Octet#Multiples_normalis.C3.A9s
Proposition pour que SPIP soit conforme aux normes ISO :
- changer les chaînes de langues pour utiliser le kibi au lieu du kilo
- Utiliser les multiples de 10 dans la fonction taille_en_octets, en proposant une constante pour basculer vers l’ancien mode -
Python : Passing complex (ffmpeg) arguments to Popen
25 juin 2016, par xaccrocheurThis ffmpeg Popen invocation works :
command = ['ffmpeg', '-y',
'-i', filename,
'-filter_complex', 'showwavespic',
'-colorkey', 'red',
'-frames:v', '1',
'-s', '800:30',
'-vsync', '2',
'/tmp/waveform.png']
process = sp.Popen( command, stdin=sp.PIPE, stderr=sp.PIPE)
process.wait()But I need to use ’compand, showwavespic’ and this comma seems to be blocking the execution. I also need to pass all sorts of strange characters, like columns and, well, all that you can find in a CLI invocation.
How can I pass complex arguments ?