[MacPorts] #49765: (mpv)(osx lion; macmini2.1)-(only audio, no video output)
#49765: (mpv)(osx lion;macmini2.1)-(only audio, no video output) ------------------------+-------------------------------- Reporter: csae2608@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------+-------------------------------- 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) -- Ticket URL: <https://trac.macports.org/ticket/49765> MacPorts <https://www.macports.org/> Ports system for OS X
#49765: (mpv)(osx lion;macmini2.1)-(only audio, no video output) -------------------------+--------------------- Reporter: csae2608@… | Owner: ionic@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: mpv | -------------------------+--------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ionic@… * port: => mpv Old description:
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)
New description: 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) }}} -- -- Ticket URL: <https://trac.macports.org/ticket/49765#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49765: (mpv)(osx lion;macmini2.1)-(only audio, no video output) -------------------------+--------------------- Reporter: csae2608@… | Owner: ionic@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: wontfix | Keywords: Port: mpv | -------------------------+--------------------- Changes (by ionic@…): * status: new => closed * resolution: => wontfix Comment: 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 (hardly) 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. It's inconvenient, I know, but so are most workarounds... -- Ticket URL: <https://trac.macports.org/ticket/49765#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts