[FFmpeg-trac] #10668(avcodec:open): cuvid regression creates jerky output

FFmpeg trac at avcodec.org
Wed May 21 02:37:54 EEST 2025


#10668: cuvid regression creates jerky output
------------------------------------+-----------------------------------
             Reporter:  Jason Dove  |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  important   |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  cuvid       |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by Timo R.):

 No, the patches just fixed an odd quirk about frames getting lost during
 EOF handling.

 With that sample it's also broken, but ffmpeg indicates to me that it's
 not even interlaced?
 Using one of my actually interlaced files, I get good results.

 It's odd though that adding more surfaces somehow fixes this, one surface,
 as far as cuvid is concerned, contains both outputs in case of
 deinterlacing, so there shouldn't be any need to increase the surface
 amount when deinterlacing.

 And indeed that file does already decode broken without any deinterlacing
 involved, so its issue is unrelated to deinterlacing.

 The only logical explanation in regards to the issue of that file I have
 is that Nvidias format parser somehow misparses this file, and
 format->min_num_decode_surfaces is too small.
 In which case it'd be an issue for Nvidia to fix.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10668#comment:14>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list