[FFmpeg-trac] #7706(avcodec:open): 20-30% perf drop in FFmpeg (H264) transcode performance with VAAPI

FFmpeg trac at avcodec.org
Fri Nov 8 14:48:47 EET 2019


#7706: 20-30% perf drop in FFmpeg (H264) transcode performance with VAAPI
-------------------------------------+-------------------------------------
             Reporter:  eero-t       |                    Owner:
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  vaapi        |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by fulinjie):

 Thanks for verifying this patch.
 There is still room for performance improvement.

 So based on the test results, does this regression affect single process
 only?
 If that's true,one possible reason is that multiple process encoding makes
 full use of the resource (hardware/encoder maybe), while single process
 seems to keep the encoding procedure idle or waiting for sometime.

 And it's kind of weird that it benefits HEVC little since the modification
 is in the general vaapi encode code path.

 And since the test covers the whole transcoding procedure, how about the
 performance of decode/encode separately?

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


More information about the FFmpeg-trac mailing list