Opened 5 years ago
Closed 5 years ago
#9208 closed defect (invalid)
Should I always set dropout_transition very high number like 10000 when using amix filter
| Reported by: | kvsico | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | undetermined |
| Version: | unspecified | Keywords: | |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
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
Change History (2)
comment:1 by , 5 years ago
| Type: | defect → enhancement |
|---|
comment:2 by , 5 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
| Type: | enhancement → defect |



Please ask all usage questions on the FFmpeg user mailing list, this is a bug tracker.