Recherche avancée

Médias (91)

Autres articles (55)

  • 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

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (9895)

  • libavformat/mov : Fix memleaks when demuxing DV audio

    16 septembre 2019, par Andreas Rheinhardt
    libavformat/mov : Fix memleaks when demuxing DV audio
    

    The code for demuxing DV audio predates the introduction of refcounted
    packets and when the latter was added, changes to the former were
    forgotten. This meant that when avpriv_dv_produce_packet initialized the
    packet containing the AVBufferRef, the AVBufferRef as well as the
    underlying AVBuffer leaked ; the actual packet data didn't leak : They
    were directly freed, but not via their AVBuffer's free function.

    https://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket4671/dir1.tar.bz2
    contains samples for this (enable_drefs needs to be enabled for them).

    Moreover, errors in avpriv_dv_produce_packet were ignored ; this has been
    changed, too.

    Furthermore, in the hypothetical scenario that the track has a palette,
    this would leak, too, so reorder the code so that the palette code
    appears after the DV audio code.

    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/mov.c
  • Memory leak in ffmpeg or libav with Mac os x 10.8.2 ?

    26 mars 2013, par James491

    I've been developing a video player with FFmpeg and am experiencing some memory leakage. I am on a Mac OS X 10.8.2 and valgrind is unstable. A large memory leakage, about the size of the video itself, is leaked during av_read_frame. Also, memory leakage occurs with the simple code below, after avformat_find_stream_info. None of my programs, including the small one below, leak on my Windows computer. Any suggestions would be helpful. Should I report a bug to FFmpeg ? I am using the latest version of FFmpeg, 1.1.2. Memory leakage also occurs if I use ffplay, but not if I use VLC.

       #include <libavcodec></libavcodec>avcodec.h>
       #include <libavformat></libavformat>avformat.h>
       #include <libswscale></libswscale>swscale.h>
       #include

       int main(int argc, char* argv[]) {

           char              *video_addr = "/Users/###/Desktop/rawmovie.mov";
           AVFormatContext   *pFormatCtx;

           av_register_all();

           if (avformat_open_input(&amp;pFormatCtx, video_addr, NULL, NULL) != 0) {
               fprintf(stderr, "Could not open the video file\n");
               return -1;
           }

           if (avformat_find_stream_info(pFormatCtx, NULL) &lt; 0) {
               fprintf(stderr, "Couldn&#39;t find stream information\n");
           }

           avformat_close_input(&amp;pFormatCtx);

           return 0;
       }
  • Revision 30164 : Code mort bis

    24 juillet 2009, par kent1@… — Log

    Code mort bis