Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#49765 closed defect (wontfix)

(mpv)(osx lion;macmini2.1)-(only audio, no video output)

Reported by: mrkapqa Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: mpv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Hello ,

after failing to install MPV on my Powermac G5 i finally got the opportunity to try it on macmini 2.1 with Intel Graphics 945. The build seemed to compile just fine, many thanks for this awesome work!

Only, found out that it does not play any video, just giving audio feedback.

Can you please help me with the MPV options to override this. Macmini 2.1 gives only OpenGL 1.4 i think, whereas 2.1 is required to work with MPV.

here is an output i get when playing video

 mpv
mpv 0.11.0 (C) 2000-2015 mpv/MPlayer/mplayer2 projects
 built on Sat Nov 21 17:25:54 CET 2015
ffmpeg library versions:
   libavutil       54.31.100
   libavcodec      56.60.100
   libavformat     56.40.101
   libswscale      3.1.101
   libavfilter     5.40.101
   libswresample   1.2.101
ffmpeg version: 2.8.2

Usage:   mpv [options] [url|path/]filename

Basic options:
 --start=<time>    seek to given (percent, seconds, or hh:mm:ss) position
 --no-audio        do not play sound
 --no-video        do not play video
 --fs              fullscreen playback
 --sub-file=<file> specify subtitle file to use
 --playlist=<file> specify playlist file

 --list-options    list all mpv options




jussis-mac-mini:Music jussiissa42$ mpv Alipi\ Naydenov\ -\ Buon\ Compleanno\,\ Maestro\!\ \(LD\).mp4 
Playing: Alipi Naydenov - Buon Compleanno, Maestro! (LD).mp4
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=und (*) (aac)
[vo/opengl] At least OpenGL 2.1 or OpenGL ES 2.0 required.
Error opening/initializing the selected video_out (-vo) device.
Video: no video
AO: [coreaudio] 44100Hz stereo 2ch floatp
A: 00:15:04 / 00:15:05 (99%)


Exiting... (End of file)

Change History (2)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ionic@…
Port: mpv added

comment:2 Changed 8 years ago by Ionic (Mihai Moldovan)

Resolution: wontfix
Status: newclosed

Sorry, this is not something you or I could fix.

The situation goes like that: mpv is only supported on 10.8 or higher. I have written a patchset to make it work (barely) on at least 10.7 and 10.6 (maybe even 10.5 - haven't tested that far back.)

The obvious caveat is that for some reason the video output fails to initialize properly and nothing will play via the Cocoa backend. The OS X-internal libraries spit out something like "invalid pixel format", but I have no idea how to fix that.

There is a workaround, though. If you can live with video playback via X11, consider using the +x11 variant. It should be enabled by default.

Try executing mpv as such:

mpv -vo=opengl:backend=x11 file

This should give you video playback over X11 with OpenGL. If it works, you may want to tweak your ~/.mpv/config file. It's inconvenient, I know, but so are most workarounds...

Last edited 8 years ago by Ionic (Mihai Moldovan) (previous) (diff)
Note: See TracTickets for help on using tickets.