[FFmpeg-user] amix parameter 'inputs' out of range [1 - 1024]
Limin Wang
lance.lmwang at gmail.com
Mon Jan 6 12:38:16 EET 2020
On Mon, Jan 06, 2020 at 10:10:44AM +0000, Yunpeng Guan wrote:
> 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.
I submit a patch to remove the limit of max, you can try it.
https://patchwork.ffmpeg.org/project/ffmpeg/patch/20200106102923.5280-1-lance.lmwang@gmail.com/
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
--
Thanks,
Limin Wang
More information about the ffmpeg-user
mailing list