-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python not launching mpv #36
Comments
Does the first file play using Perhaps try running the program again with the loglevel set to |
BTW, you can also try playing the test file from this repo, which is a webm/vp8-encoded video file to make sure it's not a codec problem. |
This is the output if i play the video using mpv:
I tried with the test file but the same thing happened. I tried the trace log as well but i dont see any thing that would indicate whats going on. Heres the log. I left all the duplicated lines in there this time: |
Holy crap, tried logging the test file. Its way smaller! Still same output though. |
Hmm. This looks like some vo driver problem. There is a couple of things that you can try now. (Sorry, I can't reproduce your problem since I don't have any macs available)
|
Any news? If you still need help, just reopen this issue. |
Hey sorry, i sort of got away from this. I've testet the same code on linux at it works perfectly. It seems like its having trouble talking to the libmpv that ships with brew on osx. Im having trouble using gdb for debugging since im using pyenv. I have to figure out fixing that first :) But ill let you know when i figure something out! Thanks! |
With pyenv something along the lines of |
I have the same problem. the main snippet(https://github.com/coryo/python-mpv/blob/master/demo/pyqt5.py#L76-L83): self.mpv_container = QWidget(self)
wid = int(self.mpv_container.winId())
self.mpv = Mpv(parent=self,
wid=wid,
log_handler=mpv_log.debug,
log_level=mpv.LogLevel.INFO,
input_cursor=False,
hwdec='auto',
observe=['track-list', 'playback-time', 'duration']) |
I'm migrating this "unknown hang on OSX" issue to #61 |
I was trying one of your examples but the player never seemed to launch. I tried adding some debugging code as you advised in another issue but i cant seem to figure out why its not launching the player. This is the code im using and the files are just regular h264 files. Im on osx 10.11 and using python 3.6.1 and mpv 0.25.0. The library seems to find the dylib file just fine
/usr/local/lib/libmpv.dylib
Log: https://pastebin.com/raw/U5ExvigH
The text was updated successfully, but these errors were encountered: