
Recherche avancée
Autres articles (23)
-
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 -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (7046)
-
Extract raw audio frames from OGG music file with Android NDK
31 octobre 2018, par thenaohIn my Android app, I would like to be able to process audio on the fly from an OGG file by extracting audio samples, process them and redirect them to the audio output.
I know how to make the last 2 steps using Android NDK, but I don’t know how to extract audio samples to get them in an array of floats or shorts.
I tried to make this code work that, apparently, can extract raw audio samples on the fly.
The problem is : I don’t manage to add FFMpeg in my project. I tried many tutorials (like this one), but it seems pretty difficult since I work on Windows. So after a while, I found Prebuild FFMpeg for Android, that seems interesting since it’s available for armeabi-v7a, arm64-v8a, x86 and x86_64 architectures, but again, I don’t understand how to add it in my project.
I also took a look at
libogg
,libvorbis
andvorbisfile
, but I have no idea how to add them in my project.So, does anyone have a working example on how to extract audio samples from an OGG file on the fly ?
Thanks for your help.
-
FFMpeg : audio resampling changes slightly the speed of the music [on hold]
24 octobre 2018, par thenaohIn my Android app, I use the FFMpeg library to extract audio samples from an audio file on the fly, and also resample them (since my file is encoded in 44100 Hz, and my device expects 48000 Hz sound).
The problem is : even if the sound quality is perfect, the speed is a little bit higher than the regular speed of the music.
The difference is very small (small enough so you won’t hear it), but you can hear it when you play the same song at the same time on a regular player (like VLC for example).
I think it comes from the resampling, but I don’t know how to fix it.
Here is my code (I get my samples thanks to the
getPcmFloat()
function) : https://gist.github.com/mregnauld/2538d98308ad57eb75cfcd36aab5099aHow can I correct the speed of the music ?
Thanks for your help.
-
How to use ffmpeg to add background music to a video and adjust both volumns in one command ? [duplicate]
21 février 2019, par Chen YimingThis question already has an answer here :
Now I have video.mp4 and music.mp4. I want to add music.mp3 to video.mp4. At the same time, I want to adjust both volumns. For example, make music.mp3 volumn = 0.4 and video.mp4 = 0.2. Is it possible to do this in ffmpeg just use one command ?