When import an mp4 clip and drop it into the timeline and render it out with a lossless format (only ones I have tested) the last 5-7 frames seem to be held/duplicated.
I am importing a an HD slideshow clip (animation) by filename pattern of 300 frames with the frame number in the center of the image (another issue is with the slideshow clip, it seems to loop at the end and put the first frame at the end, so I always have to trim it off). When I render this file out as FFV1, mpeg-2, mpeg-4, or h264, I overlay the frame number just to double confirm (it starts at 0 whereas my frames start at 1). All the files play fine in VLC, although the mpg and h264 version have trouble displaying the last several frames.
The problem of duplicate frames happens when I re-import the clips back into kdenlive. The mkv is the only one that works flawlessly, but it is massive and not good to work with. The mpg completely drops the last 2 frames, the mp4 duplicates the last several frames ending at 291, and the h264 mp4 starts duplicating at 292. This happens both on the timeline and in the clip monitor.
I'm not sure where the problem is, but I'm not sure how to resolve it and it is becoming increasingly frustrating as I work with animation sequences and each frame is very important, so lost frames are unacceptable.
Any help would be much appreciated. I can upload the files and project if need be.