I try to change the speed( x1.042000) in video properties to match the movie subtitles, the audio is in sync while editing, using VLC to watch the exported mp4 file, the audio is in sync at the beginning, but gradually out of sync.
I use Shotcut to check, and find out while editing, although the audio is in sync with the video the whole way, but the audio waveform is gradully out of sync. As in the picture below: the gun shoot frame is at 01:25:36, but the gun shoot audio waveform is at 01:25:38.
If you want to speed up the video you have to resample (speedup) the audio too or
you can split up and cut audio and video and sync it manually.
Maybe it is easier to edit the timestamps for the subtitles.
You can speed up video by just changing the waiting time between the displayed frames. In audio you are limited to standard sampling rate. To archive the speedup by 1.04 you need a resampling filter set. This setup needs a bunch of FIR low pass filters with the same low pass behavior but with slightly different output delay to archive your goal.
I just found out that in editing mode(moving the cursor), shotcut will force the audio in sync, but in “play” mode, it will gradually lose sync( as in the waveform).