[FFmpeg-trac] #1649(undetermined:new): add a volumedetect audio filter

FFmpeg trac at avcodec.org
Sat Aug 18 04:40:38 CEST 2012


#1649: add a volumedetect audio filter
-------------------------------------+-------------------------------------
             Reporter:  dericed      |                     Type:
               Status:  new          |  enhancement
            Component:               |                 Priority:  normal
  undetermined                       |                  Version:
             Keywords:               |  unspecified
  avfilter,volume                    |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 There is a nice volume audio filter that enables the audio volume to be
 raised or lowered according to a fraction or db value. I often need to
 create media files where the audio volume is scaled to a specified db
 value. Right now to do this I have to pipe from ffmpeg to normalize (to
 get the volume expressed in db), then do the math to determine the
 difference between the volume I have and the volume I want, and then use
 the volume filter in ffmpeg to make that adjustment.

 I suggest that ffmpeg add a volumedetect filter to assess the volume of an
 audio stream (similar to how normalize does) as it would be nice to do
 this process in one tool.

 I think the combination of cropdetect and crop is similar to this request,
 since cropdetect can be used on a first pass to determine an appropriate
 crop and then the returned value can be used in the crop filter of a
 second pass. Doing something similar with a volumedetect filter then the
 existing volume filter would be very useful.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1649>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list