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.
I'm playing around with![image](https://github.com/microsoft/DirectX-Graphics-Samples/assets/146349730/d51323b3-80c7-4453-9ae3-95542d22d4f0)
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 inVAEncode
and load the data to theVA_H264DEC_BUFFER_INDEX_COMPRESSED_BIT
buffer inVADecode
, 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.