Set audio delay with mkvpropedit using the command line

Hello. How can I use mkvpropedit to change the delay of the first audio track on a bunch of mkv files? I tried --set delay but it is not working.

thanks.

Welcome!

This isn’t possible. In Matroska the delay of one track against another isn’t just a simple header field. Instead the values must be added to all timestamps in file, effectively requiring a total remux.

OK, so how can I remux it with the delay?

mkvmerge’s option is called --sync. The GUI has corresponding controls for tracks.