Metadata-Version: 2.1
Name: screen-recorder-python
Version: 1.2
Summary: A simple screen recorder package for python
Home-page: https://github.com/Pranav433/screen_recorder
Author: Pranav Parashar
Author-email: krish420360@gmail.com
License: MIT
Keywords: screen recorder
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
Requires-Dist: cffi (==1.14.5)
Requires-Dist: future (==0.18.2)
Requires-Dist: MouseInfo (==0.1.3)
Requires-Dist: numpy (==1.20.1)
Requires-Dist: opencv-python (==4.5.1.48)
Requires-Dist: Pillow (==8.1.2)
Requires-Dist: PyAutoGUI (==0.9.52)
Requires-Dist: pycparser (==2.20)
Requires-Dist: PyGetWindow (==0.0.9)
Requires-Dist: PyMsgBox (==1.0.9)
Requires-Dist: pyperclip (==1.8.2)
Requires-Dist: PyRect (==0.1.4)
Requires-Dist: PyScreeze (==0.1.26)
Requires-Dist: PyTweening (==1.0.3)
Requires-Dist: sounddevice (==0.4.1)
Requires-Dist: SoundFile (==0.10.3.post1)

# screen_recoder

[![PyPI version](https://badge.fury.io/py/screen-recorder-python.svg)](https://badge.fury.io/py/screen-recorder-python)


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](https://www.realtek.com/en/component/zoo/category/pc-audio-codecs-high-definition-audio-codecs-software)


## 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](https://realpython.com/intro-to-python-threading/) for this module to work
```python
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()
```
## Links
* [github](https://github.com/Pranav433/screen_recorder)
* [package]()


