
Recherche avancée
Autres articles (44)
-
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 -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10004)
-
avcodec/exif/exif_add_metadata : add support for SSHORT & SBYTE
20 avril 2014, par Michael Niedermayeravcodec/exif/exif_add_metadata : add support for SSHORT & SBYTE
No working testcase, this omission was just spoted when the parser apparently went out of
sync.Reviewed-by ; Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
Merge commit ’0ebb523f072322972ea446616676fff32e9603c6’
12 février 2014, par Michael NiedermayerMerge commit ’0ebb523f072322972ea446616676fff32e9603c6’
* commit ’0ebb523f072322972ea446616676fff32e9603c6’ :
asfdec : check ff_get_guid() return values during seekingConflicts :
libavformat/asfdec.cThe code that pretends that a truncated index is correct and complete is not merged
as it obviously would cause problems if a really truncated index is encountered
If someone has samples that work better with that hack, please share them / mail mealso the bug this apparently attempts to fix isnt reproducable before this in ffmpeg
Merged-by : Michael Niedermayer <michaelni@gmx.at>
-
{OpenAL(+FFmpeg)} How to queue variable size buffer due to ogg format ?
11 février 2014, par user3293833(First of all, I may feel sorry about my poor English as it's not my native language.)
I use FFmpeg to decode some audio file and play it with OpenAL by "stream"(i.e."queue" and "unqueue" function of OpenAL).
When I use my program to play .ogg file, I find that it has a variable nb_samples.(due to ogg has variable bit rate ??) There are 128 B, 512 B and 1024 B of nb_samples. As a results, I must call alDeleteBuffers and alGenBuffers before I use alBufferSamplesSOFT(similar to alBufferData) because it would fail to call alBufferSamplesSOFT without recreate the buffer.
Notes : alBufferSamplesSOFT is provided by OpenAL Soft. You can just see it as alBufferData.Nevertheless, I think it's foolish and inefficient if I do this. Is there is some smart method ? I paste the part of code :
while (av_read_frame(...) == 0){
avcodec_decode_audio4(...);
swr_convert(...); // to convert PCM format from FLTP to FLT
alDeleteBuffers(1, theBuffers[?]);
alGenBuffers(1, theBuffers[?]);
alBufferSamplesSOFT(...); // put those data into OpenAL buffer
}if I don't do this, It would failed to update the OpenAL buffer. Is there any method to create a variable size buffer or a big size buffer ? Or is there any method to change the size of buffer ?
Thanks for you guys.