[MacPorts] #42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS
#42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS -------------------------+--------------------------------- Reporter: ionic@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: haspatch | Port: ffmpeg ffmpeg-devel -------------------------+--------------------------------- For 10.6.3 and up, enable VDA HW acceleration support. -- Ticket URL: <https://trac.macports.org/ticket/42863> MacPorts <http://www.macports.org/> Ports system for OS X
#42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS ----------------------------------+---------------------- Reporter: ionic@… | Owner: devans@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: ffmpeg ffmpeg-devel | ----------------------------------+---------------------- Changes (by devans@…): * owner: macports-tickets@… => devans@… * status: new => assigned Comment: testing. -- Ticket URL: <https://trac.macports.org/ticket/42863#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS ----------------------------------+---------------------- Reporter: ionic@… | Owner: devans@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: ffmpeg ffmpeg-devel | ----------------------------------+---------------------- Comment (by ionic@…): If you're feeling advanturous, fetch http://mpv.io/ and configure + build + install it with waf, then run mpv -vo opengl-hq -hwdec vda yourfavoriteH264video.mkv to see VDA in action (and inspect mpv's output to make sure VDA is actually being used: {{{ Trying to use hardware decoding. Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264] Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3] AO: [coreaudio] 48000Hz stereo 2ch float AV: 00:00:00 / 00:41:17 (0%) A-V: 0.000 Cache: 99% VO: [opengl-hq] 1280x720 => 1280x720 vda <<< }}} -- Ticket URL: <https://trac.macports.org/ticket/42863#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS ----------------------------------+---------------------- Reporter: ionic@… | Owner: devans@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: haspatch Port: ffmpeg ffmpeg-devel | ----------------------------------+---------------------- Comment (by devans@…): Replying to [comment:2 ionic@…]:
If you're feeling advanturous, fetch http://mpv.io/ and configure + build + install it with waf, then run {{{ mpv -vo opengl-hq --hwdec=vda yourfavoriteH264video.mkv }}}
to see ffmpeg with VDA in action (and inspect mpv's output to make sure VDA is actually being used:
{{{ Trying to use hardware decoding. Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264] Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3] AO: [coreaudio] 48000Hz stereo 2ch float AV: 00:00:00 / 00:41:17 (0%) A-V: 0.000 Cache: 99% VO: [opengl-hq] 1280x720 => 1280x720 vda <<< }}}
Since you've done this already, it would great if you'd put together a Portfile for mpv and submit it on a separate ticket. I'd be glad to commit it for you. The waf PortGroup makes it pretty simple. -- Ticket URL: <https://trac.macports.org/ticket/42863#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS ----------------------------------+---------------------- Reporter: ionic@… | Owner: devans@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: ffmpeg ffmpeg-devel | ----------------------------------+---------------------- Changes (by devans@…): * status: assigned => closed * resolution: => fixed Comment: ffmpeg with patch committed in r117917. ffmpeg-devel with patch and updated to latest git master committed in r117918. Thanks for the patch. -- Ticket URL: <https://trac.macports.org/ticket/42863#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS ----------------------------------+---------------------- Reporter: ionic@… | Owner: devans@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: haspatch Port: ffmpeg ffmpeg-devel | ----------------------------------+---------------------- Comment (by ionic@…): Please have a look at #40844, I added a new mpv Portfile (and minimal patches) there. Sorry it took me so long. -- Ticket URL: <https://trac.macports.org/ticket/42863#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts