
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (89)
-
L’utiliser, en parler, le critiquer
10 avril 2011La première attitude à adopter est d’en parler, soit directement avec les personnes impliquées dans son développement, soit autour de vous pour convaincre de nouvelles personnes à l’utiliser.
Plus la communauté sera nombreuse et plus les évolutions seront rapides ...
Une liste de discussion est disponible pour tout échange entre utilisateurs. -
Use, discuss, criticize
13 avril 2011, parTalk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
A discussion list is available for all exchanges between users. -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (6352)
-
FFmpeg amix + volume filters create saturated output ?
1er septembre 2021, par Sonia Seddiki

First of all, this is a question asked more out of curiosity than desperate need of fixing. I seem to have "fixed" it by upgrading from FFmpeg 3.4.6 to FFmpeg 4.3.1. Or so I think, at least the result is much better.




I'm trying to mix 2 audio files (of the same length, so no scale variation here) using FFmpeg
amix
filter :

- 

- A music which starts pretty loud in the beginning and then is almost quiet until the end,
- An audio that starts with silence (basically as long as the music is loud), then continues with a person speaking at an "average" volume






Now, I learnt that the filter will divide each input volume by
1/nb_active_inputs
(by 2 in my case then), so I added a volume filter on the output to multiply its volume by 2. My command basically looks like this :

ffmpeg -i music.mp3 -i voice.mp3 -filter_complex amix=inputs=2:duration=first[mix];[mix]volume=2[out] -map [out] output.mp3



After that complex filter, my final output is completely distorted. The voice sounds overall very loud and saturated.


I'm not an expert with audio nor with FFmpeg so I assume I'm missing something. I'm trying to understand what is going on and why I am having this result since I use the same inputs, filters and filter options in both cases. Only the FFmpeg version differs.


I've tried to read the code of
af_amix.c
for both versions but can't seem to find any explanation for that difference. I've seen that the 4.3.1 has aweights
option for inputs but from what I understood, they default to1.0
if not specified. Any clue would be much appreciated.

-
Added ipv4 and ipv6 to additional methods, thanks Natal Ngetal (hobbestigrou) (changelog update)
15 juillet 2010, par jzaeffererm changelog.txt Added ipv4 and ipv6 to additional methods, thanks Natal Ngetal (hobbestigrou) (changelog update)
-
Added ipv4 and ipv6 to additional methods, thanks Natal Ngetal (hobbestigrou) (changelog update)
15 juillet 2010, par jzaeffererm changelog.txt Added ipv4 and ipv6 to additional methods, thanks Natal Ngetal (hobbestigrou) (changelog update)