Opened 9 years ago

Closed 9 years ago

#49228 closed update (fixed)

mpv: update to 0.11.0

Reported by: johnrosshunt@… Owned by: Ionic (Mihai Moldovan)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: dbevans (David B. Evans), jeremyhu (Jeremy Huddleston Sequoia)
Port: mpv ffmpeg

Description

Please update mpv to the latest version (0.11.0 as of this writing) to enable videotoolbox hardware decoding. I don't know if this is a bug or a feature, but vda & videotoolbox need to be enabled in both ffmpeg and mpv in order for this to work properly. See the following upstream bug for details.

https://github.com/mpv-player/mpv/issues/2299

I can confirm the bug (feature?) on my system. I had the same problem and had to rebuild ffmpeg + mpv with vda & videotoolbox enabled for hwdec to work properly.

Attachments (2)

mpv.Portfile.diff (2.3 KB) - added by johnrosshunt@… 9 years ago.
Portfile patch
ffmpeg.Portfile.diff (632 bytes) - added by johnrosshunt@… 9 years ago.
Need to patch ffmpeg as well

Download all attachments as: .zip

Change History (9)

Changed 9 years ago by johnrosshunt@…

Attachment: mpv.Portfile.diff added

Portfile patch

Changed 9 years ago by johnrosshunt@…

Attachment: ffmpeg.Portfile.diff added

Need to patch ffmpeg as well

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

Cc: devans@… jeremyhu@… ionic@… added
Keywords: elcapitan added; OS X 10.11 El Capitan removed
Port: mpv ffmpeg added; multimedia/mpv removed
Summary: Please upgrade mpv to the 0.11.0mpv: update to 0.11.0

I guess the revision of ffmpeg would need to be increased, since it would change the files that are installed on El Capitan.

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

Cc: devans@… jeremyhu@… removed
Owner: changed from macports-tickets@… to ionic@…
Port: ffmpeg removed
Status: newassigned

I already have an update prepared. Please bear with me. I need to test this stuff in my 10.6 VM or would have committed it already.

ffmpeg and ffmpeg-devel are good to go, I added VTB support a few days ago. Deleting maintainers.

comment:3 Changed 9 years ago by Ionic (Mihai Moldovan)

Wait. VDA must be enabled in ffmpeg for 10.11? That sounds wrong/like a bug, because VDA is not available on 10.11.

comment:4 in reply to:  3 Changed 9 years ago by johnrosshunt@…

Replying to ionic@…:

Wait. VDA must be enabled in ffmpeg for 10.11? That sounds wrong/like a bug, because VDA is not available on 10.11.

I agree that it sounds like a bug. But without VDA enabled, you get the problem described here: https://github.com/mpv-player/mpv/issues/2299 (at least on El Capitan). Perhaps the upstream maintainers have a better explanation.

comment:5 Changed 9 years ago by Ionic (Mihai Moldovan)

Cc: devans@… jeremyhu@… added; ionic@… removed

I have asked in #libav last week and was told that VDA has been removed completely in 10.11. That's why I disabled it in the ffmpeg Portfiles.

Hmm.. didn't receive an answer in #ffmpeg yet. That's a weird bug.

Re-adding ffmpeg maintainers, because I will probably just re-enable VDA on 10.11 for now in both mpv and ffmpeg{,-devel}.

Last edited 9 years ago by Ionic (Mihai Moldovan) (previous) (diff)

comment:6 Changed 9 years ago by Ionic (Mihai Moldovan)

Port: ffmpeg added

ffmpeg in r141220, ffmpeg-devel in r141221.

comment:7 Changed 9 years ago by Ionic (Mihai Moldovan)

Resolution: fixed
Status: assignedclosed

mpv updated in r141222.

I've been working on this for a week...

Thanks for the VTB-bug heads-up.

Note: See TracTickets for help on using tickets.