Why does After Effects cut some last seconds of video in Timeline?
Try converting the video to Quicktime ProRes format, or another format that doesn't have intra-frame compression before you import it into After Effects.