
Recherche avancée
Autres articles (76)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14865)
-
swscale : disable ARM code until its build failure with clang/iphone is fixed
8 janvier 2014, par Michael Niedermayer -
Display YUV420P video using OpenGLES on iPhone
25 décembre 2014, par user3487978I am writing an app displaying YUV420p video using ffmpeg library on iPhone, every thing works fine, but the OpenGL color is a little strange, see picture, the bellow image is displaying using AVPicture in RGB format, above is using AVPicture in YUV format.
any ideas ?my shader
varying highp vec2 varTexcoord;
uniform sampler2D SamplerY;
uniform sampler2D SamplerUV;
void main (void)
{
mediump vec3 yuv;
lowp vec3 rgb;
yuv.x = texture2D(SamplerY, varTexcoord).r;
yuv.yz = texture2D(SamplerUV, varTexcoord).rg - vec2(0.5, 0.5);
// Using BT.709 which is the standard for HDTV
rgb = mat3( 1, 1, 1,
0, -.18732, 1.8556,
1.57481, -.46813, 0) * yuv;
gl_FragColor = vec4(rgb,1.0);
}Renderer :
glActiveTexture(GL_TEXTURE0);
glTexImage2D(GL_TEXTURE_2D,
0,
GL_LUMINANCE,
(GLsizei)model.width,
(GLsizei)model.height,
0,
GL_LUMINANCE,
GL_UNSIGNED_BYTE,
[model.y bytes]);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE);
glActiveTexture(GL_TEXTURE1);
glTexImage2D(GL_TEXTURE_2D,
0,
GL_LUMINANCE,
(GLsizei)model.width/2,
(GLsizei)model.height/2,
0,
GL_LUMINANCE,
GL_UNSIGNED_BYTE,
[model.uv bytes]);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
glTexParameterf(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE); -
Anomalie #3064 : recherche nom rubrique avec quote pas pris en compte
2 novembre 2013, par b bTesté sur SPIP 3.0.12 svn 20909 sur une base MySQL, je ne reproduis pas.
Par contre je reproduis sur contrib.spip.net.