hevcencode:broken output stream
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c, linux, ubuntu
- Domain
- audio-video-rtc, cli
Research direction
Start with the hevcencode entry point and reproduce the two supplied commands on the stated HEVC environment, checking whether the output stream is decodable for the use_features, use_block_sizes, p2b, and intra-period cases. Compare the behavior with the media-sdk encode sample mentioned in the report; done means the affected streams decode correctly across these configurations.
Written by the indexing model from the issue text.
Description
Issue:
- If enabling use_features and use_block_sizes, the whole output stream will be undecodable.
- If disabling use_features and use_block_sizes, it will be following situations:
①When p2b=0, if setting intra period size larger than 32, then all the pictures that its POC are larger than 31 are broken.
②When p2b=1, if setting intra period size more than 128, then the last picture of every gop is broken. - It seems that it’s caused by the hevcencode sample itself, since when using the encode sample in media-sdk it doesn’t show this
problem.
Test commandline:
sudo ./hevcencode -w 1920 -h 1080 -n 0 -f 30 --intra_period 150 --idr_period 150 --rcmode VBR --bitrate 4000 --syncmode --srcyuv nv12_yuv_file --fourcc NV12 --profile 1 --p2b 0 --lowpower 1 -o ./output_stream
sudo ./hevcencode -w 1920 -h 1080 -n 0 -f 30 --intra_period 150 --idr_period 150 --rcmode VBR --bitrate 4000 --syncmode --srcyuv nv12_yuv_file --fourcc NV12 --profile 1 --p2b 1 --lowpower 1 -o ./output_stream
Environment:
Hardware:intel ARC A380
OS: Ubuntu 22.04.3 LTS with 6.2.0-32-generic kernel
Media Driver version: Intel iHD driver for Intel(R) Gen Graphics - 23.2.4
VA-API version: 1.19 (libva 2.19.0)
Libva-utils version: 2.19.0
Display:drm
- Dominant language
- C
- Stars
- 244
- Forks
- 175
- Avg merge
- 9d 7h
- Merged PRs (30d)
- 1
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from intel/libva-utils
-
av1encode: reference_frames[2..7] left as surface 0 (memset only covers 8 bytes)Possibly taken @0z5a claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
intel/libva-utils#390 ·
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
intel/libva-utils#387 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
intel/libva-utils#378 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
intel/libva-utils#376 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
intel/libva-utils#374 ·
All issues in intel/libva-utils
Similar issues
-
ecs_ptr_from_json does not free the buffer of a string longer than 256 bytes on two error pathsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SanderMertens/flecs#2444 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Cisco-Talos/clamav#1941 ·
Maintainers usually reply within 2 days
-
Status: Opened
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
espressif/esp-eth-drivers#201 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 74/100
libsdl-org/SDL#16788 ·
Maintainers usually reply within 1 day