[FFmpeg-trac] #11514(avcodec:new): Cuvid decoder problem with deinterlacing

FFmpeg trac at avcodec.org
Mon May 19 16:53:21 EEST 2025


#11514: Cuvid decoder problem with deinterlacing
------------------------------------+-----------------------------------
             Reporter:  ua0lnj      |                    Owner:  (none)
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  cuvid       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by GqU):

 The problems is also present in normal h264_cuvid decoding with -deint 2 .
 ffmpeg -c:v h264_cuvid -deint 2 -i input.mkv output.mkv
 adding "*2" fixed the problem.

 return ((av_fifo_can_read(ctx->frame_queue) + shift) >> shift)*2 +
 ctx->cuparseinfo.ulMaxDisplayDelay >= ctx->nb_surfaces;
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11514#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list