Export segment of video file?

I’m loading a video file with ofVideoPlayer. Is there an easy method or addon for extracting a segment of this video and saving it to a file? For example, save 0:10:00 seconds to 0:15:00 seconds to a new video file.

I know I can do this easily with ffmpeg, is the best way to just call ffmpeg externally?

This is on windows btw

after some investigating, I found that calling ffmpeg via ofSystem worked fine for my purposes.