
Recherche avancée
Autres articles (38)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
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.
Sur d’autres sites (7773)
-
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 ?