Did you know ... Search Documentation:
video->write_as_file