Recherche avancée

Médias (0)

Mot : - Tags -/organisation

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

Autres articles (60)

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

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • 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 (14066)

  • How to transform dpx format with data as yuv format with ffmpeg ?

    2 août 2018, par Steven

    I would like to transform a picture of yuv format into dpx format. Its seems that the default data format of dpx is RGB, but I hope that I can get a picture of dpx format with its data part as yuv444 planar format. What is the correctc command in ffmpeg on the issue mentioned above ?

    Thanks

  • Saving raw YUV420P frame FFmpeg/Libav

    14 mars 2016, par Sir DrinksCoffeeALot

    Previously i successfully opened, decoded and saved frames from .mp4 file. Raw frames were in YUV420P format which i converted to RGB24 using sws_scale() function and saved them into a .ppm file. What i’m trying to do now is to keep raw decoded frames in YUV420P, or convert frames that i get to YUV420P just to make sure they are in YUV420P. But the problem is that i don’t know which type of file should i use, i’m guessing .yuv ? And another problem is that i also don’t know how to save YUV420P data.

    I used to save RGB24 in .ppmlike this :

    for (y = 0; y < height; y++)
    {
    fwrite(frame->data[0] + y*frame->linesize[0], 1, width * 3, pf);
    }

    which worked fine since i was using only 1 plane. But YUV420P uses 3 planes (Y,Cb,Cr). What i tried to do is to save Y component first, and Cb/Cr after that.

    for (y = 0; y < height; y++)
    {
       fwrite(frame->data[0] + y*frame->linesize[0], 1, width, pf);
    }

    for (y = 0; y < height / 2; y++)
    {
       fwrite(frame->data[1] + y*frame->linesize[1], 1, width, pf);
       fwrite(frame->data[2] + y*frame->linesize[2], 1, width, pf);
    }

    But as you can guess that is not working at all. Actually it does, but it saves only Y component. Could anyone guide me to right direction please ?

    EDIT
    I’ve changed mine saveFrame() function like you said, but instead of interleaved chroma writing i used planar. But, i’m still getting only Y component picture (black-white).

    fprintf(pf, "P5\n%d %d\n255\n", width, height);

    for (y = 0; y < height; y++)
    {
       fwrite(frame->data[0] + y*frame->linesize[0], 1, width, pf);
    }

    for (y = 0; y < height / 2; y++)
    {
       fwrite(frame->data[1] + y*frame->linesize[1], 1, width / 2, pf);
    }

    for (y = 0; y < height / 2; y++)
    {
       fwrite(frame->data[2] + y*frame->linesize[2], 1, width / 2, pf);
    }
  • avutil : add P010 pixel format

    8 décembre 2015, par Hendrik Leppkes
    avutil : add P010 pixel format
    

    P010 is the 10-bit variant of NV12 (planar luma, packed chroma), using two
    bytes per component to store 10-bit data plus 6-bit zeroes in the LSBs.

    • [DH] libavutil/pixdesc.c
    • [DH] libavutil/pixfmt.h
    • [DH] libavutil/version.h