Skip to main content

screen_recoder

PyPI version

This is a simple python package for recording your screen on WINDOWS 64 bit

NOTE :- don't install it in other OS

Important Note

This module requires stereo mix, enable it before using this module, if you dont have stereo mix you can download it from here

Key features

  • simple
  • Fast
  • efficient

Installing

pip install screen_recorder

OR

git clone https://github.com/Pranav433/screen_recorder
cd screen_recorder
pip install .

Dependencies

  • cffi==1.14.5
  • future==0.18.2
  • MouseInfo==0.1.3
  • numpy==1.20.1
  • opencv-python==4.5.1.48
  • Pillow==8.1.2
  • PyAutoGUI==0.9.52
  • pycparser==2.20
  • PyGetWindow==0.0.9
  • PyMsgBox==1.0.9
  • pyperclip==1.8.2
  • PyRect==0.1.4
  • PyScreeze==0.1.26
  • PyTweening==1.0.3
  • sounddevice==0.4.1
  • SoundFile==0.10.3.post1

Example

you have to use threading for this module to work

from threading import Thread
from screen_recorder import Recorder
import time
rec = Recorder() 
def record():
    rec.record_screen()  # This will start the recording
    print(rec.get_screenshot())

def stop(): # This will stop the recording after 30 seconds considering it takes 0 seconds inside the loop
    i=0
    while True:
        time.sleep(1)
        if i == 30:
            rec.stop()
            rec.save("recording.mp4")
            break
        i+=1
record_thread = Thread(target=record)
stop_thread = Thread(target=stop)
record_thread.start()
stop_thread.start()

Release files for screen-recorder-python 1.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for screen-recorder-python 1.2.5
File Interpreter ABI Platform
screen_recorder_python-1.3-py3-none-any.whl Python 3 none any Details

Release files / screen_recorder_python-1.3-py3-none-any.whl

Download URL screen_recorder_python-1.3-py3-none-any.whl
Size 45.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
515bf0551ec8bb8023bd399da09b75df62823934359066f321cf30c949851b7c
BLAKE2b-256 checksum
How to use checksums
bde0385087fb976a476705423bb10df20620b7b0deb4962ae7c7154c48092d47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1

Release history Release notifications | RSS feed

This release

1.2.5 This release

1 release file

1.2

2 release files

1.0.5

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page