Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (64)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP 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é.

Sur d’autres sites (5808)

  • logos and subtitles in reverse using ffmpeg and OpenGL in iOS 5.0

    6 février 2012, par resident_

    I am using ffmpeg to play video on iOS 5.0. In my app with ffmpeg decoded video frames and use OpenGL to display it.

    But I have a problem I don't resolve it. Chains logos and subtitles of the video image is displayed in reverse. I think that is the problem of rendering OpenGL 2.0 or ffmpeg decoded.

    Can you tell me what is wrong ?, and How I can fix it ?

    Very thanks,

    Edit : I change my prepareTExture method with this :

    - (void) prepareTextureW: (GLuint) texW textureHeight: (GLuint) texH frameWidth: (GLuint) frameW frameHeight: (GLuint) frameH {

    float aspect = (float)frameW/(float)frameH;
    float minX=-1.f, minY=-1.f, maxX=1.f, maxY=1.f;
    float scale ;
    if(aspect>=(float)backingHeight/(float)backingWidth){
       // Aspect ratio will retain width.
       scale = (float)backingHeight / (float) frameW;
       maxY = ((float)frameH * scale) / (float) backingWidth;
       minY = -maxY;
    } else {
       // Retain height.
       scale = (float) backingWidth / (float) frameW;
       maxX = ((float) frameW * scale) / (float) backingHeight;
       minX = -maxX;
    }
    if(frameTexture) glDeleteTextures(1, &frameTexture);
    glEnable(GL_TEXTURE_2D);
    glGenTextures(1, &frameTexture);
    glBindTexture(GL_TEXTURE_2D, frameTexture);
    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_REPEAT );
    glTexParameterf( GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_REPEAT );
    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB, texW, texH, 0, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, NULL);          


    verts[0] = maxX;          
     verts[1] = maxY;
     verts[2] = minX;      
     verts[3] = maxY;
     verts[4] = maxX;  
     verts[5] = minY;
     verts[6] = minX;    
     verts[7] = minY;

    float s = (float) frameW / (float) texW;
    float t = (float) frameH / (float) texH;            

    texCoords[0] = 0.f;        texCoords[1] = 1.f;
    texCoords[2] = 1;          texCoords[3] = 1.f;
    texCoords[4] = 0.f;        texCoords[5] =0;
    texCoords[6] = 1;          texCoords[7] =0;

    mFrameH = frameH;
    mFrameW = frameW;
    mTexH = texH;
    mTexW = texW;
    maxS = s;
    maxT = t;

    // Just supporting one rotation direction, landscape left.  Rotate Z by 90 degrees.
    matSetRotZ(&rot,M_PI_2);

    matMul(&mvp, &rot, &rot);
    [self setupShader];    

    }

    And now this is my result : link image

  • Anomalie #2570 (Nouveau) : calculer_rubriques_publiees

    2 mars 2012, par jluc -

    calculer_rubriques_publiees ne fait pas bien son travail.

    calculer_rubriques_publiees a une action erronée car les rubriques sont modifiées successivement si elles sont un article publié, une brève publiée, un site publié, un document publié, ou une rubrique fille publiée. C’est fait dans l’ordre, (...)

  • Anomalie #2559 : SVP et javascript

    1er mars 2012, par b b

    Testé sur SPIP 3.0.0-beta2 SVN [19036] avec Opera 11.61 => aucun problème. Pour être plus précis, j’ai bien testé les deux types de boutons d’action de la page admin_plugn : le bouton d’action unitaire (activer un seul plugin) et le bouton d’actions multiples (Appliquer en bas du (...)