https://github.com/happyleavesaoc/gstreamer-player
https://github.com/happyleavesaoc/gstreamer-player
gstreamer python3
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/happyleavesaoc/gstreamer-player
- Owner: happyleavesaoc
- License: mit
- Created: 2017-02-09T22:30:52.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-09-26T00:29:05.000Z (over 3 years ago)
- Last Synced: 2024-09-29T05:50:49.529Z (8 months ago)
- Topics: gstreamer, python3
- Language: Python
- Size: 9.77 KB
- Stars: 1
- Watchers: 2
- Forks: 5
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gstreamer-player
Audio player based on [gstreamer](https://github.com/GStreamer/gst-python).
## Install
### Prerequisites
Debian/Ubuntu/Rasbian:
```bash
sudo apt-get install python-gst-1.0 \
gir1.2-gstreamer-1.0 gir1.2-gst-plugins-base-1.0 \
gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly \
gstreamer1.0-tools
```Redhat/Centos/Fedora:
```bash
sudo yum install -y python-gstreamer1 gstreamer1-plugins-good \
gstreamer1-plugins-ugly
```If you're using a Python virtual environment, symlink the system Python's `gst` into your env's `site_packages`.
### Python module
`pip install gstreamer-player`
## Usage
```python
from gsp import GstreamerPlayerplayer = GstreamerPlayer(None)
player.queue("/path/to/audio.mp3")
```