Opened 12 days ago

Last modified 11 days ago

#70970 assigned defect

mpv-legacy: playing back video does not function

Reported by: mrkapqa Owned by: barracuda156
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: snowleopard Cc:
Port: mpv-legacy

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

hello ,

on snow leopard 10.6.8

playing back video does not function.

/Users/rich/Movies/Snoring_All_Transmissions/Snoring 1st Transmission cut.mp4
 (+) Video --vid=1 (*) (h264 960x720 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
[vo/gpu/opengl] GLX does not support GLX_ARB_create_context_profile
[vo/gpu/opengl] GLX does not support GLX_ARB_create_context_profile
[vo/xv] No Xvideo support found.
2024-09-29 01:26:29.187 mpv[41653:2c0f] *** __NSAutoreleaseNoPool(): Object 0x109a49530 of class NSCFArray autoreleased with no pool in place - just leaking
2024-09-29 01:26:29.188 mpv[41653:2c0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70b4c368 of class NSCFString autoreleased with no pool in place - just leaking

do i have a broken pc or may i adapt to get playback=?

ther should be already backend enabled?

Consult ``man mpv'' for further information.
    On systems older than Lion (10.7) or on architectures other than x86_64,
    Cocoa output support is not available. The X11 backend should have been
    enabled automatically.

sorry if doubleposted.

Change History (10)

comment:1 Changed 12 days ago by jmroot (Joshua Root)

Keywords: snowleopard added; mpv-legacy snow leopard removed
Owner: set to barracuda156
Port: mpv-legacy added
Status: newassigned
Summary: (mpv-legacy)mpv-legacy: playing back video does not function

comment:2 Changed 12 days ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:3 Changed 12 days ago by barracuda156

Does it use SDL2? If yes, then you should open a ticket against that, since on Intel SDL2 is different from what I use on PowerPC (and not maintained by me). I will verify once at the laptop.

comment:4 in reply to:  description Changed 11 days ago by barracuda156

Replying to mrkapqa:

hello ,

on snow leopard 10.6.8

playing back video does not function.

/Users/rich/Movies/Snoring_All_Transmissions/Snoring 1st Transmission cut.mp4
 (+) Video --vid=1 (*) (h264 960x720 25.000fps)
 (+) Audio --aid=1 --alang=eng (*) (aac 2ch 48000Hz)
[vo/gpu/opengl] GLX does not support GLX_ARB_create_context_profile
[vo/gpu/opengl] GLX does not support GLX_ARB_create_context_profile
[vo/xv] No Xvideo support found.
2024-09-29 01:26:29.187 mpv[41653:2c0f] *** __NSAutoreleaseNoPool(): Object 0x109a49530 of class NSCFArray autoreleased with no pool in place - just leaking
2024-09-29 01:26:29.188 mpv[41653:2c0f] *** __NSAutoreleaseNoPool(): Object 0x7fff70b4c368 of class NSCFString autoreleased with no pool in place - just leaking

do i have a broken pc or may i adapt to get playback=?

ther should be already backend enabled?

Consult ``man mpv'' for further information.
    On systems older than Lion (10.7) or on architectures other than x86_64,
    Cocoa output support is not available. The X11 backend should have been
    enabled automatically.

sorry if doubleposted.

You could try doing the following:

sudo port -v -n upgrade --enforce-variants mpv-legacy -sdl2

And see if it improves or at least you get a different error (please report it then). You may or may not need to add -opengl as well.

There was some reason why I enabled SDL2 by default, despite locally I had some issues with it (completely unrelated to your case), but I do not remember it. It may work without SDL2, though perhaps some drawback are there.

The reason for the problem seems to be that libsdl2 on Snow Leopard x86 uses a hacked Cocoa backend, while on PowerPC it uses a hacked X11 backend :) The latter works, though not perfectly, but I have no idea about the former.

I do not have an Intel machine with 10.6 at hand now to verify all this.

Last edited 11 days ago by barracuda156 (previous) (diff)

comment:5 Changed 11 days ago by barracuda156

As possible sideline solutions, assuming you look for a functional video player and not specifically MPV, you could try either installing QMPlay2 or VLC3 from this PR: https://github.com/macports/macports-ports/pull/23584 (sorry, no one bothers to merge it, I can’t help it).

comment:6 Changed 11 days ago by kencu (Ken)

the best video player for older systems IMHO is MPlayer.

you will likely find it works great on 10.6, as I do.

comment:7 in reply to:  5 ; Changed 11 days ago by mrkapqa

Replying to barracuda156:

As possible sideline solutions, assuming you look for a functional video player and not specifically MPV, you could try either installing QMPlay2 or VLC3 from this PR: https://github.com/macports/macports-ports/pull/23584 (sorry, no one bothers to merge it, I can’t help it).

Thank you, this was really helpful,

 You could try doing the following:

sudo port -v -n upgrade --enforce-variants mpv-legacy -sdl2

reinstated the functionality of mpv player, it would playback now videonaudio, no hiccups.

ÄKencu, the mplayer was quick in building (just additional yasm needed) but not playback.

{{{MPlayer interrupted by signal 11 in module: preinit_libvo

  • MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
  • MPlayer crashed. This shouldn't happen.

}}}

was happy with mpv that had macports 2.6.2 installed, but i had deleted the macports due to upgrade error, and now was bit anxious that it would no longer function.

presume if i would install macports 2.6.2.pkg, it still would try to build the newest variant of mpv? or what would be the most easy way to "go-back-in-time" to get an older version of mpv easily installed via macports"!? (may have asked this already, but it always seems difficult to achieve to "freeze" a working version of mpv for further use, also on different pc)

comment:8 in reply to:  7 Changed 11 days ago by barracuda156

Replying to mrkapqa:

the mplayer was quick in building (just additional yasm needed) but not playback.

It was very likely broken by some of more recent updates, and no one tried to actually use it on 10.6 or below (not overly surprising, tbh). Buildbots can only show whether something builds or not, but not whether it is functional.

You could try reverting to earlier versions of it and see if that works. History is here: https://github.com/macports/macports-ports/commits/master/multimedia/MPlayer/Portfile

comment:9 Changed 11 days ago by kencu (Ken)

mpv is based on mplayer, but with a newer, less-compatible gui on it..

mplayer 1.5.0 works great for me on 10.6 (and 10.4 and 10.5) but there are many Heisenbergs when it comes to sofware setups.

downgrading your macports to 2.6.2 would be a very bad idea, and wouldn’t help anything.

Last edited 11 days ago by kencu (Ken) (previous) (diff)

comment:10 Changed 11 days ago by mrkapqa

œKencu maybe you could test this file if it would playback also on your 10.6 PC,

suspect that the mini here is "faulty" in regards to videoplayback, since it has been tampered with heavily (dual-graphics, one Graphics card BAD)

please, if you don't mind, here is the file. https://drive.google.com/file/d/1iGqZqUKvF2y8_GFxg4VK4i5QCEiybnL8/view?usp=sharing probably offtopic, but other file would playback.

Note: See TracTickets for help on using tickets.