Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/malitha-gunathilaka/python_media_player
https://github.com/malitha-gunathilaka/python_media_player
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/malitha-gunathilaka/python_media_player
- Owner: Malitha-Gunathilaka
- Created: 2024-07-16T10:26:16.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-07-16T10:31:18.000Z (6 months ago)
- Last Synced: 2024-07-16T13:14:36.135Z (6 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)