Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (81)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (10210)

  • Evolution #3491 : Fichier spécifique pour les log d’autorisation

    3 avril 2016, par b b

    J’ai un doute sur cette modification en effet, le moindre hit dans le privé génère un nombre important de lignes :Pri:debug: autoriser ce qui rend spip.log presque inutilisable...

  • swscale : disable ARM code until its build failure with clang/iphone is fixed

    8 janvier 2014, par Michael Niedermayer
    swscale : disable ARM code until its build failure with clang/iphone is fixed
    

    See : "19:40 Yu Xiaolei Re : [FFmpeg-devel] [PATCH] fix build with gas-preprocessor.pl"

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswscale/arm/Makefile
    • [DH] libswscale/swscale_unscaled.c
  • Display YUV420P video using OpenGLES on iPhone

    25 décembre 2014, par user3487978

    I 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);

    image on bottom is using RGB, above is using YUV