[FFmpeg-trac] #10124(undetermined:new): NVENC h.264 reference frames >4 causes error

FFmpeg trac at avcodec.org
Tue Dec 27 09:07:32 EET 2022

#10124: NVENC h.264 reference frames >4 causes error
             Reporter:               |                    Owner:  (none)
  CaptainObvious                     |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  5.1.2        |               Resolution:
             Keywords:  NVENC,       |               Blocked By:
  reference frames, refs             |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
Comment (by Balling):

 Blu-ray supports maximum 4 CABAC ref frames. Offcially that is, some
 geniuses put 5 refs.

 Blu-ray does support slicing though.

 "As I understand it, h.264 spec allows up to 16 reference frames, so this
 shouldn't be an issue."

 Not that simple. In Level 4.1 H.264 allows 9 reference frames for 720p and
 4 reference frames for 1080p. See table
Ticket URL: <https://trac.ffmpeg.org/ticket/10124#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list