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

FFmpeg trac at avcodec.org
Mon Oct 5 12:26:26 EEST 2020


#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 Ptaah):

 I don't know, which commit introduced it, I would've tested it more
 thoroughly, but Zeranoe is apparently out of business and I don't have
 many ffmpeg windows build. What I can say is, it worked correctly with
 ffmpeg 3.3.2 and it doesn't work with ffmpeg 4.1.1 all the way up to
 current build.

 {{{
 .\ffmpeg.exe -i interlaced.mp4 -codec:v h264_nvenc -flags +ildct+ilme -an
 output.mp4
 ffmpeg version 4.1.1 Copyright (c) 2000-2019 the FFmpeg developers
   built with gcc 8.2.1 (GCC) 20190212
   configuration: --disable-static --enable-shared --enable-gpl --enable-
 version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv
 --enable-libass --enable-libbluray --enable-libfreetype --enable-
 libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
 --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp
 --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-
 libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-
 libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va
 --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
   libavutil      56. 22.100 / 56. 22.100
   libavcodec     58. 35.100 / 58. 35.100
   libavformat    58. 20.100 / 58. 20.100
   libavdevice    58.  5.100 / 58.  5.100
   libavfilter     7. 40.101 /  7. 40.101
   libswscale      5.  3.100 /  5.  3.100
   libswresample   3.  3.100 /  3.  3.100
   libpostproc    55.  3.100 / 55.  3.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'interlaced.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf57.73.100
   Duration: 00:00:20.00, start: 0.000000, bitrate: 1857 kb/s
     Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
 1920x1080 [SAR 1:1 DAR 16:9], 1856 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc
 (default)
     Metadata:
       handler_name    : VideoHandler
 Stream mapping:
   Stream #0:0 -> #0:0 (h264 (native) -> h264 (h264_nvenc))
 Press [q] to stop, [?] for help
 Output #0, mp4, to 'output.mp4':
   Metadata:
     major_brand     : isom
     minor_version   : 512
     compatible_brands: isomiso2avc1mp41
     encoder         : Lavf58.20.100
     Stream #0:0(und): Video: h264 (h264_nvenc) (Main) (avc1 / 0x31637661),
 yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 2000 kb/s, 25 fps, 12800
 tbn, 25 tbc (default)
     Metadata:
       handler_name    : VideoHandler
       encoder         : Lavc58.35.100 h264_nvenc
     Side data:
       cpb: bitrate max/min/avg: 0/0/2000000 buffer size: 4000000
 vbv_delay: -1
 frame=  500 fps=354 q=35.0 Lsize=    4532kB time=00:00:19.96
 bitrate=1860.2kbits/s speed=14.1x
 video:4530kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.062222%
 }}}

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


More information about the FFmpeg-trac mailing list