@Timm - glad you found that works - but before you upload it to Youtube - I just did some testing with this audio lag problem and found something unexpected.
Testing went like this:
-
I recorded myself playing the piano keyboard. Recording made with panasonic HC-V 180 camcorder. During recording, I recorded the sound in Cubase, then mixed-down the output to MP3.
-
Imported the Panasonic .MTS file and the Cubase MP3 file into Shotcut. Muted the original Panasonic sound. Aligned the MP4 and the MP3 tracks to create perfect synchronisation.
-
Exported the video as an MP4 using the default setting in Shotcut.
-
Played the exported MP4 in Windows Media Player (Windows 10). Result - a slight audio lag (slight but noticeable).
BUT THEN:
5. Played the same MP4 in PotPlayer. Result: NO LAG.
- Uploaded the same MP4 file to Youtube. NO LAG.
So I’m wondering if the problem is nothing to do with the Shotcut export but with Windows Media Player?
Perhaps could @Timm confirm whether he/she used WMP to test the their footage?
Also is there anyone else out there who may like to test my file on a variety of players (including WMP) to see whether the lag exists for them? I’ve put it on GoogleDrive:
PS - info for @DvS - yes, I set the sound of my keyboard to a Yamaha DX7 sound (it’s actually a DX7 soundfont …) I was inspired to do this after reading your post -
https://forum.shotcut.org/t/virtual-synth-with-new-features-and-track/18901