
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (13)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
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 (...) -
Configuration spécifique d’Apache
4 février 2011, parModules spécifiques
Pour la configuration d’Apache, il est conseillé d’activer certains modules non spécifiques à MediaSPIP, mais permettant d’améliorer les performances : mod_deflate et mod_headers pour compresser automatiquement via Apache les pages. Cf ce tutoriel ; mode_expires pour gérer correctement l’expiration des hits. Cf ce tutoriel ;
Il est également conseillé d’ajouter la prise en charge par apache du mime-type pour les fichiers WebM comme indiqué dans ce tutoriel.
Création d’un (...)
Sur d’autres sites (4613)
-
avcodec/wmavoice : sanity check block_align
21 décembre 2019, par Michael Niedermayeravcodec/wmavoice : sanity check block_align
This limit is roughly based on the bitreader limit, its likely a much tighter limit
could be usedFixes : left shift of 1965039647 by 1 places cannot be represented in type 'int'
Fixes : 19545/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_WMAVOICE_fuzzer-5695391899320320Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
avutil/opt : Avoid av_strdup(NULL)
25 mars 2024, par Andreas Rheinhardtavutil/opt : Avoid av_strdup(NULL)
It is not documented to be safe and in any case it is nonsense :
Currently av_strdup(NULL) returns NULL and in order to distinguish
this from a genuine allocation failure, opt_copy_elem()
checked afterwards whether src was actually NULL. But then one
can simply check in advance whether one should call av_strdup()
at all.
set_string() was even worse and returned ENOMEM in case the value
to be duplicated is NULL ; this only worked because
av_opt_set_defaults2() does not check the return value at all
(given that it can't propagate it).These two places account for 389114 of 390356 av_strdup(NULL)
calls during one FATE run.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Weird cross platform support in ffmpeg
31 mai 2022, par LmTinyToonI tried to build ffmpeg
4.4
library and link with it and I received multiple unresolved references. I came across on unusual architecture in ffmpeg for multiple platforms.The library has many places with code like this :

void foo()
{
 // DO SOMETHING
 if (ARCH_MIPS) // maybe #if ARCH_MIPS (...) #endif should be used instead?
 foo_mips(...);
 if (ARCH_PPC)
 foo_ppc(c);
 if (ARCH_ARM)
 foo_arm(...);
 if (ARCH_AARCH64)
 foo_aarch64(...);
}



This code leads to linker errors because there is no any stub methods for other platforms. I observed root
MakeFile
, it optionally includes platform dependent code for each library (path like$(LIB_SUBDIR)/$(ARCH)/MakeFile
) where eachfoo_<arch></arch>
is defined.

So, how does it work ? In my opinion preprocessor directive
#if
should be used, otherwise we will receive unresolved reference on any platform. Maybe I missed something ? because this code appears frequently for example :

- 

utils.c : ff_yuv2rgb_init_tables_ppc
swscale_unscaled.c : ff_get_unscaled_swscale_ppc, ff_get_unscaled_swscale_arm,
ff_get_unscaled_swscale_aarch64cpu.c : ff_get_cpu_max_align_x86, ff_get_cpu_max_align_mips
float_dsp.c : ff_float_dsp_init_aarch64, ff_float_dsp_init_ppc, ff_float_dsp_init_x86
etc.