VADecoder cannot preperly decode VAEncoder output
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- cpp
- Domain
- computer-graphics
Research direction
Start with the D3D12HelloVAEncode and VADecode samples, then compare how VAEncode writes the bitstream with how VADecode loads VA_H264DEC_BUFFER_INDEX_COMPRESSED_BIT. Check Main.cpp, including the changed window resolution, and reproduce both the unreadable .h264 output and the gibberish decoder display. Done means the encoded output is readable by VLC and decodes correctly in VADecode.
Written by the indexing model from the issue text.
Description
I'm playing around with D3D12HelloVAEncode/VADecode. Both seem to be working without crashes, but whenever I write the encoded bitstream to .h264 file, the VLC reader cannot seem to read it.
Also if I read this bitstream in VAEncode and load the data to the VA_H264DEC_BUFFER_INDEX_COMPRESSED_BIT buffer in VADecode, it just shows me some gibberish on the screen (I changed the window resolution resolution in Main.cpp).
@sivileri attached the image decoder produces on the screen for me.
- Dominant language
- C++
- Stars
- 6.8k
- Forks
- 2.2k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 microsoft/DirectX-Graphics-Samples
-
miniengine
Difficulty 1/5 Under an hour Newbie friendliness 68/100
-
bug samples
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
All issues in microsoft/DirectX-Graphics-Samples
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
bug-unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 76/100