[FFmpeg-trac] #8857(undetermined:new): ffmpeg h264_qsv force_key_frames incorret

FFmpeg trac at avcodec.org
Tue Aug 25 11:30:31 EEST 2020


#8857: ffmpeg h264_qsv force_key_frames  incorret
-------------------------------------+-------------------------------------
             Reporter:  mikejson     |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:
                                     |  undetermined
              Version:  git-master   |               Resolution:
             Keywords:  h264_qsv     |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------

Comment (by mikejson):

 $ ./ffmpeg.exe -c:v mjpeg_qsv -rtbufsize 2000M -s 2560*1440 -f dshow -i
 video="Smart Camera" -vcodec h264_qsv -b:v 6000k -r 30 -preset veryfast
 -tune:v zerolatency -force_key_frames expr:gte\(t,n_forced*5\) -g 30*10
 iii.h264
 ffmpeg version 4.3.1 Copyright (c) 2000-2020 the FFmpeg developers
   built with gcc 10.2.1 (GCC) 20200726
   configuration: --disable-static --enable-shared --enable-gpl --enable-
 version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv
 --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype
 --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy
 --enable-libsoxr --enable-libsrt --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-libvmaf --enable-libvorbis
 --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-
 libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-
 libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-
 d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
 --enable-libopenmpt --enable-amf
   libavutil      56. 51.100 / 56. 51.100
   libavcodec     58. 91.100 / 58. 91.100
   libavformat    58. 45.100 / 58. 45.100
   libavdevice    58. 10.100 / 58. 10.100
   libavfilter     7. 85.100 /  7. 85.100
   libswscale      5.  7.100 /  5.  7.100
   libswresample   3.  7.100 /  3.  7.100
   libpostproc    55.  7.100 / 55.  7.100
 [mjpeg @ 00a44500] EOI missing, emulating
 Input #0, dshow, from 'video=Smart Camera':
   Duration: N/A, start: 22972.029000, bitrate: N/A
     Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj420p(pc,
 bt470bg/unknown/unknown), 2560x1440 [SAR 96:96 DAR 16:9], 30 fps, 30 tbr,
 10000k tbn, 10000k tbc
 Codec AVOption tune (The metric that the encoder tunes for. Automatically
 chosen by the encoder by default) specified for output file #0 (iii.h264)
 has not been used for any stream. The most likely reason is either wrong
 type (e.g. a video option with no video streams) or that it is a private
 option of some encoder which was not actually used for any stream.
 Stream mapping:
   Stream #0:0 -> #0:0 (mjpeg (mjpeg_qsv) -> h264 (h264_qsv))
 Press [q] to stop, [?] for help
 Output #0, h264, to 'iii.h264':
   Metadata:
     encoder         : Lavf58.45.100
     Stream #0:0: Video: h264 (h264_qsv), nv12, 2560x1440 [SAR 96:96 DAR
 16:9], q=-1--1, 6000 kb/s, 30 fps, 30 tbn, 30 tbc
     Metadata:
       encoder         : Lavc58.91.100 h264_qsv
     Side data:
       cpb: bitrate max/min/avg: 0/0/6000000 buffer size: 0 vbv_delay: N/A
 frame= 1060 fps= 30 q=51.0 size=   26112kB time=00:00:35.03
 bitrate=6105.9kbits/s dup=22 drop=0 speed=0.99x

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


More information about the FFmpeg-trac mailing list