
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (63)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Participer à sa traduction
10 avril 2011Vous 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 (...) -
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" (...)
Sur d’autres sites (9088)
-
lavfi/avf_showspectrum : Fix the memory leak in error handle path
3 décembre 2019, par Jun Zhao -
avcodec_send_frame cause memory leak
27 juillet 2018, par 志刚陆I found that when avcodec_send_frame return false,then will cause the memory leak.The frame data every time send to encode is about 70MB,so when avcodec_send_frame return false,it cause horrible memory leak.
I want to know how to solve this problem.int ffmpeg_video_encode(int index)
{
int got_picture = 0;
int s = sws_scale(scxt, m_pFrameBGR->data, m_pFrameBGR->linesize, 0, m_pVideoCodecCtx->height, m_pFrameYUV->data, m_pFrameYUV->linesize);
m_pFrameYUV->data[0] = m_pYUVBuf;
m_pFrameYUV->data[1] = m_pYUVBuf + m_iYPlaneSize;
m_pFrameYUV->data[2] = m_pYUVBuf + m_iYPlaneSize + m_iYPlaneSize * 1 / 4;
m_pFrameYUV->pkt_pts = index * (m_videoStream->time_base.den) / ((m_videoStream->time_base.num) * m_iOutputVideoFPS);
//av_frame_make_writable(m_pFrameYUV);
av_init_packet(&m_pktVideo);
int ret = avcodec_send_frame(m_pVideoCodecCtx, m_pFrameYUV);
while (ret >= 0)
{
ret = avcodec_receive_packet(m_pVideoCodecCtx, &m_pktVideo);
if (AVERROR(EAGAIN) == ret || AVERROR_EOF == ret)
{
av_packet_unref(&m_pktVideo);
av_free_packet(&m_pktVideo);
return -1;
}
else if (ret < 0)
{
fprintf(stderr, "Error during encoding\n");
av_packet_unref(&m_pktVideo);
av_free_packet(&m_pktVideo);
return -1;
}
m_pktVideo.stream_index = m_videoStream->index;
ret = av_write_frame(m_pFormatCtx_v, &m_pktVideo);
av_packet_unref(&m_pktVideo);
av_free_packet(&m_pktVideo);
}
av_free_packet(&m_pktVideo);
return 0;
} -
Fix leak of frame_duration_buffer in mov_fix_index().
17 novembre 2017, par Dale CurtisFix leak of frame_duration_buffer in mov_fix_index().
Should be unconditionally freed at the end of mov_fix_index() in
case it hasn't been used during the fix up.Signed-off-by : Dale Curtis <dalecurtis@chromium.org>
Reviewed-by : Sasi Inguva <isasi-at-google.com@ffmpeg.org>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>