Exactly the part you pick
The clip starts and ends on the frames you choose, in every app. When it can, the video is copied as it is, which takes seconds; otherwise the start is rebuilt at the original quality, which takes a little longer and looks the same.