Skip to content

brendanhowell/gstreamer-player

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gstreamer-player

Audio player based on gstreamer.

Install

Prerequisites

Debian/Ubuntu/Rasbian:

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:

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

from gsp import GstreamerPlayer

player = GstreamerPlayer(None)

player.queue("/path/to/audio.mp3")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.6%
  • Makefile 1.4%