I have Version 15.0.5.211 of Magix Video Pro X.
1. The bug.
If you render an AVCHD clip (50i or 50p) that has not been altered, using Smart Copy (default or Main Concept codec) then the end of the clip is truncated by one GOP. If you re-render the rendered clip then it is also truncated by a further GOP, and so on. If you have a series of unaltered clips on the timeline, all clips will be truncated by one GOP in the output.
This should be trivial to fix.
2. Comments.
These are some conclusions I have reached after some experimentation with Smart Copy, for those who may be interested.
I tested a 50i AVCHD clip from a Sony camera and a 50p clip from a Panasonic camera. The 50i camera creates a GOP length of 13 frames (26 fields), while the 50p camera creates a GOP length of 24 frames. According to VideoReDo, the first two frames are B frames followed by an IDR frame (a special I frame) in both cases. Then follow a series of B and P frames (not the same) to complete the GOP before an I frame and so on.
All clips that I looked at from both cameras had an integral number of GOPs (or GsOP for purists!) in each clip. When you press the button to stop recording, the camera keeps on going for a moment to complete the GOP to make it happy, which makes me unhappy, because I generally have to trim a bit off the end of each clip.
If you trim the start of a clip, it removes an integral number of GOPs plus two frames such that it is the largest chunk possible that does not remove wanted frames. On the other hand, when you trim the end, an integral number of GOPS is deleted, which may include up to one GOP of wanted frames.
Although the clips as recorded have an integral number of GOPs, if you trim the start, the output will have two frames less than an integral number of GOPs. The first frame will now be a normal I frame.