[FFmpeg-user] amix parameter 'inputs' out of range [1 - 1024]

Yunpeng Guan yunpengguan at highviewsoftware.com
Mon Jan 6 12:10:44 EET 2020


Hello everyone:

I was adding tons of audio files to a video, my command looks like this:

ffmpeg -i video.mp4 -i 0.mp3 -i 1.mp3 ...... -i 1291.mp3 -filter_complex 
"[1]adelay=670[a0];[2]adelay=2209[a1];[3]adelay=3748[a2] ...... 
[1292]adelay=4011880[a1291];[a0][a1][a2] ...... 
[a1291]amix=inputs=1292,loudnorm[a]" -map 0:v -map "[a]" output-video.mp4

Then I get this error:

[amix @ 0x7ff7811a6940] Value 1292.000000 for parameter 'inputs' out of 
range [1 - 1024]
     Last message repeated 1 times
[amix @ 0x7ff7811a6940] Error setting option inputs to value 1292.
[Parsed_amix_1292 @ 0x7ff7811a6720] Error applying options to the filter.
[AVFilterGraph @ 0x7ff789229160] Error initializing filter 'amix' with 
args 'inputs=1292'
Error initializing complex filters.
Numerical result out of range

Is this a limit of amix? What should I do to burn these audio files to 
one video? Thanks.



More information about the ffmpeg-user mailing list