
Recherche avancée
Médias (1)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
Autres articles (105)
-
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 ;
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
Sur d’autres sites (6661)
-
avformat/apvdec : don't fill container level fields with codec level info
27 avril, par James Almeravformat/apvdec : don't fill container level fields with codec level info
This is a raw demuxer, it should not read codec level information and export it
as container level information.
The generic demux code will use the recently introduced parser to take care of
that.Signed-off-by : James Almer <jamrial@gmail.com>
-
flac and metaflac : Don’t always call setlocale() in Windows.
19 juillet 2014, par Erik de Castro Lopoflac and metaflac : Don’t always call setlocale() in Windows.
Windows (MSVC, MinGW) versions of setlocale don’t care about LC_*
environment variables. For example, flac cannot pass the test for
— until and —skip options the script calls it with —skip=0:01.1001
and it expects decimal comma (—skip=0:01,1001) on some locales.Solve this (on Windows) by calling setlocale(LC_ALL, "") if some
LC_* variable is set to "C".Patch-from : lvqcl <lvqcl.mail@gmail.com>
-
FFMPEG : Explain parameters of any codecs function pointers
7 juillet 2014, par ZaxI’m going through the article, How to integrate a codec in FFMPEG multimedia framework.
According to it, every codec needs to have 3 basic functions to be defined and these functions are assigned to function pointers of the structureAVCodec
.The 3 function pointers specified in the above article are :
.init -> takes care of allocations and other initializations
.close -> freeing the allocated memory and de-initializations
.decode -> frame by frame decoding.For the function pointer
.decode
, the function assigned is :static int cook_decode_frame(AVCodecContext *avctx,
void *data, int *data_size,
uint8_t *buf, int buf_size) {
...The details of these parameters are specified in the above article. However, in the latest code, when the same function is taken as an example, its declaration is as shown below :
static int cook_decode_frame(AVCodecContext *avctx, void *data,
int *got_frame_ptr, AVPacket *avpkt)I need to perform some mapping operations on the memory. So, i request if anyone could kindly explain the above parameters in the function declarations. Also, which parameter has the input buffer for decoding the frame ? And after decoding a frame, to which parameter is the decoded frame mapped ?