
Recherche avancée
Autres articles (32)
-
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...) -
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 -
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)
Sur d’autres sites (4142)
-
Revision f8630c78d1 : configure : remove php test + the remnants in the build system & README the doc
10 mai 2014, par James ZernChanged Paths :
Modify /README
Modify /configure
Modify /docs.mk
configure : remove php test+ the remnants in the build system & README
the documentation that required php was removed in :
50fa585 Removing examples code generation and making them static.Change-Id : Ibf00dca9ab2715fc21e8de358807b63d1445662c
-
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.

-
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 ?