I try to make a bash file with (an) ffmpeg command(s) in which a single mp3 file (let's say of two minutes duration) will be extended to for example 8 hours duration. Since mp3 files always have these gaps of silence at the front and back in order to make it seamless loops I need to use crossfading. How can I do this without having an enormous large command like:
ffmpeg -i same.mp3 -i same.mp3 -i same.mp3 ....(hundreds of times) -filter_complex "[0][1]acrossfade=d=5:c1=exp:c2=exp[a01] ... etc (hundreds of times) output.mp3
not tested with 8 hour:
variable TOT = 8hour div duration of input