Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > New and alternative a/v containers

Reply
 
Thread Tools Search this Thread Display Modes
Old 30th August 2017, 02:37   #22141  |  Link
XMonarchY
Guest
 
Posts: n/a
What is the advantage of D3D11 DXVA? Faster rendering for rigs that support it? Does it improve image quality?
  Reply With Quote
Old 30th August 2017, 02:48   #22142  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
There shouldn't be a quality difference in any of the decoding types. It's likely the benefit is resource utilization.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th August 2017, 03:25   #22143  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
DXVA native with nvidia cards can result in quality loss if it is used with madVR for example. D3D11 doesn't have this problem.

on top of it D3D11 supports headless mode which is very useful for PCs that have a iGPU with very good codec support and a dGPU with not that good codec support.
huhn is offline   Reply With Quote
Old 30th August 2017, 03:30   #22144  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Well that's good to know about headless. I see I've been away from these things too long. LOL. D3D11 support seems very good to me in my latest tests with my new 1060. I had no issues with 3D playback which is awesome.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 30th August 2017, 10:13   #22145  |  Link
yukinok25
Registered User
 
Join Date: May 2015
Posts: 17
Quote:
Originally Posted by SamuriHL View Post
Well that's good to know about headless. I see I've been away from these things too long. LOL. D3D11 support seems very good to me in my latest tests with my new 1060. I had no issues with 3D playback which is awesome.
I am sorry if its a stupid question, but I can't understand how can I enable the D3D11 support in LAV Filter, I have only DXVA2 (copy-back) and all the others except D3D11?

What I am doing wrong?
yukinok25 is offline   Reply With Quote
Old 30th August 2017, 10:16   #22146  |  Link
FDisk80
Registered User
 
Join Date: Mar 2005
Location: Israel
Posts: 162
Quote:
Originally Posted by yukinok25 View Post
I am sorry if its a stupid question, but I can't understand how can I enable the D3D11 support in LAV Filter, I have only DXVA2 (copy-back) and all the others except D3D11?

What I am doing wrong?
You install the latest Nightly.
FDisk80 is offline   Reply With Quote
Old 30th August 2017, 10:21   #22147  |  Link
yukinok25
Registered User
 
Join Date: May 2015
Posts: 17
Quote:
Originally Posted by FDisk80 View Post
You install the latest Nightly.
I thought I did! Which is the latest versions, just to make sure?

Thanks for the help by the way.
yukinok25 is offline   Reply With Quote
Old 30th August 2017, 10:23   #22148  |  Link
FDisk80
Registered User
 
Join Date: Mar 2005
Location: Israel
Posts: 162
Quote:
Originally Posted by yukinok25 View Post
I thought I did! Which is the latest versions, just to make sure?

Thanks for the help by the way.
https://files.1f0.de/lavf/nightly/LA...-0.70.2-66.exe
FDisk80 is offline   Reply With Quote
Old 30th August 2017, 10:23   #22149  |  Link
yukinok25
Registered User
 
Join Date: May 2015
Posts: 17
Quote:
Originally Posted by FDisk80 View Post
Thanks!!
yukinok25 is offline   Reply With Quote
Old 30th August 2017, 12:07   #22150  |  Link
fakel
Registered User
 
Join Date: Aug 2017
Posts: 1
D3D11 DXVA it is a miracle, just do not understand how deinterlacing algorithm qualitatively?
fakel is offline   Reply With Quote
Old 30th August 2017, 13:40   #22151  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
with D3D11 native deinterlancing is job of the renderer and madVR doesn't support deinterlancing with d3d11 yet.
d3d11 copyback should work with lavfilter software deinterlancer just select the GPU and you will get copyback.
huhn is offline   Reply With Quote
Old 30th August 2017, 16:53   #22152  |  Link
thomaz909
Registered User
 
Join Date: Jul 2004
Posts: 40
i have a problem with cpu usage.

i use dvbviewer with lavfilters vid dec and ffdshow raw filter for subtitling.
when i playback x265 stuff (720p 10bit), cpu usage is normally around 20%.
but sometimes it goes up to 50%.
then i have to do a graph rebuild and it is @ 20% again.

with x264 i never had such a problem.
thomaz909 is offline   Reply With Quote
Old 31st August 2017, 07:55   #22153  |  Link
LigH
German doom9/Gleitz SuMo
 
LigH's Avatar
 
Join Date: Oct 2001
Location: Germany, rural Altmark
Posts: 6,753
Sounds to me like at some point, an additional filter gets enabled which was not active before, or the rendering process was forced to switch to a compatibility technology from this moment on. Just guessing though...
__________________

New German Gleitz board
MediaFire: x264 | x265 | VPx | AOM | Xvid
LigH is offline   Reply With Quote
Old 31st August 2017, 10:58   #22154  |  Link
thomaz909
Registered User
 
Join Date: Jul 2004
Posts: 40
i saw that "embedded subtitles" were enabled in ffdshow.
i think this was the reason.
now its disabled and will see if it happens again in the next days.
thomaz909 is offline   Reply With Quote
Old 1st September 2017, 13:19   #22155  |  Link
mastan
Registered User
 
Join Date: Feb 2012
Location: Moscow, Russia
Posts: 24
Quote:
Originally Posted by XMonarchY View Post
What is the advantage of D3D11 DXVA? Faster rendering for rigs that support it? Does it improve image quality?
From madVR 0.92 changes list https://forum.doom9.org/showthread.p...91#post1815291

Quote:
2) native D3D11 DXVA hardware decoding:

This is a new feature nevcairiel (thanks!) and I have been working on. Basically it "replaces" the old native D3D9 DXVA hardware decoding with a new D3D11 solution. (Well, D3D9 DXVA is still available.)

- image quality is now always identical to software decoding (unlike D3D9 DXVA)
- now AMD 10bit HEVC hardware decoding works, too
- might be ever so slightly faster (with potential for future improvements)
- self-made decoder<->renderer interface should be more stable
- probably requires Windows 8.1 or Windows 10
- I've not implemented DXVA scaling yet
- I've not implemented DXVA deinterlacing yet

Software decoding still has a small advantage, though: The madVR features "forced film mode" and "zoom control" currently only work with software decoding (or copyback).
Quote:

5) support for AMD's private HDR switching API


AMD's private HDR switching API seems to work well, but it's more limited compared to Nvidia's API. AMD's API only works if there's active fullscreen D3D11 video playback (or gaming), which also has to be 10bit! Otherwise, the AMD API will do nothing. Consequently, madVR will switch to passthrough only in the moment when you go fullscreen, and only if you configured madVR to use 10bit D3D11.

Nvidia's API also works in windowed mode, and also with 8bit D3D11, even with D3D9.
mastan is offline   Reply With Quote
Old 1st September 2017, 16:15   #22156  |  Link
takenori
Registered User
 
Join Date: Nov 2010
Posts: 48
Quote:
Originally Posted by mastan View Post
what about software deinterlacer?
i tried d3d11+software deinterlacer, and videos that plays60fps now plays at 30fps.
with dxva cb+software deinterlacer and cuvid, it plays 60fps
takenori is offline   Reply With Quote
Old 1st September 2017, 16:34   #22157  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
You can't use software deinterlacing if you use D3D11 native mode. If you use d3d11 copy-back (by selecting a specific decode device), it should behave just like dxva2 cb.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 1st September 2017, 16:44   #22158  |  Link
takenori
Registered User
 
Join Date: Nov 2010
Posts: 48
ah, . i miss them. didnt know theres that option.
cheers.

edit: weird, after choosing hardware device, i play video and there they are, playing at 60fps, then screens blinking a couple of times and d3d11 revert back to automatic and fps turns back to 30fps.
edit2: it seems even without playing video, for instance, closing mpc-hc after applying the chance, revert them back to automatic

Last edited by takenori; 1st September 2017 at 16:54.
takenori is offline   Reply With Quote
Old 2nd September 2017, 01:32   #22159  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,642
Playback is b0rked for this file if playback is started from a position other than the beginning. For example through a favorite in MPC-HC or when using remember position.
clsid is offline   Reply With Quote
Old 2nd September 2017, 05:12   #22160  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 5,565
It's because of the bugs in x264 4:4:4 (incl. lossless profile). LAV has a compatibility mode for them but it needs to read the x264 custom SEI so it knows a) the file was encoded with x264 and b) which version was used. The SEI is usually only prepended to the first GOP and not in CodecPrivate so that's just how it is with those files. (Same if you split them.)

https://git.videolan.org/?p=x264.git...2bba3de4ba2d1a
https://git.videolan.org/?p=x264.git...22689220c767b5
https://forum.doom9.org/showthread.p...93#post1809393

Last edited by sneaker_ger; 2nd September 2017 at 05:14.
sneaker_ger is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 15:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.