• Advertisement
Sign in to follow this  

DXVA-HD Question

This topic is 1150 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi Guys,

 

I am currently working through this over on MSDN to get some video decoding working on the GPU

 

https://msdn.microsoft.com/en-us/library/windows/desktop/ee663581(v=vs.85).aspx

 

So far, so good.

 

But the one thing that I can't find is how to specify the input file.

 

I try to download the sample from here https://msdn.microsoft.com/en-us/library/windows/desktop/dd756740(v=vs.85).aspx but it no longer exists and isn't part of the SDK any more.

 

Does anyone have experience in this area that might be able to help out?

 

Thanks in advance :)

Share this post


Link to post
Share on other sites
Advertisement

But the one thing that I can't find is how to specify the input file.

You don't.
The DXVA interface doesn't deal with file formats like mp4/mkv. You need to open the file yourself, demux it, read the video stream, and send it to the DXVA interface for decoding. Basically you have the engine but not a car or the wheels. You can use the engine to power a boat.

 

If, for example, your project is about replaying live streaming, then you don't need to deal with mp4 files or demuxing. You send the raw stream in your own format via UDP and send it directly for decoding once it arrives on your client PC.

For reference I'd recommend you taking a look at Media Player Homecinema's source code. It is open source and the best video player I've seen for Windows.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement