
Recherche avancée
Autres articles (111)
-
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 -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...)
Sur d’autres sites (9981)
-
ffmpeg how to shorten volume range
10 juillet 2021, par 敬錞 潘I use this command below to get volume information


ffmpeg -i {fileName} -af "volumedetect" -f null -



and get result below :


[Parsed_volumedetect_0 @ 000001b4f9675ec0] mean_volume: -25.1 dB
[Parsed_volumedetect_0 @ 000001b4f9675ec0] max_volume: -4.0 dB
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_4db: 12
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_5db: 72
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_6db: 293
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_7db: 808
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_8db: 2276
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_9db: 5885
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_10db: 13146
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_11db: 26627



I want to shorten volume range to half range like this below


[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_6db: ...
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_7db: ...
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_8db: ...
[Parsed_volumedetect_0 @ 000001b4f9675ec0] histogram_9db: ...



How to do it by ffmpeg command ?


Update1 :


filename.mp3 volume detect is below :


[Parsed_volumedetect_0 @ 00000192cd9adcc0] max_volume: -0.3 dB
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_0db: 32
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_1db: 333
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_2db: 1216
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_3db: 3490
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_4db: 8829
[Parsed_volumedetect_0 @ 00000192cd9adcc0] histogram_5db: 19873



after execute command


ffmpeg -i filename.mp3 -af filename_output.mp3



filename_output.mp3 volume detect is below :


[Parsed_volumedetect_0 @ 0000017af506dd00] max_volume: -0.4 dB
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_0db: 13
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_1db: 226
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_2db: 906
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_3db: 2688
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_4db: 7202
[Parsed_volumedetect_0 @ 0000017af506dd00] histogram_5db: 16473



There is no big changes, if I want to shorten more volume range , how to do ?


-
vf_colorspace : fix range order.
6 mai 2016, par Ronald S. Bultje -
Using ffmpeg to split MP3 file to multiple equally sound length files
11 septembre 2019, par daliaessamHow to use the command line tool ffmpeg on Windows to split a sound file to multiple sound files without changing the sound properties same everything each one is fixed 30 seconds length. I got this manual example from here :
ffmpeg -i long.mp3 -acodec copy -ss 00:00:00 -t 00:00:30 half1.mp3
ffmpeg -i long.mp3 -acodec copy -ss 00:00:30 -t 00:00:30 half2.mp3But is there a way to tell it to split the input file to equally sound files each one is 30 seconds and the last one is the remaining what ever length.