
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (48)
-
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 -
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.
Sur d’autres sites (1535)
-
Why do .bss/.rodata symbols stay in binary after strip ?
15 novembre 2014, par BlahGeekAs far as I know, there’s only one kind of symbols in executable binary that is really needed, which is dynamic symbols. These symbols is used in relocation operation because they are dynamic linked. Static linked functions/variables, in the other hand, is not needed so can be stripped.
However, when I was examining the stripped
ffmpeg
binary, this is what I got :>nm -D ffmpeg
...
U __vfprintf_chk
U __vsnprintf_chk
U write
00000000018fa880 B x264_cabac_contexts
0000000001052a40 R x264_cabac_range_lps
0000000001052940 R x264_cabac_transition
0000000001970580 B x264_cabac_transition_unary
0000000001056820 R x264_last_coeff_flag_offset
0000000001056860 R x264_significant_coeff_flag_offset
0000000001056900 R x264_significant_coeff_flag_offset_8x8
U __xpg_strerror_r
U __xstat64
...I can verify that libx264 is static linked to ffmpeg :
> ldd ffmpeg
linux-vdso.so.1 => (0x00007fff26d61000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f7c707e7000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f7c704e1000)
liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f7c702be000)
libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f7c700ae000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f7c6fe95000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f7c6fc76000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7c6f8b0000)
/lib64/ld-linux-x86-64.so.2 (0x00007f7c70b0a000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f7c6f69a000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f7c6f495000)So, I don’t understand why symbols like
x264_cabac_contexts
is not stripped. (It’s defined in libx264/.../cabac.c) :uint8_t x264_cabac_contexts[4][QP_MAX_SPEC+1][1024];
It bothered me for several hours and I’ve found nothing on google... Hope someone would explain this... Thanks in advance !
-
Revision 109074 : Revision de la moderation par email des messages de forum pour se ...
21 février 2018, par cedric@… — LogRevision de la moderation par email des messages de forum pour se proteger des bots qui cliquent dans les mails
Principe : les bots etant betes ils cliquent sur les 3 boutons de moderation en tres peu de temps, on attends donc quelques secondes avant d’executer la modif en base
* si 10s apres la demande on en a pas eu d’autre contradictoire, on l’execute
* sinon on ne fait rien et on purge les demandes pour peu qu’elles soient suffisament anciennes (il faut gerer le cas ou une deuxieme salve d’un bot a commence : si on purge betement on risque de rendre valide une demande qui arrivera juste derriere) -
Extract alpha from video ffmpeg
23 octobre 2018, par Yarik DenisykI want to overlay transparent video on the background image. I have a video where the top half is RGB object and bottom half is an alpha mask.
Now, for making this I do next steps :
1) I am extracting all frames from video and save to the folder
2) Each frame splitting to top and bottom half bitmap
3) Top bitmap composite with bottom mask for extract alpha and get a frame with transparent background
3) I am drawing each frame on the background and save to a folder
4) Create a video using FFmpeg
The problem is step 2, 3 and 4, they very slow. Maybe has another way to overlay transparent video on the background image ?