Opened 4 years ago

Closed 4 years ago

#5742 closed defect (fixed)

h264_vaapi encoding with distorted images in result

Reported by: lvml Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: h264_vaapi
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


Summary of the bug:

When encoding high quality 4k video files (from raw camera material) I encounter image corruptions after the first few I-frames in the output.

How to reproduce:

ffmpeg -vaapi_device /dev/dri/renderD128 -i some_4k_video.mp4 -vf 'format=nv12,hwupload' -f matroska -qp 12 -vcodec h264_vaapi output.mkv

Applying the patch from;a=patch;h=8a62d2c28fbacd1ae20c35887a1eecba2be14371 to the current ffmpeg git master fixed the problem for me - please consider something like this for merging.

Change History (2)

comment:1 Changed 4 years ago by lvml

  • Summary changed from h264_vaapi encoding with distorded images in result to h264_vaapi encoding with distorted images in result

comment:2 Changed 4 years ago by jkqxz

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.