microsoft / DirectX-Graphics-Samples

This repo contains the DirectX Graphics samples that demonstrate how to build graphics intensive applications on Windows.
MIT License
5.88k stars 2k forks source link

VADecoder cannot preperly decode VAEncoder output #852

Open danylosadivnychyi opened 5 months ago

danylosadivnychyi commented 5 months ago

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. image

GameDreamByHuo commented 5 months ago

这是来自QQ邮箱的假期自动回复邮件。 你好,我最近正在休假中,无法亲自回复你的邮件。我将在假期结束后,尽快给你回复。