import picamera
from time import sleep

with picamera.PiCamera() as camera:
    camera.resolutionn = (640,480)
    camera.capture('capture/image.jpg')
    camera.start_recording('capture/video-15sec.h264')
    camera.wait_recording(15)
    camera.stop_recording()
