
Recherche avancée
Autres articles (66)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (5261)
-
How to wrap a C library parameter ?(Creating x264 .Net wrapper)
6 décembre 2016, par Rellaso in dll we have
x264_param_t
structure\object and a function for its setting upx264_param_apply_profile
. in C we use such code to set it upx264_param_t param;
x264_param_default_preset(&param, "veryfast", "zerolatency");
param.i_threads = 1;
param.i_width = width;
param.i_height = height;
param.i_fps_num = fps;
param.i_fps_den = 1;
// Intra refres:
param.i_keyint_max = fps;
param.b_intra_refresh = 1;
//Rate control:
param.rc.i_rc_method = X264_RC_CRF;
param.rc.f_rf_constant = 25;
param.rc.f_rf_constant_max = 35;
//For streaming:
param.b_repeat_headers = 1;
param.b_annexb = 1;
x264_param_apply_profile(&param, "baseline");I want to create wrapper for such.. thing. so I have libx264.dll and visual studio 2010 pro.
How can I create .Net C# wrapper for it ?
I am a beginner in P\Invoke stuff so I do not get a lot of it...
what I want to achive is is frame by frame level of working with x264... By now I need only encoding parts... And all needed sample code for doing it in C is in How does one encode a series of images into H264 using the x264 C API ? . So I need to write a wrapper only for stuff mentioned there... So I am asking - how to create a wrapper on Parameter and on Function that sets up thap param. And I would love to see how to call that wrapper back from c#. So if you could provide any code in support I’d be glad to see it.
-
Evolution #4815 : Vignette des documents webp
7 juin 2021, par JLuc -Sur Gandi SH, OVH Pro 2010 (comme le tiens b_b) et allwaysdata mutu, gd webp est activé.
Le pb semble être que le fichier original du logo est affiché redimensionné (comme dans les listes) avec une largeur de 320px calculée et imposée par SPIP :
img src="../IMG/logo/framboise.resized.webp ?1623097946" style="max-width : 320px ; max-height : 320px" alt="logo_on"Mais la colonne ne fait que 286px de large d’après l’inspecteur.
-
Anomalie #4756 : Régressions liées aux évolutions des styles du privé
7 juin 2021, par JLuc -Pour webp : sur allwaysdata mutu, gandi simplehosting, et OVH mutu PRO 2010 (comme le tiens b_b) "WebP Support" est "enabled" et le pb des logos webp se présente quand même (ainsi que l’absence de vignette pour les documents webp dans /ecrire)
Le pb semble être que le fichier original du logo est affiché redimensionné (comme les logos dans les listes) avec une largeur de 320px calculée et imposée par SPIP : img src="../IMG/logo/framboise.resized.webp ?1623097946" style="max-width : 320px ; max-height : 320px" alt="logo_on"
Mais la colonne ne fait que 286px de large d’après l’inspecteur.