Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/malitha-gunathilaka/python_media_player


https://github.com/malitha-gunathilaka/python_media_player

Last synced: 7 days ago
JSON representation

Awesome Lists containing this project

README

        

# Python Media Player

A simple media player built using Python, `pygame`, and `moviepy`. This media player can handle both audio (MP3, WAV) and video (MP4, MKV) files. The user interface is built using `tkinter`.

## Features

- Play audio files (MP3, WAV)
- Play video files (MP4, MKV)
- Pause and stop functionality for both audio and video
- Simple and intuitive user interface

## Requirements

- Python 3.x
- `pygame` library
- `moviepy` library
- `Pillow` library

## Installation

1. **Clone the repository:**

```bash
git clone https://github.com/yourusername/python-media-player.git
cd python-media-player
```

2. **Install the required libraries:**

```bash
pip install pygame moviepy pillow
```

## Usage

1. **Run the script:**

```bash
python main.py
```

2. **Open a media file:**

- Click the "Open" button to select an audio or video file.

3. **Control playback:**

- Use the "Play", "Pause", and "Stop" buttons to control the playback of the media.

## Contributing

Contributions are welcome! Please fork this repository and submit a pull request for any improvements or bug fixes.

## License

This project is licensed under the MIT License.

## Contact

Developed by [Malitha Visada](mailto:[email protected])
LinkedIn: [Malitha Visada](https://linkedin.com/in/malithavisada)
GitHub: [Malitha Gunathilaka](https://github.com/Malitha-Gunathilaka)