[Bug]: Artifacts present in hevcencode output with B-frames
- Dominant language
- C
- Stars
- 1.2k
- Forks
- 383
- Avg merge
- 8d 18h
- Merged PRs (30d)
- 4
Description
### Which component impacted?
_No response_
### Is it regression? Good in old configuration?
None
### What happened?
### Which component impacted?
_No response_
### Is it regression? Good in old configuration?
None
### What happened?
1. In Linux or Browser or Applications...
**Hardware:** 13th Gen Intel(R) Core(TM) i7-1355U
[cpuinfo.txt](https://github.com/user-attachments/files/23936709/cpuinfo.txt)
**OS:** 24.04.1 LTS (Noble Numbat)
**Application:** [hevcencode](https://github.com/intel/libva-utils/blame/master/encode/hevcencode.c) from libva-utils @ b4abf4e2 and GStreamer 1.24.2
2. With libva/libva-utils/gmmlib/media-driver version
**libva-utils version:** b4abf4e2 (master)
**libva version**: 2.23.0.pre1
**gmmlib version:** 3a256e6762eedd971a56f67804d8a57eb4239c6e (master)
**media-driver version:** intel-media-25.4.5
3. Run hevcencode
```
ffmpeg -y -f lavfi -i testsrc=size=1920x1080:rate=30 -t 10 -pix_fmt nv12 output_nv12.yuv
./encode/hevcencode --srcyuv output_nv12.yuv -w 1920 -h 1080 --fourcc NV12 -n 300 --ip_period 3 --intra_period 10 -o output.h265
```
After playing it back with `ffplay`, artifacts are displayed (and a similar behaviour happens with gstreamer):
File output attached:
[output.zip](https://github.com/user-attachments/files/24588198/output.zip)
### What's the usage scenario when you are seeing the problem?
Playback, Transcode for media delivery
### What impacted?
_No response_
### Debug Information
_No response_
### Do you want to contribute a patch to fix the issue?
None
Contributor guide
Assessment
This issue has not been assessed yet.