Socket
Socket
Sign inDemoInstall

recordcapture

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    recordcapture

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


Maintainers
1

Readme

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

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc