How can you trim a MP4 clip?

I’m dropping in a Quicktime screen grab which needs to stop at a certain point. How can you trim a clip in the timeline?

no built-in abilities to trim a video, but you can control it via scripting the video-tag

a forum-search will give a lot of examples …