
Recherche avancée
Médias (91)
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Lights in the Sky
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Head Down
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Echoplex
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Discipline
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Letting You
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains 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 ;
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)
Sur d’autres sites (9807)
-
avutil/log : added av_log_format_line2 which returns buffer length
27 avril 2016, par Andreas Weisavutil/log : added av_log_format_line2 which returns buffer length
The new function behaves the same as av_log_format_line, but also forwards
the return value from the underlying snprintf call. This will allow
callers to accurately determine the size requirements for the line buffer.Signed-off-by : Andreas Weis <github@ghulbus-inc.de>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
Bad pictures displayed by SDL after decoded using ffmpeg from a rtp stream
2 juin 2015, par clouyfsailMy program is a H323 endpoint.I receive a H263 rtp stream from H323 protocol stack,and I need to decode and play it with SDL2.0.
Here is what I did.Firstly I assembled rtp packets into H263 frames myself before decode them.After I got a H263 frame, I sent it to ffmpeg to decode it.Just like this :
void DecodeFrame(uint8_t *buff, unsigned size)
{
//There is no rtp header in this buff,just rtp payload,and this is a
//a complete frame
if(!buff || size <= 0)
return;
AVPacket packet;
av_init_packet(&packet);
int got_picture = 0;
packet.data = buff;
packet.size = size;
//I have assigned a H263 codec and initialized corresponding structures.
int len = avcodec_decode_video2(m_codec_context, m_picture,
&got_picture, &packet);
if(len < 0)
return;
if (got_picture)
{
packet.pts = AV_NOPTS_VALUE;
sws_scale(m_sws_context, (const uint8_t * const *)m_picture->data,
m_picture->linesize, 0, m_codec_context->height, m_yuv_frame->data,
m_yuv_frame->linesize);
SDL_UpdateYUVTexture(m_sdl_texture, &m_sdl_rect,
m_yuv_frame->data[0], m_yuv_frame->linesize[0],
m_yuv_frame->data[1], m_yuv_frame->linesize[1],
m_yuv_frame->data[2], m_yuv_frame->linesize[2]);
SDL_RenderClear(m_sdl_renderer);
SDL_RenderCopy(m_sdl_renderer, m_sdl_texture, nullptr, &m_sdl_rect);
SDL_RenderPresent(m_sdl_renderer);
}
}It worked, but not as I wished.At the begining of the play,I got a foggy picture,then it turned to clear in a strange way.The image became clear row by row.After that,it turned to foggy sharply if the scene changed drastically(In remote endpoint,the source of video is a camera),and it became clear slowly row by row again.This confuses me much.I want to know why this happened.
-
avcodec/pcm-dvd : fix 20bit 2 channels
18 novembre 2013, par Michael Niedermayer