
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 (61)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...) -
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
Sur d’autres sites (10852)
-
How to slice data into HDFS by using ffmpeg
2 septembre 2016, par user1805861I checked here "Output of ffmpeg into HDFS directly" we can put ffmpeg data into HDFS .
How to slice data into HDFS by using FFMpeg Segment muxer ?
-
vc2enc : prevent random data
5 mai 2016, par Christophe Gisquetvc2enc : prevent random data
The slice prefix is 0 in the reference encoder and the decoder ignores it.
Writing 0 there seems like the best temporary solution.The padding could have contained uninitialized data, but reference VC2
encoders put 0xFF there, hence the memset value.Overall this allows producing bistreams with no random data for use by fate.
-
How do I pre-allocate the memory for libavcodec to write decoded frame data ?
18 décembre 2018, par codemonkeyI am trying to decode a video with libav by following the demo code : here
I need to be able to control where the frame data in
pFrame->data[0]
is stored. I have tried settingpFrame->data
to my own buffer as follows :// Determine required buffer size and allocate buffer
int numBytes = av_image_get_buffer_size(pixFmt, width, height, 1);
(uint8_t*) dataBuff = (uint8_t*) malloc (numBytes * sizeof(uint8_t));
// Assign buffer to image planes in pFrame
av_image_fill_arrays(frame->data, frame->linesize, dataBuff, pixFmt, width,
height, 1);While this does set
pFrame->data
to bedataBuff
(if I print their addresses, they are the same), this callret = avcodec_receive_frame(pCodecContext, pFrame)
to receive the decoded data always writes the data to a different address. It seems to manage its own memory somewhere in the underlying API and ignores thedataBuff
that I assigned topFrame
right before.So I’m stuck—how can I tell
libav
to write decoded frame data to memory that I pre-allocate ? I’ve seen people ask similar questions online and in the libav forum but haven’t been able to find an answer.Many thanks