
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (71)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Ecrire une actualité
21 juin 2013, parPré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 (15026)
-
avformat/hlsenc : Fix leak of options when initializing muxing fails
16 décembre 2019, par Andreas Rheinhardtavformat/hlsenc : Fix leak of options when initializing muxing fails
hls_mux_init() currently leaks an AVDictionary if opening a dynamic
buffer fails or if avformat_init_output fails. This has been fixed by
moving the initialization resp. the freeing of the dictionary around :
In the former case to a place after opening the dynamic buffer, in the
latter to a place before the check for initialization failure so that it
is done unconditionally.Furthermore, the dictionary is now only copied and freed if the options
in it are actually used (namely when in SEGMENT_TYPE_FMP4 mode).Finally, a similar situation in hls_start() has been fixed, too.
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Reviewed-by : Steven Liu <lq@onvideo.cn> -
avformat/nutenc : implement deinit()
21 janvier 2016, par Michael Niedermayer -
FFMPEG c++ memory leak issue when reading the packet
19 novembre 2020, par santoshI have written a program to read the frames from a video file. Everything works perfect except below described issue.
after reading the frame, when I call avcode_send_packet function, it leaks the memory.
I used av_packet_unref before reading the next frame. But still the memory leak is not resolved.
I am using FFMPEG latest 4.3 version on WIndows 10.


also av_frame_unref does not fix the memory leak. I think data buffer inside the packet does not get freed somehow I feel it is related to FFMPEG version issue as I see the similar coding done by other programmers on the internet.


Does any one have idea about how to fix this memory leak ?


----------------- code is as below-----------------------
... here code related to setting avformatcontext, and avcodeccontext.


while(1)
 {
 if (av_read_frame(pFormatCtx, packet) >= 0)
 {
 if (packet->stream_index == videoindex)
 {

 ret = avcodec_send_packet(pCodecCtx, packet);//on executing this line, memory shoots up in MBs , everytime.
 if (ret < 0)
 {
 av_packet_unref(packet);
 fprintf(stderr,"Failed to Decode packet. \n:%s", av_err2str(ret));
 return -1;
 }

 ret = avcodec_receive_frame(pCodecCtx, pAvFrame);
 if (ret == AVERROR(EAGAIN) || ret == AVERROR_EOF)
 {
 av_packet_unref(packet);
 continue;
 }
 if (ret < 0)
 {
 av_packet_unref(packet);
 printf("Failed to Decode packet. \n");
 return -1;
 }
 av_packet_unref(packet);

 
 {
 //.. do something with the frame.
 }
 av_frame_unref(pAvFrame);

 }
 
 av_packet_unref(packet);
 }
}