You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Invoked on any number of arguments, mixes together the audio to output file. That is, the output file will be the result of playing all the input files simultaneously and recording them, as it were.
# Currently, this command does no audio level normalization. The correct flag to do that is something like -af dynaudnorm
# WARNING: will not work for input_file names with spaces. Sorry, I couldn't figure out how to make this work for file names with spaces in. The output of @Q mysteriously is not accepted
output_file="$1"
shift
ffmpeg `for arg in "$@"; do echo -n "-i $arg "; done` -filter_complex amix=inputs="$#":duration=longest "$output_file"