
Recherche avancée
Autres articles (58)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-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
Sur d’autres sites (15688)
-
FFMPEG + SDL : How To Show Multi Frames In Separate Region ?
19 mai 2014, par user3051473I’m using ffmpeg and SDL to develop an camera monitor APP and I want to show four separate streams at the same time(via four rtsp source). As following figure out :
Now I achieve this by setting the SDL display region, and I identify different display region by using the different SDL_Rect identifying by the variable i(from 1 - 4).
But this cause the efficient problem. For every region, I need to scale to the whole screen and lock/unlock screen, then display.
I’m wondering that, Can I merge 4 different AVFrame(come from REG1 - REG4) into the whole picture and then show this picture ?
Hope that the describe about is detail enough for you to konw my problem.
Also thanks for your help.-------------------
- - -
- REG1 - REG2 -
- - -
-------------------
- - -
- REG3 - REG4 -
- - -
-------------------
public void ShowFrame(AVFrame *pFrame, AVCodecContext *pCodecContext)
{
SDL_LockYUVOverlay(pBmp);
AVPicture pict;
// TODO scale pFrame to pict
// ...
SDL_UnlockYUVOverlay(pBmp);
// WIDTH and HEIGHT represent the whole screen size
SDL_Rect rect;
rect.x = (WIDTH / 2) * (i % 2);
rect.y = (HEIGHT / 2) * (i > 1 ? 1: 0);
rect.w = WIDTH / 2;
rect.h = HEIGHT / 2;
SDL_DisplayYUVOverlay(pBmp, &rect);
} -
Show subtitle resolution in avcodec_string().
4 septembre 2013, par Carl Eugen Hoyos -
lavfi/hue : show first decimal value of saturation
20 décembre 2013, par Stefano Sabatini