Recherche avancée

Médias (1)

Mot : - Tags -/publier

Autres articles (63)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

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

  • 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

Sur d’autres sites (9729)

  • How to calculate sizes for AVPicture.data[x] pointers (YUV420p) when using libffmpeg

    13 août 2013, par bradenV2

    I'm trying to get Y,U,V values separately in order to pass them to openGL and map to a texture. I know these values can be found in AVPicture.data[0] (Y) and AVPicture.data[1] (U) and AVPicture.data[2] (V)

    avcodec_decode_video2(ctx, frame, &frameFinished, packet_data->packet);
    AVPicture _avPicture;
    picSize = avpicture_get_size(ctx->pix_fmt, ctx->width, ctx->height);
    avpicture_alloc(&_avPicture, ctx->pix_fmt,ctx->width, ctx->height );
    avpicture_fill(&_avPicture, packet_data->packet, ctx->pix_fmt,ctx->width,ctx->height);

    ^^ That's working fine.
    The issue I run into is passing the Y,U,V values back to Java via JNI. I have to know the size of the data the AVPicture.data[x] pointers point to. I've tried AVPicture.linesize to no avail, as well as :

              for (y = 0; y < ctx->height; y++){
                   for (x = 0; x < ctx->width; x++){
                       yDataSize++;
                   }
               }
               /* Cb and Cr */
               for (y = 0; y < ctx->height / 2; y++) {
                   for (x = 0; x < ctx->width / 2; x++) {
                       uDataSize++;
                       vDataSize++;
                   }
               }

    I'm really stuck, thanks !

  • extracting HEVC bit stream data from MPEG-TS

    18 février 2015, par userDtrm

    I’m building a custom MPEG-2 TS demuxer to extract HEVC encoded bit streams. My requirement is to extract the PES data streams encapsulated within the MPEG TS packets, by stripping off the MPES TS and PES header information. I cannot use ffmpeg in this case since I need custom manipulations within the process.

    I was able to extract TS header information, but the I facing issues in extracting the data elements. Specifically, how the PES header can be removed to get the data.

    For example, when the payload unit indicator is 1 and payload available flag is 1, it doesn’t appear that any payload is available.

    Please let me know how this can be done and really appreciate if anyone can point me to some appropriate resources.

    Thanks

  • avformat : Append data in fill_buffer() when possible

    30 juin 2013, par Michael Niedermayer
    avformat : Append data in fill_buffer() when possible
    

    Data is appended in fill_buffer() when there is sufficient space left
    and the data pointer only reset when needed.
    Previously the data pointer was more often reset, loosing more seekback
    space than otherwise needed.

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

    • [DH] libavformat/aviobuf.c