intel / libva-utils

Libva-utils is a collection of tests for VA-API (VIdeo Acceleration API)
https://01.org/linuxmedia
Other
195 stars 159 forks source link

HEVC encoder using hevcencode Issues on WHL #143

Open harrywqf opened 5 years ago

harrywqf commented 5 years ago

Using hevcencode on WhiskeyLake(WHL), we got the stream, but it looks blurred when decoding. cmd: ./hevcencode -w 1920 -h 1080 -f 30 --src=test.yuv -o intel.h265 --bitrate=2000000 --rcmode=CBR --fourcc=NV12 --profile=1

XinfengZhang commented 5 years ago

@harrywqf BRC mode of Hevcencode.c is not ready , code is there , but not verified.

You can get the information from the commit message: commit a8a9d73dad32a9a595080f5bf568127d4408d260 (tag: 2.2.1.pre1-20180921) Author: Tianhao Liu tianhao.liu@intel.com Date: Tue Apr 3 10:04:34 2018 +0800

 add HEVC encode sample code

1. support low delay B frame
2. only support 1 frame in each reference list
3. CQP only

we will debug the issue and add BRC support

harrywqf commented 5 years ago

Hi XinfengZhang, When can you solve this issue? Do you have a plan? I need CBR and VBR for test.

XinfengZhang commented 5 years ago

@harrywqf , we are working it, after some clue, will update it. thanks

XinfengZhang commented 5 years ago

@harrywqf it's CNY, I wondering whether we can fix it in time. if possible, you could use https://github.com/intel-media-sdk/MediaSDK & https://github.com/Intel-Media-SDK/samples to check your usagecases? it also call vaapi and iHD driver to do HEVC encode.