[FFmpeg-trac] #7502(ffmpeg:new): VAAPI encoding on Coffee Lake skipping/missing frames

FFmpeg trac at avcodec.org
Fri Oct 19 13:18:04 EEST 2018


#7502: VAAPI encoding on Coffee Lake skipping/missing frames
-------------------------------------+-------------------------------------
             Reporter:  dseeker      |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  ffmpeg       |                  Version:
             Keywords:  h264 vaapi   |  unspecified
  linux coffeelake intel quicksync   |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 Using h264_vaapi encoder on an Ubuntu 16.04 with Intel i9-8700 on .mov
 input outputs video stream with only keyframes. The result is a video with
 still frames changing every 3-5 seconds.

 The same encoder (h264_vaapi) works normally on other h264 input.
 Using -intra with h264_vaapi outputs all frames correctly.
 Switching from h264_vaapi to hevc_vaapi encodes properly with all frames.


 ffmpeg version 4.02 built on docker container (vaapi) from
 https://hub.docker.com/r/jrottenberg/ffmpeg/
 problem also occurs on the 3.x container

 How to reproduce:
 {{{
 % ffmpeg -stats -report -vaapi_device /dev/dri/renderD128
 -hwaccel_output_format vaapi -hwaccel vaapi -t 30 -i input.mov -an
 -filter_complex "format=nv12|vaapi,hwupload" -c:v h264_vaapi -qp 28 -bf 0
 -compression_level 0 -quality 0 output.mp4 -y
 }}}

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


More information about the FFmpeg-trac mailing list