[FFmpeg-trac] #7797(undetermined:new): AVC->MPEG-2 transcoding with VA-API 2-3x slower than with QSV

FFmpeg trac at avcodec.org
Mon Oct 21 18:41:24 EEST 2019


#7797: AVC->MPEG-2 transcoding with VA-API 2-3x slower than with QSV
-------------------------------------+-------------------------------------
             Reporter:  eero-t       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by eero-t):

 There's been a clear improvement to AVC -> MPEG2 performance this last
 week, between...

 These versions:
 * ffmpeg  (dd019473) 2019-10-15 avformat/latmenc: abort if no extradata is
 available
 * media-driver (e370de92) 2019-10-15 [VP] Add HDR flag support in vphal
 render.

 And these:
 * ffmpeg (e831f601) 2019-10-16 fate/source: add libavfilter/af_arnndn.c
 * media-driver (6e7275cf) 2019-10-16 encode_mpeg2: use 16kb as the buf
 unit for mpeg2 vbvBuf

 Especially in multi-process VA-API encoding, where it's now about same
 perf as MSDK and FFmpeg QSV.

 (Single process encoding is still behind a bit, I guess that's mostly due
 threading differences between QSV & VA-API backends and resulting kernel
 power management handling.)

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7797#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list