Skip to main content

recordcapture is a library based on Desktop Duplication API, pillow, and pyaudio which provide multiple methods for capturing and recording Screen and Microphone.

Project description

recordcapture

recordcapture is a library based on Desktop Duplication API, pillow, and pyaudio which provide multiple methods for capturing and recording Screen and Microphone.

Usuage:

import recordcapture

sr=recordcapture.screenRecord()
sr.start(seconds=30,filename=None,frame=30,bitrate=8000000,useGPU=False,countdown=5,echo=True)
#Note: All Parameters are optional
seconds: total time to record the screen in seconds
filename: any filename eg: abc.mp4, if not provided, will take timestamp as default.
frame: frame per second.
bitrate: bit processed per unit of time
useGPU: using gpu for enhanced the recording, if face issue the put as False
countdown: countdown before start recording
echo: to print the event messages



ar=recordcapture.micRecord()
ar.start(seconds=30,filename=None,chunk=1024,channels=2,rate=44100,countdown=5,echo=True)
#Note: All Parameters are optional
seconds: total time to record the screen in seconds
filename: any filename eg: abc.wav, if not provided, will take timestamp as default.
chunk: chunk size
channels: sound coming from points
rate: sample rate
countdown: countdown before start recording
echo: to print the event messages




ss=recordcapture.screenshot()
ss.capture(countdown=5,filename=None,extension='png',echo=True)
#Note: All Parameters are optional
countdown: countdown before start recording
filename: any filename eg: abc.png, if not provided, will take timestamp as default.
extension: file extension
echo: to print the event messages

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recordcapture-0.0.4.tar.gz (3.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page