Opened 8 years ago

Closed 7 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

Description

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 https://git.libav.org/?p=libav.git;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 by lvml, 8 years ago

Summary: h264_vaapi encoding with distorded images in resulth264_vaapi encoding with distorted images in result

comment:2 by jkqxz, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.