Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import picamera
- camera = picamera.PiCamera()
- camera.resolution = (640, 480)
- camera.start_recording('my_video.h264')
- camera.wait_recording(60)
- camera.stop_recording()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement