Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (50)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

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

Sur d’autres sites (5455)

  • Anomalie #3757 (Fermé) : Indication de mise à jour dans l’espace privé.

    22 mars 2016, par svpip -

    Vérifier sur SPIP 3.1.0 sans aucun ajout personnel ni plugin.

    Absence d’indication de mise à jour d’une nouvelle version de SPIP depuis le pied de page de l’espace privé.

    Aujourd’hui mardi 22 mars 2016, l’info reste inchangée (alors que la versions 3.1.1 est sortie depuis le 10 mars 2016) :

    " SPIP 3.1.0 [22707] est un logiciel libre distribué sous licence GPL.
    + écran de sécurité 1.2.2 "

  • FFMPEG : RGB to YUV conversion by binary ffmpeg and by code C++ give different results

    15 mars 2015, par muocdich

    I am trying to convert RGB frames (ppm format) to YUV420P format using ffmpeg. To make sure that my code C++ is good , I compared the output with the one created by this command (the same filer BILINEAR) :
    ffmpeg -start_number 1 -i data/test512x512%d.ppm -sws_flags ’bilinear’ -pix_fmt yuv420p data/test-yuv420p.yuv

    My code :

    static unsigned char *readPPM(int i)
    {
     FILE *pF;
     unsigned char *imgRGB;
     unsigned char *imgBGR;
     int w,h;
     int c;
     int bit;
     char buff[16];

     char *filename;
     asprintf(&filename,"test512x512%d.ppm",i);
     pF = fopen(filename,"rb");
     free(filename);

     if (pF) {
       if (!fgets(buff, sizeof(buff), pF)) {
         return nullptr;
       }
       if (buff[0] != 'P' || buff[1] != '6') {
         fprintf(stderr, "Invalid image format (must be 'P6')\n");
       return nullptr;
     }
     c = getc(pF);
     while (c == '#') {
       while (getc(pF) != '\n') ;
         c = getc(pF);
     }
     ungetc(c, pF);
     // read size
     if (fscanf(pF, "%d %d", &w, &h) != 2) {
       fprintf(stderr, "Invalid image size (error loading '%s')\n", filename);
       return nullptr;

     }
     //read bit
     if (fscanf(pF, "%d", &bit) != 1) {
       fprintf(stderr, "Invalid rgb component (error loading '%s')\n", filename);
       exit(1);
     }

     imgRGB =(unsigned char*) malloc(3*h*w);
     imgBGR =(unsigned char*) malloc(3*h*w);
     //read pixel data from file
     int length = fread(imgBGR, sizeof(unsigned char)*3, w*h, pF) ;
     if (length != w*h) {
       fprintf(stderr, "Error loading image '%s'\n", filename);
       return nullptr;
     }


     int start=0;
     for (i=0; i < HEIGHT*WIDTH;i++) {
      imgRGB[start] = imgBGR[start];
      imgRGB[start+2]= imgBGR[start+2];
      imgRGB[start+1]= imgBGR[start+1];
      start+=3;
     }

     fclose(pF);
     free(imgBGR);
     return imgRGB;
    }
    else {
     return nullptr;
    }
    }

    void Test_FFMPEG::FillFrame (uint8_t* pic, int index)
    {

    avpicture_fill((AVPicture*)RGBFrame, pic, AV_PIX_FMT_RGB24, encodeContext->width, encodeContext->height);

     struct SwsContext* fooContext = sws_getContext(encodeContext->width, encodeContext->height,
     PIX_FMT_RGB24,
     encodeContext->width, encodeContext->height,
     PIX_FMT_YUV420P,
     SWS_BILINEAR  , nullptr, nullptr, nullptr);
     sws_scale(fooContext, RGBFrame->data, RGBFrame->linesize, 0, encodeContext->height, OrgFrame->data, OrgFrame->linesize);

     OrgFrame->pts = index;
    }

    The comparison result is not good. The are slight differences in Y and V but a lot in U. I cannot post my images but there is a part of Y is in U image. And it makes color change a little bit.

    Can you tell me where is my error ? Thanks you

  • Evolution #4063 : Position de la prévisualisation / ergo presentation formulaire forum

    12 février 2021, par b b

    mais le rendu est encore vraiment moyen, on a des kilometres de blanc entre "Un message un commentaire" et les checkbox de mots cles parce que les fieldset ont des tonnes de margin partout et s’enchainent.

    Je ne vois pas où est la prévisu dans ton image....

    Et puis bon, l’exemple tiré par les cheveux avec 48 mots clés affichés dans le forum est certainement bien loin du cas d’usage "classique", non ?