[FFmpeg-trac] #9208(undetermined:new): Should I always set dropout_transition very high number like 10000 when using amix filter

FFmpeg trac at avcodec.org
Thu Apr 29 10:49:48 EEST 2021


#9208: Should I always set dropout_transition very high number like 10000 when
using amix filter
-------------------------------------+-------------------------------------
             Reporter:  kvsico       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 I want to mix many audio files with different duration, but the volume of
 mix.mp3 increased like issue[0], then I solved this problem by adding
 `dropout_transition=10000`[1], the whole command is
 `ffmpeg -y -i a.mp3 -i b.mp3 -filter_complex
 "[0]volume=1[a0];[a0]adelay=0|0[a00];[1]volume=1[a1];[a1]adelay=5000|5000[a11];[a00][a11]amix=inputs=2:dropout_transition=10000,volume=2[aaa]"
 -map "[aaa]" mix.mp3 ` .

 I don't know much about amxi filter and googled less search result about
 it, does `dropout_transition=10000` have potential problems?
 Should use amerge filter instead, or use newly added `sum` option[2]


 [0]:https://stackoverflow.com/questions/35509147/ffmpeg-amix-filter-
 volume-issue-with-inputs-of-different-duration
 [1]:https://www.reddit.com/r/ffmpeg/comments/d63fki/preventing_amixs_volume_normalization_issue/
 [2]:http://git.videolan.org/?p=ffmpeg.git;a=commitdiff;h=57651493923ea4bc76453aa18fb0ecad7926720d
 [9]:https://stackoverflow.com/questions/62367391/ffmpeg-amix-filter-
 always-does-volume-normalization-how-to-prevent-it-and-wha
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9208>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list