alfg / ffmpeg-commander

🛠️ FFmpeg Command Generator Web UI
http://alfg.dev/ffmpeg-commander/
MIT License
711 stars 84 forks source link

Add adelay filter #38

Open Xcodo opened 1 year ago

Xcodo commented 1 year ago

I'd like to add the adelay filter option allow the audio sync to be changed.

Here's an example command

ffmpeg -i input.mp4 -af "adelay=delays=150:all=1" ouput.mp4

I think using the all option is simplest, otherwise a delay needs to be set for every audio channel (two for stereo, like adelay=150|150).