Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
FFMPEG Normalize audio
16-05-2021, 09:59 (This post was last modified: 16-05-2021 10:02 by lafuente.)
Post: #1
FFMPEG Normalize audio
Hello,

I wonder if it is possible to normalize volume level using FFMPEG on the fly ?

I found this :
https://bytesandbones.wordpress.com/2017...28-filter/

Sound like it can be used as a base work, but it write a new file. Since Minim with minimstreamer look like to do the same, how can one achieve le volume normalisation without resample all is files ? if possible...

With MinimServer 2 it will be easy to create a dedicated profile if it's possible.

Thank you,
Manu
Find all posts by this user
Quote this message in a reply
17-05-2021, 11:48
Post: #2
RE: FFMPEG Normalize audio
(16-05-2021 09:59)lafuente Wrote:  I wonder if it is possible to normalize volume level using FFMPEG on the fly ?

If you have replay gain tags in your files then you can achieve this using information in this thread.
Find all posts by this user
Quote this message in a reply
18-05-2021, 15:21
Post: #3
RE: FFMPEG Normalize audio
Thank you, I'll give a try to this. Is this string OK :

convOut=-af aresample=resampler=soxr:precision=33:cheby=1:dither_method=triangular -af volume=replaygain=track
Find all posts by this user
Quote this message in a reply
20-05-2021, 11:18
Post: #4
RE: FFMPEG Normalize audio
You need to combine the filters into a single -af option, like this:

convOut=-af "aresample=resampler=soxr:precision=33:cheby=1:dither_method=triangular,volume=re​playgain=track"
Find all posts by this user
Quote this message in a reply
23-05-2021, 12:41
Post: #5
RE: FFMPEG Normalize audio
Thank you Simon
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)