Comments (4)
Sorry, Missed some characters. Post again
from pyomxplayer import OMXPlayer
from pprint import pprint
omx = OMXPlayer('/home/pi/1.mp3')
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/pyomxplayer.py", line 32, in init
file_props = self._FILEPROP_REXP.match(self._process.readline()).groups()
AttributeError: 'NoneType' object has no attribute 'groups'
from pyomxplayer.
File properties are not outputed by omxplayer on some versions. Just comment out the 3 lines below # Get file properties
and the 3 lines starting with if self.audio['streams'] > 0:
from pyomxplayer.
Hello, jbaiter
I have rpi raspbian #737 , latest omxplayer. And had this problem. Managed to solve it by commenting those lines , and ALSO the audio lines (group error) below.
Now it works almost flawless.
Hope this helps you ,
good work !
Alfredo Martínez Cáceres
from pyomxplayer.
Hello all,
I appreciate this is quite old but I've had similar experiences. leucos's suggestion and the 13 Oct 2015 commit resolved the problem for .mkv files, however .mp4 (while they no longer produce an error) do not play. Any suggestions would be appreciated.
from pyomxplayer.
Related Issues (15)
- error when execute my python file HOT 9
- implement set_chapter
- Implement set_volume
- Implement seek
- Refactor code to separate parsing responsibilities
- Add build automation
- omxplayer wrapper
- Can't install on Raspbian nor Occidentalis HOT 8
- Multiple instances HOT 3
- Odd behavior with version fix HOT 1
- how to get the current position HOT 1
- Implement set_speed
- Implement set_audio_channel
- Implement subtitle functions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyomxplayer.