Use ffmpeg directly for interval screenshots for better performance