Skip to content

sfx101/python-omxplayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Python wrapper for Omxplayer (Raspberry Pi)

A dead simple wrapper of oxmplayer in python

from pyomx import Pyomx
# args: [file path/url, audio out, loop, layout]
omxplayer = Pyomx('/path/to/video', 'hdmi', True, '2.1')
omxplayer.handle('pause');
omxplayer.handle('play');
omxplayer.handle('volume_up');
omxplayer.handle('volume_down');
omxplayer.handle('seek_rewind');
omxplayer.handle('seek_forward');
omxplayer.handle('stop');

About

A working Python wrapper for Omxplayer (Raspberry Pi)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages