#!/usr/bin/env python

import picamera

with picamera.PiCamera() as camera:
    camera.resolution = (2592, 1944)
    camera.start_recording('full_res.h264', resize=(1024, 768))
    camera.wait_recording(10)
    camera.stop_recording()
2d6f38ae84f689dbb36a26b83b515fb9ed6e86c6
<mask token>

<mask token>
with picamera.PiCamera() as camera:
    camera.resolution = 2592, 1944
    camera.start_recording('full_res.h264', resize=(1024, 768))
    camera.wait_recording(10)
    camera.stop_recording()

import picamera
with picamera.PiCamera() as camera:
    camera.resolution = 2592, 1944
    camera.start_recording('full_res.h264', resize=(1024, 768))
    camera.wait_recording(10)
    camera.stop_recording()

#!/usr/bin/env python

import picamera

with picamera.PiCamera() as camera:
    camera.resolution = (2592, 1944)
    camera.start_recording('full_res.h264', resize=(1024, 768))
    camera.wait_recording(10)
    camera.stop_recording()