
Recherche avancée
Autres articles (49)
-
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 -
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 -
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...)
Sur d’autres sites (7376)
-
Revision 354c566044 : restore examples to doxygen output these were incorrectly stripped in : 50fa585
15 février 2014, par James ZernChanged Paths :
Modify /docs.mk
Modify /examples.mk
restore examples to doxygen outputthese were incorrectly stripped in :
50fa585 Removing examples code generation and making them static.Change-Id : Idb475ad5b303634311e9f616604312cb925cc6a9
-
ffmpeg (libav, libavfilter, etx) - modify frame with image or text using C\C++ API
7 juillet 2023, par AlexAfter reading a huge bunch of docs and tutorials I still cant find a way to add some image or text to each frame of video. Something like logo on the frame corner, or text watermark.


Iam know how to do such things with ffmpeg from cli, but for this case, C\C++ code is required.


Looks like, ffmpeg's libav allow me to do some things with frame on decode stage, using AVFrame structure of current frame and add some modifications to it with libavfilter. But how exactly this can be done ?


-
How to read a MP3 audio file into a numpy array / save a numpy array to MP3 ?
15 juin 2021, par BasjIs there a way to read/write a MP3 audio file into/from a
numpy
array with a similar API to scipy.io.wavfile.read and scipy.io.wavfile.write :


sr, x = wavfile.read('test.wav')
wavfile.write('test2.wav', sr, x)




?



Note :
pydub
'sAudioSegment
object doesn't give direct access to a numpy array.


PS : I have already read Importing sound files into Python as NumPy arrays (alternatives to audiolab), tried all the answers, including those which requires to
Popen
ffmpeg and read the content from stdout pipe, etc. I have also read Trying to convert an mp3 file to a Numpy Array, and ffmpeg just hangs, etc., and tried the main answers, but there was no simple solution. After spending hours on this, I'm posting it here with "Answer your own question – share your knowledge, Q&A-style". I have also read How to create a numpy array from a pydub AudioSegment ? but this does not easily cover the multi channel case, etc.