'How to add offset or delay to audio file with ffmpeg?

I need offset (some silence) in the start of file, so I tried:

./ffmpeg -itsoffset 100 -i 3.mp3 offset_test.mp3

But it doesn't work.

How to add offset to audio file with ffmpeg?



Solution 1:[1]

The easiest way I found so far for ffmpeg ver > 4.2:

ffmpeg -i audio_in.wav -af areverse,apad=pad_dur=1s,areverse audio_out.wav

This will add an offset of 1 second to the audio.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 DesiKeki