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
1
vote
1 answer

How to use ffdshow with WPF-Mediakit

By default LAV Decoder, but I'd like to use ffdshow with hardware acceleration for decoding. I saw these lines in the file ClassId.cs public static readonly Guid FFDShowVideo = new Guid("04FE9017-F873-410e-871E-AB91661A4EF7"); public static…
Rust
  • 13
  • 2
1
vote
0 answers

Modify a IDirect3DSurface9* with shader

I got a IDirect3DSurface9 * from a DXVA2 video decoder. I'd like to modify that surface with a shader. I' m able to render the video frames without shader by "drawing" the surface in the back buffer. I use the following code to render the frames…
Gabriele
  • 11
  • 2
1
vote
0 answers

Best way to render multiple videos on WPF

I am a newbie on this all stuff related with DirectX, render video, render images and so on.. So I need your help: I have a WPF application. This application needs to render a lot of videos (at least 10 videos in parallel) and this videos must be…
ASantos
  • 125
  • 1
  • 8
1
vote
1 answer

How to employ DXVA2 with ffmpeg to decode and get frame

I have searched for a simple example about how to decode H264 stream with hardware acceleration using ffmpeg in Windows but I could not find any. I know that I should employ dxva2 with ffmpeg to have hardware acceleration. I can decode H264 with…
bellekci
  • 53
  • 1
  • 9
1
vote
0 answers

IDirectXVideoDecoder performance

I am trying to understand some of the nuances of IDirectXVideoDecoder. CAVEAT: The conclusions stated below are not based on the DirectX docs or any other official source, but are my own observations and understandings. That said... In normal use,…
David Wohlferd
  • 7,110
  • 2
  • 29
  • 56
1
vote
1 answer

FFMPEG and DXVA2

I've made a player for IP camera (fullHD H264) with FFMPEG I code under windows with Qt.I need the lowest latency as possible and the best result I can get is done whith : I got the packet with live555, decode with ffmpeg display it with SDL.…
Bobnono
  • 51
  • 2
  • 9
1
vote
1 answer

Using DX11 and DXVA2

I am trying to test decoding a h264/h265 video (with just a single iframe) using DX11 and DXVA2. This is on windows 7 so I probably have to interop between 2 d3d11 devices, one with 11.1 feature set and the other with 9.3. My question is since there…
user1181950
  • 779
  • 1
  • 9
  • 21
1
vote
1 answer

Decoding H264 stream with ID3D11VideoDecoder

I'm trying to decode (and render) H264 raw stream with DirectX11 and interface https://msdn.microsoft.com/en-us/library/windows/desktop/hh447766%28v=vs.85%29.aspx . Unfortunately I got stuck at sumbitting DXVA PictureParameters buffer: namely…
xcoder37
  • 499
  • 6
  • 21
1
vote
2 answers

How to tell if a DXVA decoder has fallen back to software decoding

From https://msdn.microsoft.com/en-us/library/windows/desktop/dd797815%28v=vs.85%29.aspx In the constraints, you read that "The maximum guaranteed resolution for DXVA acceleration is 1920 × 1088 pixels; at higher resolutions, decoding is done with…
jyavenard
  • 2,142
  • 1
  • 26
  • 35
1
vote
0 answers

Is it possible to use directx video acceleration on windows phone 8?

I followed the instruction of DXVA on MSDN to try on windows phone 8, but I cannot build my code since there is no Dxva2.lib in the WP8 SDK foloder. Without the lib I can do nothing of DXVA, so I want to know if WP8 support DXVA development or it's…
1
vote
0 answers

Playing H.264 video in an application through ffmpeg using DXVA2 acceleration

I am trying to output H.264 video in a Windows application. I am moderately familiar with FFMPEG and I have been successful at getting it to play H.264 in a SDL window without a problem. Still, I would really benefit from using Hardware…
cloudraven
  • 2,484
  • 1
  • 24
  • 49
0
votes
0 answers

Failed to decode h264 key frame with DXVA2.0 because returned buffer is to small

I hava a strange problem on Windows with DXVA2 h264 decoding. I recently figured out a ffmpeg decoding limitation for DXVA2 and D3D11VA on Windows and how to solve it, this solution completly fixes the problem with D3D11VA but DXVA2 still has some…
grill2010
  • 574
  • 6
  • 23
0
votes
1 answer

FFmpeg invalid data found when processing input with D3D11VA and DXVA2 hw acceleration

I'm currently porting my Android streaming app to Windows and for decoding the h264 video stream I use FFmpeg with possible hardware acceleration. Last two weeks I was reading a lot of documentation and studied a lot of examples on the internet. For…
grill2010
  • 574
  • 6
  • 23
0
votes
1 answer

How to render to a DirectX11 texture from H.264 NV12 IMFSample output?

Are there any good examples that show how to render the IMFSample output from the H.264 decoder? My scenario uses a 4K resolution H.264 stream and the PC that I am targeting will only accept 1080p using the DXGI buffers. But the H.264 decoder will…
0
votes
1 answer

which h264 profile supported by dxva2 hardaware decoder

I have code which decode live h264 camera stream and dispay. I have use ffmpeg dxvae decoder. Problems : avcodec_send_packet return negative error code. What I have Tried : I have dump stream packet and save in h264 file. then ffmpeg.exe …
Chintan Patel
  • 173
  • 3
  • 14