[FFmpeg-trac] #8916(avcodec:new): Incorrect field order indication when encoding interlace top field first using h264_nvenc

FFmpeg trac at avcodec.org
Wed Jan 13 10:50:00 EET 2021


#8916: Incorrect field order indication when encoding interlace top field first
using h264_nvenc
-------------------------------------+-------------------------------------
             Reporter:  Ptaah        |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  important    |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  nvenc        |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mablip):

 Strange thing is if you add a B frame with -bf 1 you will have a correct
 flag.

 % ffmpeg -i interlaced.mp4 -codec:v h264_nvenc -flags +ildct+ilme -bf 1-an
 output.mp4
 % ffprobe -i output.mp4 -show_entries
 "frame=interlaced_frame,top_field_first" -pretty

 gives you:

 [FRAME]
 interlaced_frame=1
 top_field_first=1
 [/FRAME]

 Tested with latest nighlty build and nvidia drivers.

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


More information about the FFmpeg-trac mailing list