Recherche avancée

Médias (91)

Autres articles (52)

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9750)

  • avformat/tests/fifo_muxer : Fix memleak on error, fix API violation

    19 mars 2021, par Andreas Rheinhardt
    avformat/tests/fifo_muxer : Fix memleak on error, fix API violation
    

    The test program for the FIFO muxer allocates a buffer without padding
    and wraps it into a packet via av_packet_from_data(). This is an API
    violation. Furthermore, said buffer leaks in case av_packet_from_data()
    fails. Fix both of these issues by using av_new_packet() instead.

    Reviewed-by : James Almer <jamrial@gmail.com>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>

    • [DH] libavformat/tests/fifo_muxer.c
  • How to track reference counts in libffmpeg [on hold]

    24 avril 2019, par Serban Stoenescu

    I have some code that uses FFMPEG. It looks something like this :

    AVFrame *frame{ mDecoder->getNext(packet.data, packet.size) }; //mDecoder just gets the frame from the stream
     av_packet_unref(&amp;packet);

    I want to be able to print the reference counts for each packet because I want to avoid memory leaks. Plus I want to know how AVFrames behave when they are cloned, assigned, etc.

    I tried something like this, based on what I found in their documentation https://ffmpeg.org/doxygen/4.0/structAVBufferRef.html :

    frame->buf[0]->buffer->refcount;

    But I get this compilation error :

    ../src/sco/node/H264Decoder.cpp:30:24: fatal error: member access into incomplete type 'AVBuffer'
     frame->buf[0]->buffer->refcount;
                          ^
    /opt/ffmpeg/include/libavutil/buffer.h:73:16: note: forward declaration of 'AVBuffer'
    typedef struct AVBuffer AVBuffer;

    Any way to do this ?

  • How to properly abort av_seek_frame on FFmpeg ?

    5 mars 2021, par SuRGeoNix

    Normally, you wouldn't care aborting av_seek_frame as it would be really fast on a local file. However, in my case I use a custom AVIOContext for torrent streaming with custom read/seek functions and I'm not able to abort a single seek request !

    &#xA;

    I've already tried interrupt callbacks (they will not be called at all), some timeouts (rw_timeout/timeout etc.) but by checking FFmpeg's code didn't find anything at all. My last chance was to try to return on read/seek functions an error (I've tried AVERROR_EXIT) which causes even more problems (memory leaks).

    &#xA;

    The main issue is with Matroska formats that they need to resync (level-1) and they are trying to scan the whole file.

    &#xA;

    Unfortunately, I'm using C# .NET with FFmpeg.Autogen bindings which means that I don't have low-level access to play around. My workaround is to re-open the whole format context in case on seek abort (to ensure that the player will continues to play at least)

    &#xA;

    Hope you have a tip for me !

    &#xA;

    (By the way for some http/hls web formats interrupt callbacks are supported)

    &#xA;