Questions tagged [dxva]

DXVA (DirectX Video Acceleration) is a Microsoft API specification for the Microsoft Windows and Xbox 360 platforms that allows video decoding to be hardware accelerated.

DXVA (DirectX Video Acceleration) is a Microsoft API specification for the Microsoft Windows and Xbox 360 platforms that allows video decoding to be hardware accelerated.

37 questions
21
votes
3 answers

GPU deinterlacing

I have an application that does video processing such as color transforms, scaling and translations using OpenGL. I'm mostly working with BGRA (1xGL_BGRA) or YUVA (4xGL_R) video, i.e. including alpha. Now I would also like to do some high quality…
ronag
  • 49,529
  • 25
  • 126
  • 221
15
votes
3 answers

How do I use Hardware accelerated video/H.264 decoding with directx 11 and windows 7?

I've been researching all day and not gotten very far. I'm on windows 7, using directx 11. (My final output is to be a frame of video onto a DX11 texture) I want to decode some very large H.264 video files, and the CPU (using libav) doesn't cut…
Soylent Graham
  • 847
  • 1
  • 12
  • 22
8
votes
1 answer

DirectShow, Media Foundation, DXVA, what?

I'm tasked with revising an application which uses DirectShow for video rendering. The old application works fine, but it's starting to show age. As I have a gaming background, I figured I should just approach this as such. After having made a bunch…
Lennard Fonteijn
  • 2,561
  • 2
  • 24
  • 39
7
votes
0 answers

C++ DXVA Library "An operation failed because a DDC/CI message had an invalid value in its command field."

I'm trying to create a C++ console application which will automatically adjust my monitor's brightness based on the average brightness of pixels being displayed on my screen. Unfortunately before I've even gotten to the second part I'm having…
Hexcede
  • 131
  • 8
6
votes
2 answers

Implementing a Media Foundation Transform (MFT) with DirectX Video Acceleration (DXVA)

The aim is to implement a custom MFT for video processing and synchronization to an external application. The details of are not important. What I would like to achieve as a first step is to get the MFT up and running using DXVA video processing or…
user1015624
  • 103
  • 1
  • 7
6
votes
0 answers

decoding h264 video using dxva

I am working on a project that needs to decode the h264 video using dxva2.0. I write the code according to the documentation http://msdn.microsoft.com/en-us/library/windows/desktop/aa965245%28v=vs.85%29.aspx. That is to say, I create an interface of…
shengboy
  • 61
  • 1
  • 3
6
votes
1 answer

How do I use the Direct3D Device Manager?

I'd like to share one Direct3D device between multiple threads and objects in my Direct3D application. I came across the Direct3D device manager, which looks like what I want, although I'm not doing any video processing or video…
Christian
  • 61
  • 3
5
votes
2 answers

DirectX 11 Swap Chain with 7 back buffers

I have a propietary media player that runs on Windows 8 in desktop mode. Runtime DirectX version is 11, but native graphics driver support is for DirectX 9. On some computers with the exact same setup, I see that the actual swap chain's back buffers…
rkellerm
  • 5,362
  • 8
  • 58
  • 95
3
votes
0 answers

LibVLC DXVA2 Windows C++ Hardware Acceleration

I want to decode a h264 RTSP stream using DXVA2 Accelerated decoder. In VLC it does work but in my code have the following output: avcodec generic warning: threaded frame decoding is not compatible with DXVA2, disabled avcodec generic debug:…
3
votes
1 answer

Is it possible to share a DXVA surface?

I'm using DXVA video decoder. It works fine, but I want to share the decompressed surfaces with another IDirect3D9 device object. I read this document, and I'm calling IDirectXVideoDecoderService::CreateSurface() method to create surfaces, and I try…
Lev
  • 730
  • 12
  • 32
2
votes
0 answers

Access Denied when Activating Media Foundations HEVC decoder

I'm trying to write a program that uses IMFTransform to decode HEVC video. I was able to create an IMFTransform decoder, call SetInputType with MF_MT_MAJOR_TYPE=MFMediaType_Video and MF_MT_SUBTYPE=MFVideoFormat_HEVC, but I got…
user2690730
  • 253
  • 2
  • 10
2
votes
1 answer

ProcessFrameUsingD3D11() vs ProcessFrameUsingXVP() in DX11VideoRenderer?

I'm attempting to render video using using the Microsoft sample DX11VideoRenderer found at: https://github.com/Microsoft/Windows-classic-samples/tree/master/Samples/DX11VideoRenderer From my extensive research it seems that using DirectX 11 with…
2
votes
1 answer

Wrap a stream of raw H264 NALUs into a container like MP4

I have an application that sends raw h264 NALUs as generated from encoding on the fly using x264 x264_encoder_encode. I am getting them through plain TCP so I am not missing any frames. I need to be able to decode such a stream in the client using…
cloudraven
  • 2,484
  • 1
  • 24
  • 49
1
vote
1 answer

Render an IDirect3DSurface9 from DXVA2?

I got a IDirect3DSurface9 from DXVA2 video decoder using hardware acceleration. I'm try to Render this hardware IDirect3DSurface9 on My Window via its handle. The following is my summary code. The first, I call dxva2_init(AVCodecContext *s, HWND…
TTGroup
  • 3,575
  • 10
  • 47
  • 79
1
vote
1 answer

Is there a faster way to ReadSample from an IMFSample?

I'm setting up a VideoRenderer for my application which uses Direct3D9Ex interfaces but when i use big texture (desktop resolution) the video starts to slow down. I was using DirectShow but i found some problems with H264 and i decided to go for…
1
2 3