Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
OMX Player
# Testing python-omxplayer-wrapper from https://github.com/willprice/python-omxplayer-wrapper
from omxplayer import OMXPlayer as op
from time import sleep
file_path = '../audio/Baby.mkv'
player = op(file_path)
player.play()
sleep(10)
player.pause()
sleep(10)
player.quit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.