[FFmpeg-trac] #9771(avcodec:open): Small MAX_SLICES makes d3d11va (AVC) not bitperfect and causes artifacts (but not CUDA/NVDEC)

FFmpeg trac at avcodec.org
Mon Dec 23 00:31:43 EET 2024


#9771: Small MAX_SLICES makes d3d11va (AVC) not bitperfect and causes artifacts
(but not CUDA/NVDEC)
-------------------------------------+-------------------------------------
             Reporter:  Balling      |                    Owner:  (none)
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  d3d11va,     |               Blocked By:
  h264, hwaccel, dxva2               |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------
Comment (by Timo R.):

 I'd be more inclined to just get rid of the limit entirely, given it's not
 based on the reality that the codec has no limit.
 But that's obviously a bigger undertaking.

 For just dxva2_h264 it seems fairly simply though, just convert the two
 fixed size arrays into one one dynamically growing. Maybe with some pretty
 high upper limit, to avoid runaway memory allocations.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9771#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list