[MacPorts] #42863: Enable VDA (Video Decode Acceleration) in ffmpeg + ffmpeg-devel if supported by OS

MacPorts noreply at macports.org
Mon Mar 17 00:24:36 PDT 2014


#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


More information about the macports-tickets mailing list