
Recherche avancée
Autres articles (76)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (14865)
-
avformat/flvdec : make key frame timestamps more accurate
29 juillet 2022, par Zhao Zhili -
lcl : Disentangle pointers to input data and decompression buffer
2 août 2014, par Diego Biurrun -
How is decoded audio data stored in ffmpeg AVFrame ?
23 février 2023, par necrosatoI'm looking for clarification on how ffmpeg stores decoded audio data in frames before I start writing code to do audio mixing.
AVFrame
hasint format
anduint8_t* data[]
members. If my understanding is correct, then the bytes indata
should be cast to the proper type forformat
before working with it. So to do a simple 2x level boost ifformat == AV_SAMPLE_FMT_S16
, I would :


int16_t* audio_samples = frame->data[0];
int num_samples = frame->nb_samples * frame->channels;
for (int i = 0; i < num_samples; ++i) {
 audio_samples[i] = audio_samples[i] * 2;
}




Is this the correct way of going about things ?