End time is now properly used when extracting frames.