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

FFmpeg trac at avcodec.org
Fri Oct 2 16:18:21 EEST 2020


#8916: Incorrect field order indication when encoding interlace top field first
using h264_nvenc
-------------------------------------+-------------------------------------
             Reporter:  Ptaah        |                     Type:  defect
               Status:  new          |                 Priority:  important
            Component:  avcodec      |                  Version:  git-
             Keywords:  avcodec      |  master
  nvenc field tff bff                |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 When encoding top field first interlaced video (or making one using
 tinterlace filter), the resulting h264 bitstream is marked as bottom field
 first. This behaviour was not present prior version 4.0.
 How to reproduce:
 {{{
 % ffmpeg -i interlaced.mp4 -codec:v h264_nvenc -flags +ildct+ilme -an
 output.mp4
 % ffprobe -i output.mp4 -show_entries
 "frame=interlaced_frame,top_field_first" -pretty

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

 }}}

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


More information about the FFmpeg-trac mailing list