
Recherche avancée
Autres articles (45)
-
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 -
Soumettre améliorations et plugins supplémentaires
10 avril 2011Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)
Sur d’autres sites (5805)
-
Android FFMPEG + SDL2 Full screen issue (Video)
15 janvier 2018, par byungkyuI make video player, use ffmpeg, SDL2.
when I compile ffmpeg, I add —disable-filters, and I scale video using SDL.VideoPicture *vp;
vp = &is->pictq[is->pictq_windex];
Uint32 flags(SDL_GetWindowFlags(vp->screen));
flags ^= SDL_WINDOW_FULLSCREEN_DESKTOP;
SDL_SetWindowFullscreen(vp->screen, flags);
int w = 640, h = 480; // TODO: UPDATE ME! ;)
if ((flags & SDL_WINDOW_FULLSCREEN_DESKTOP) != 0)
{
LOGI("toggleFullscreen 1189");
SDL_SetHint(SDL_HINT_RENDER_LOGICAL_SIZE_MODE, "overscan");
SDL_SetHint(SDL_HINT_RENDER_SCALE_QUALITY, "linear");
SDL_RenderSetLogicalSize(vp->renderer, w, h);
}
else
{
LOGI("toggleFullscreen 1195");
SDL_SetWindowSize(vp->screen, w, h);
}but this code show black bar, upper side and down side.
how to make full screen, no black, and expand video height ? -
Evaluate function within ffmpeg drawtext
22 juin 2022, par Dan SteingartI am looking to display a counter that is a multiple of the frame number on a video created with ffmpeg. Previous answers on SO taught me that a command of the form


ffmpeg -y -r 25 -pattern_type glob -i '*.jpg' -vf "text='%{n}': start_number=0: x=0: y=0: fontcolor=black: fontsize=30: box=1: boxcolor=white: boxborderw=5" -c:a copy movie.mp4



Will display the frame number, and this works nicely. But if I try to evaluate an expression within the
%{}
, e.g.

ffmpeg -y -r 25 -pattern_type glob -i '*.jpg' -vf "text='%{n*50}': start_number=0: x=0: y=0: fontcolor=black: fontsize=30: box=1: boxcolor=white: boxborderw=5" -c:a copy movie.mp4



Then I get the following error


[Parsed_drawtext_0 @ 0x55683f9b00] %{n*50} is not known 



on each frame. What is the proper syntax to evaluate
n*50
and display indrawtext
? TIA.

-
Parse and drop gain control data, so that SSR packets decode.
16 février 2018, par Dale CurtisParse and drop gain control data, so that SSR packets decode.
This will result in poor quality audio for SSR streams, but they
will at least demux and decode without error ; partially fixing
ticket #1693.This pulls in the decode_gain_control() function from the
ffmpeg summer-of-code repo (original author Maxim Gavrilov) at
svn ://svn.mplayerhq.hu/soc/aac/aac.c with some minor modifications
and adds AOT_AAC_SSR to decode_audio_specific_config_gb().Signed-off-by : Dale Curtis <dalecurtis@chromium.org>
Co-authored-by : Maxim Gavrilov <maxim.gavrilov@gmail.com>