
Recherche avancée
Autres articles (69)
-
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
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
Sur d’autres sites (15058)
-
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 ?


-
Get length of a video using regex and ffmpeg
10 mars 2016, par David542From the following
ffmpeg -i
output, how would I get the length (00:35)—$ ffmpeg -i 1video.mp4
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/david/Desktop/1video.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2010-01-24 00:55:16
Duration: 00:00:35.08, start: 0.000000, bitrate: 354 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 640x360 [PAR 1:1 DAR 16:9], 597 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc
Metadata:
creation_time : 2010-01-24 00:55:16
Stream #0.1(und): Audio: aac, 44100 Hz, stereo, s16, 109 kb/s
Metadata:
creation_time : 2010-01-24 00:55:17
At least one output file must be specified -
vf_colorspace : fix range order.
6 mai 2016, par Ronald S. Bultje