Hi there, I am looking for any guidance to figure out how to take an H264 encoded frame and utilize DXVA2 somehow to get a IDirect3DSurface9.
The goal is pretty simple: decode an h264 frame and show it on a Windows machine screen. To be specific, I am looking to utilize whatever hw accel decoder may exist on the machine whether that's an NVIDIA GPU or a Intel's QuickSync hardware to decode. I've already read the HWAccelIntro. My best guess is the steps are: 1. Use avcodec_find_decoder() (H264 -> IDirect3DSurface9) 2. avcodec_send_packet() 3. avcodec_receive_frame() 4. Some how the frame is an IDirect3DSurface9 texture I can use without hitting the host memory. If there are docs/guides/stackoverflow posts you're aware of, I'd appreciate it. At the moment, I am looking at these APIs: https://ffmpeg.org/doxygen/4.1/group__lavc__decoding.html#ga58bc4bf1e0ac59e27362597e467efff3 Suhail -- Founder
_______________________________________________ Libav-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
