Recherche avancée

Médias (0)

Mot : - Tags -/diogene

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

Autres articles (37)

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

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

Sur d’autres sites (7328)

  • avcodec/libjxl : add animated JPEG XL encoder

    4 décembre 2024, par Leo Izen
    avcodec/libjxl : add animated JPEG XL encoder
    

    libjxl supports animated encoding, so we add a wrapper to the
    library using the receive_packet callback method.

    This code was based largely on a patch sent by Zsolt Vadász,
    although it was updated to use more recent coding practices
    and many of the leaks and issues were fixed.

    Reviewed-by : Marth64 <marth64@proxyid.net>
    Co-authored-by : Zsolt Vadász <zsolt_vadasz@protonmail.com>
    Signed-off-by : Leo Izen <leo.izen@gmail.com>

    • [DH] Changelog
    • [DH] configure
    • [DH] doc/APIchanges
    • [DH] libavcodec/allcodecs.c
    • [DH] libavcodec/codec_desc.c
    • [DH] libavcodec/codec_id.h
    • [DH] libavcodec/jpegxl_parser.c
    • [DH] libavcodec/libjxldec.c
    • [DH] libavcodec/libjxlenc.c
    • [DH] libavcodec/version.h
  • Ffmpeg AVAudioFifo memory leak

    10 août 2020, par Expressingx

    I'm encoding audio to AAC with encoder. Because it requires I'm using AVAudioFifo following https://ffmpeg.org/doxygen/4.0/transcode_aac_8c-example.html

    &#xA;

    Everything works, but I can see my memory slowly growing up. If I comment out PushToFifo() no memory leaks. And not sure why. I've profiled the app with ANTS Profiler and I can see a lot of unmanaged memory allocated by avutil-x.dll.

    &#xA;

    while (ffmpeg.av_read_frame(_inputContext.InputFormatContext, pkt) >= 0)&#xA;{&#xA;   // decode&#xA;   int ret = ffmpeg.avcodec_send_packet(decCtx, pkt);&#xA;&#xA;        if (ret &lt; 0)&#xA;        {&#xA;            ffmpeg.av_packet_unref(pkt);&#xA;            return;&#xA;        }&#xA;&#xA;        while (ret >= 0)&#xA;        {&#xA;            ret = ffmpeg.avcodec_receive_frame(decCtx, frame);&#xA;&#xA;            if (ret == ffmpeg.AVERROR(ffmpeg.EAGAIN) || ret == ffmpeg.AVERROR_EOF)&#xA;            {&#xA;                return;&#xA;            }&#xA;            &#xA;            // push to fifo&#xA;            PushToFifo();&#xA;            TryFlushSamples();&#xA;        }&#xA;}&#xA;

    &#xA;

    PushToFifo()

    &#xA;

                byte* samples = null;&#xA;&#xA;            if (ffmpeg.av_samples_alloc(&amp;samples, null, _outputContext->channels, inputFrame->nb_samples, _outputContext->sample_fmt, 0) &lt; 0)&#xA;            {&#xA;              ffmpeg.av_freep(&amp;samples[0]);&#xA;              ffmpeg.av_free(samples);&#xA;              // throw&#xA;            }&#xA;&#xA;            if (ffmpeg.swr_convert(_resamplerCtx, &amp;samples, inputFrame->nb_samples, inputFrame->extended_data, inputFrame->nb_samples) &lt; 0)&#xA;            {&#xA;              throw new Exception();&#xA;            }&#xA;&#xA;            if (ffmpeg.av_audio_fifo_realloc(AudioFifo, ffmpeg.av_audio_fifo_size(AudioFifo) &#x2B; inputFrame->nb_samples) &lt; 0)&#xA;            {&#xA;              throw new Exception();&#xA;            }&#xA;&#xA;            if (ffmpeg.av_audio_fifo_write(AudioFifo, (void**)&amp;samples, inputFrame->nb_samples) &lt; 0)&#xA;            {&#xA;               throw new Exception();&#xA;            }&#xA;

    &#xA;

    And in TryFlushSamples();

    &#xA;

            while (ffmpeg.av_audio_fifo_size(_audioFifo.AudioFifo) >= _outputContext.AudioEncodeContext->frame_size)&#xA;        {&#xA;            int fifoSize = ffmpeg.av_audio_fifo_size(_audioFifo.AudioFifo);&#xA;            int frameSize = fifoSize > _outputContext.AudioEncodeContext->frame_size&#xA;                ? _outputContext.AudioEncodeContext->frame_size&#xA;                : fifoSize;&#xA;&#xA;            var outputContext = _outputContext.AudioEncodeContext;&#xA;            var frame = ffmpeg.av_frame_alloc();&#xA;            frame->nb_samples = frameSize;&#xA;            frame->channel_layout = outputContext->channel_layout;&#xA;            frame->format = (int)outputContext->sample_fmt;&#xA;            frame->sample_rate = outputContext->sample_rate;&#xA;&#xA;            if (ffmpeg.av_frame_get_buffer(frame, 0) &lt; 0)&#xA;                ffmpeg.av_frame_free(&amp;frame);&#xA;&#xA;            // read frame&#xA;            if (ffmpeg.av_audio_fifo_read(_audioFifo.AudioFifo, (void**)&amp;frame->data, frameSize) &lt; frameSize)&#xA;            {&#xA;                ffmpeg.av_frame_free(&amp;frame);&#xA;                return;&#xA;            }&#xA;&#xA;            frame->pts = _audioFrameCount;&#xA;            _audioFrameCount &#x2B;= frame->nb_samples;&#xA;&#xA;            // send to encoder &#xA;&#xA;            ffmpeg.av_frame_free(&amp;frame);&#xA;        }&#xA;

    &#xA;

  • Revision 32312 : - On rend « interfaces » dépendant de saisies pour simplifier le formulaire ...

    23 octobre 2009, par marcimat@… — Log

    On rend « interfaces » dépendant de saisies pour simplifier le formulaire qui vera certainement bientôt de nouveaux champs. - Début d’un essai d’exploration des saisies du plugin saisies, avec un define. (non fonctionnel)