Okay, I got a strange problem here.
I edited a video that contains footage of me riding a rodelbaan. I got a video track of a first person view (that shows the cart going down the track from the front of the cart) and a track of a third person view (that shows me in the cart). The third person view is used as a picture-in-picture over the first person view video.
I had to speed up and slow down some parts of the first person view video in order to synchronize it with the third person view video because the videos were recorded on two consequental rides down the track.
Now, if I render this video from kdenlive, the sped up / slowed down parts are rendered correctly and the result is a nice synchronized video of the ride.
If I create a MLT script and run it from the command line, the sped up / slowed down parts are rendered incorrectly. The sped up parts just cut off in the middle and repeat a few times, making the result completely desynchronized.
I have checked the MLT file in /tmp that kdenlive generates when rendering the video against the exported MLT - they are exactly the same. There are no differences between those files.
What is going on here? Why does melt-7, when run from the cli, mess up the timings and why do the timings not mess up when rendering straight from kdenlive? While there is no actual difference between the mlt files and while both are rendered with melt-7?