Umberto,
The best way to avoid the timing problem is to get the video and transitions and other effects added before you add the audio track.
Personally, if I am using any amount of transitions, effects etc, I like to have them in place, then produce the file with no audio. I will then remove all the items from all tracks, use the produced file in the master video track, then add the audio and time as required.
Depending on your system, this can save a lot of time in the long run. With my system, I can render an mpg2 file of 5 - 6 minutes length, with transitions and effects etc in about 2 minutes. Rendering time will depend on your system and the type of files you are working with. I should also mention that currently I am working with SD video only. I have not yet started working with HD video.
With this system I do end up with a few more .pds files, and about 10+ minutes extra time on a full length video (45 - 60 minutes). But, it is worth it as there are many less headaches and problems.
Hal
OS - Win11 Pro, Alienware R13, CPU - Intel Core I7-12700KF 12 CPUs), 16g DDR5 4400 RAM, Video - Geeforce RTX 3080ti 12g, PD11 & PD365
My YouTube