Recherche avancée

Médias (0)

Mot : - Tags -/médias

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (61)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains 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 ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (13016)

  • problem in loading texture from AVFrame(android)

    25 mars 2013, par SieuTruc

    I get a problem when loading data from AVFrame to openGL :

    int target_width = 320;
                   int target_height = 240;
                   img_convert_ctx = sws_getContext(pCodecCtx->width, pCodecCtx->height,
                                              pCodecCtx->pix_fmt,
                                              target_width, target_height, PIX_FMT_RGBA, SWS_FAST_BILINEAR,
                                              NULL, NULL, NULL);
                   if(img_convert_ctx == NULL) {
                       LOGE("could not initialize conversion context\n");
                       return;
                   }
                   sws_scale(img_convert_ctx, (const uint8_t* const*)pFrame->data, pFrame->linesize, 0, pCodecCtx->height, pFrameRGB->data, pFrameRGB->linesize);
                   //free(data);
                   int line=target_width*target_height*4;
                   data=(char*)malloc(line);
                   if (!data)
                       LOGE("create data frame fail");
                   LOGE("successful data");
                   filldata(data,pFrameRGB,target_width,target_height);

    with function filldata as :

       static void filldata(char *data,AVFrame *pFrame,int w,int h)
    {uint8_t *frameLine;
       int  yy;
       int i=0;

    for (yy = 0; yy < h; yy++) {

    frameLine = (uint8_t *)pFrame->data[0] + (yy * pFrame->linesize[0]);

    int xx;

    for (xx = 0; xx < w; xx++) {
               int in_offset = xx * 4;

    data[i++] = frameLine[in_offset];

    data[i++] = frameLine[in_offset+1];

    data[i++] = frameLine[in_offset+2];

    data[i++] = frameLine[in_offset+3];
           }
       }
    }

    After that i use data to transfer to

    glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, *wi, *he, 0, GL_RGBA, GL_UNSIGNED_BYTE, (GLvoid*)data);

    but it cannot show texture, maybe data above and data in function gltextimage2D are different.
    Please help me figure out what is the format for gltextimage2D so i can configure data to show texture. OR anyone has some sample code to show me.

  • how to use ffmpeg to do video compression in android [duplicate]

    26 février 2014, par user963241

    This question already has an answer here :

    I tried to compile the ffmpeg to shared library to android

    where can i find the jni ffmpeg sample code to reduce the video size ?
    thanks.

  • Concatenate 2 video files using FFMpeg for android

    26 février 2014, par SujithPt

    I have built the files and folders of FFMpeg in the jni folder of my Android app. All I wanted is some help on concatenating two video files in my assets folder using FFMpeg. Please help.