
Recherche avancée
Autres articles (64)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
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 (...)
Sur d’autres sites (12307)
-
Additional : vinUS validation fails on valid vin numbers (#2460)
1er décembre 2022, par wewhiteAdditional : vinUS validation fails on valid vin numbers (#2460)
* Removed === compare, changed to ==
Compare by value and type (===) does not work for this algorithm, as both cd and cdv can be either types at the same time.
By comparing by value only (==) cd and cdv can be either integer or string, as a string number will be converted to a number reqardless of type.* Rewrote forloop, removed nested forloop
* Additional : fixed spacing issues
* Additional : Add vinUS.js validation test cases
Test cases include default test with 17 one’s, and additional US and Canada VIN
* Additional : add two more test casses for vinUS
* Additional : removed text license number, should be VIN
-
Adding frame numbers to a video, along with total frame duration
21 novembre 2022, par Abraham ThomasI need to add frame numbers to videos along with total frame duration of the video. It should show the first frame and the last frame, along with the current frame.


In this forum someone had posted a command, which gives the current frame number ;
I've used this and this below command works for me :


ffmpeg -i inputvid.mp4 -vf "drawtext=fontfile=Arial.ttf : text='%frame_num' : start_number=1001 : x=(w-tw)/2 : y=h-(2*lh) : fontcolor=white : fontsize=55 : box=1 : boxcolor=black : boxborderw=5" -c:a copy D :\Test\outputvid.mp4


But it doesn't show the total frame duration ;
Is there a way to add to this command ; to show the first frame and last frame of the video as well (I'm on windows) ;


-
avcodec/snowenc : Fix invalid left shift of negative numbers
21 octobre 2022, par Andreas Rheinhardt