A Python program for streaming video to aparat.com using the vidgear library. This program allows you to stream video from a specified location to Aparat using a provided stream key. It also includes a CLI interface for easy configuration and usage.
- Stream video to Aparat using a stream key
- Supports various video sources (e.g., webcam, video file)
- Uses FFmpeg optimizing parameters for video encoding
- CLI interface for easy configuration and usage
- Python 3.7+
- vidgear library
- Clone the repository to your local machine:
$ git clone https://github.com/ghalbeyou/aparat-streamer
- Install the required dependencies:
$ pip install -r requirements.txt
- Configure the stream by editing the
config.json
file or by providing command-line arguments using the CLI interface. The available configuration options are:
stream_video_location
: The location of the video source to be streamed (e.g., webcam index, video file path)stream_key
: The stream key provided by Aparat
- Start the streaming program by running
main.py
orCLI.Streamer.py
:
$ python main.py
or
$ python Streamer.CLI.py -k <stream_key> -l <stream_video_location>
- The program will start streaming the video to Aparat using the provided stream key.
If you would like to contribute to this project, you can do so by:
- Forking the repository
- Creating a new branch
- Making your changes
- Submitting a pull request
Please make sure to follow the Contributing Guidelines when contributing to this project.
This project is licensed under the GNU GENERAL PUBLIC LICENSE.