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 16th February 2012, 20:24   #9121  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
GPU usage itself has nothing to do with the video decoding, its probably just a result from the frame copy that CUVID performs.
Personally, given the choice, i would stick with CUVID. Its developed to match NVIDIA cards perfectly, and thus much less error prone - unless you really have a reason to need that less GPU usage for something.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th February 2012, 20:25   #9122  |  Link
noee
Registered User
 
Join Date: Jan 2007
Posts: 530
HD6570 Win7 Ult x64: Blazing, works great.
HD6320 Win7 Home x64 (Llano A6): Blazing, works great.

(using MPC-HC with EVR-CP b.4075)
noee is offline   Reply With Quote
Old 16th February 2012, 20:26   #9123  |  Link
dead_screem
Registered User
 
Join Date: Jan 2005
Posts: 105
would it be possible to support hardware deinterlacing with software decoding either via CUVID or DXVA?
dead_screem is offline   Reply With Quote
Old 16th February 2012, 20:26   #9124  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by dead_screem View Post
would it be possible to support hardware deinterlacing with software decoding either via CUVID or DXVA?
Possible, yes, but its way too slow to be usable (copying the frame to the surface, and then back to system memory). The video processor surfaces copy way slower then the decoding render targets, for some reason. Blame GPU vendors.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th February 2012, 20:32   #9125  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
nev, maybe you already have this on your long term todo list. Is it possible to allow selection of certain decoders for certain media types. (Newer nvidia drivers for example don't like CUVID vc-1 decoding so I'd love to use QuickSync for that and CUVID for everything else). Might obviously require a fair bit of GUI work I guess.
mark0077 is offline   Reply With Quote
Old 16th February 2012, 20:32   #9126  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
yep i really wonder what goes wrong with the madoka bitstream http://www.mediafire.com/?b6ru372z4k3k2sn the only ones that playback that correct with DXVA are Arcsoft currently, and partly mirillis but they have still frame issues
__________________
all my compares are riddles so please try to decipher them yourselves :)

It is about Time

Join the Revolution NOW before it is to Late !

http://forum.doom9.org/showthread.php?t=168004

Last edited by CruNcher; 16th February 2012 at 20:39.
CruNcher is offline   Reply With Quote
Old 16th February 2012, 20:40   #9127  |  Link
dead_screem
Registered User
 
Join Date: Jan 2005
Posts: 105
Quote:
Originally Posted by nevcairiel View Post
Possible, yes, but its way too slow to be usable (copying the frame to the surface, and then back to system memory). The video processor surfaces copy way slower then the decoding render targets, for some reason. Blame GPU vendors.
nuts.

because I coulda swore atleast with DXVA(2 only? idk) that accessing the deinterlacer for software decoding was possible normally and infact done by commercial software already. maybe I'm mistaken...
dead_screem is offline   Reply With Quote
Old 16th February 2012, 20:59   #9128  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
Thanks for the update nev

Did some testing with native DXVA2, in h264(HD) and VC1 all my test's are identical between native and copy back and play perfectly, also the power consumption is identical between the 2 modes on my system. There seems to be some issues with native mode with SD h264 content and WMV3 where all the same tests work with copy back, the video opens but just doesn't start.
__________________
Windows 11 Pro, CPU: Ryzen 9 5900X, GPU: GeForce RTX 3090 /w 512.95, Audio: HDMI to Yamaha RX-A3060 (5.1)
VipZ is offline   Reply With Quote
Old 16th February 2012, 21:04   #9129  |  Link
JarrettH
Registered User
 
Join Date: Aug 2004
Location: Canada
Posts: 860
Quote:
Originally Posted by nevcairiel View Post
There, i finished another round of optimizations in LAV, and benchmarked the QuickSync decoder again - as well as ffdshow for comparison.

Here is the link again:
https://docs.google.com/spreadsheet/...jYwampfamk3ZWc

To summarize:
With 0.27 of the QS decoder, and LAV and ffdshow now using the same settings, the upcoming LAV 0.47 and the latest nightly build of ffdshow perform basically the same, with a very minor loss for ffdshow, but nothing worth noting.

Now i can work on other things again. But first, sleep.

PS:
For anyone wondering when 0.47 will be released, i only want to finish one feature, and then i would start preparing a release, so if everything goes well, the end of the week!
Obviously support for DVDs
JarrettH is offline   Reply With Quote
Old 16th February 2012, 21:18   #9130  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by nevcairiel View Post
Here goes.

http://files.1f0.de/lavf/LAVFilters-...245-dxva2n.zip

Note that this is a beta build, so if you dare to test it, please report how it behaves for you, even if all is just going fine.
If you encounter issues, please always state your GPU and the driver version. Note that NVIDIAs 285 WHQL driver has a bug that breaks DXVA decoding.
Good job Nevcariel.

It's working fine, very fine on the signature system.
It's working for VLD only, so we have all three formats DXVA accelerated:

H.264(Progressive, Interlaced)
VC-1 (Progressive, Interlaced)
WMV3

Performance numbers are on par with MS DS and the quality is very good.

I didn't do an exchastive test but I only found one case I didn't get HW acceleration.

It's the difficult VC-1 1080\60p sample:
Devil_May_Cry_Gameplay

ftp://helpedia.com/pub/multimedia/x2...y_Gameplay.wmv
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 16th February 2012, 21:28   #9131  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by NikosD View Post
I didn't do an exchastive test but I only found one case I didn't get HW acceleration.

It's the difficult VC-1 1080\60p sample:
Devil_May_Cry_Gameplay

ftp://helpedia.com/pub/multimedia/x2...y_Gameplay.wmv
Simply playing that file in MPC-HC gives me HW accel just fine on my NVIDIA.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th February 2012, 21:30   #9132  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
The system tested is the signature's system


UPDATE:
I found out a lot of "similar" VC-1 clips not playing in DXVA on ATI's HW.
Copy-back mode worked fine for those clips.

UPDATE2:
A lot of 720 and 1080 WMV HD clips are not HW accelerated too
Copy-back mode worked fine for those clips.

Looks like a problem with ModeVC1_VLD.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all

Last edited by NikosD; 16th February 2012 at 21:56.
NikosD is offline   Reply With Quote
Old 16th February 2012, 21:32   #9133  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Quote:
Originally Posted by CruNcher View Post
yep i really wonder what goes wrong with the madoka bitstream http://www.mediafire.com/?b6ru372z4k3k2sn the only ones that playback that correct with DXVA are Arcsoft currently, and partly mirillis but they have still frame issues
What exactly is the problem playing that file on ATi's cards in DXVA mode with any decoder (MS DS, LAV, CoreAVC) ?

I didn't see any.
__________________
Win 10 x64 (19042.572) - Core i5-2400 - Radeon RX 470 (20.10.1)
HEVC decoding benchmarks
H.264 DXVA Benchmarks for all
NikosD is offline   Reply With Quote
Old 16th February 2012, 21:40   #9134  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by mark0077 View Post
nev, maybe you already have this on your long term todo list. Is it possible to allow selection of certain decoders for certain media types. (Newer nvidia drivers for example don't like CUVID vc-1 decoding so I'd love to use QuickSync for that and CUVID for everything else). Might obviously require a fair bit of GUI work I guess.
I would suggest to get a newer NVIDIA card which has full VC-1 acceleration, and no problems anymore.

Anyway, i put that request onto my tracker, and maybe i'll do it some time, although i can't even picture how an UI would look. :/
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 16th February 2012, 21:45   #9135  |  Link
mark0077
Registered User
 
Join Date: Apr 2008
Posts: 1,106
thanks v much nev, performance is fantastic in latest builds
mark0077 is offline   Reply With Quote
Old 16th February 2012, 22:29   #9136  |  Link
DragonQ
Registered User
 
Join Date: Mar 2007
Posts: 934
Had an opportunity to test DXVA2 Copyback from LAV 0.46 on my i5-430M (pre-SB) laptop. CPU usage is as follows:

1080p24 AVC @ 9 Mbps: 11-12%
1080p24 AVC @ 24 Mbps: 15-16%
1080p24 VC-1 @ 19 Mbps: 20-22%

I have to use all output modes because if I leave just RGB32 ticked, CPU usage nearly doubles. I guess because there's simply more information to copy.

DXVA2 Copy-Back still doesn't like my 1080i25 AVC HDTV rips at all. Very slow and erratic playback, green areas appearing on the video, MPC-HC crashing, even IGP drivers crashing. These files play perfectly fine on my other machines using 0.46's CUVID and they also play decently on this laptop in software mode (~40% CPU usage, plays at 50 fps mostly but sometimes drops to ~40 fps with dropped frames, which is why I'd love a working hardware acceleration solution!).

Last edited by DragonQ; 16th February 2012 at 22:31.
DragonQ is offline   Reply With Quote
Old 16th February 2012, 22:34   #9137  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Works beautifully with every file I throw at it, even over RDP.
Snowknight26 is offline   Reply With Quote
Old 16th February 2012, 22:55   #9138  |  Link
Volfield
Registered User
 
Join Date: Mar 2010
Posts: 55
Quote:
Originally Posted by nevcairiel View Post
I would suggest to get a newer NVIDIA card which has full VC-1 acceleration, and no problems anymore.

Anyway, i put that request onto my tracker, and maybe i'll do it some time, although i can't even picture how an UI would look. :/
What do you think about this: ?
Volfield is offline   Reply With Quote
Old 17th February 2012, 01:20   #9139  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,783
DXVA2 Native also bad playback H.264 MBAFF and Interlaced on Intel(Intel HD, without support QuickSync)
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215
Aleksoid1978 is offline   Reply With Quote
Old 17th February 2012, 06:21   #9140  |  Link
RBG
Registered User
 
Join Date: Oct 2011
Posts: 108
Quote:
Originally Posted by Volfield View Post
What do you think about this: ?
Looks fine to me. I am glad that I'm not the only one who is interested in separate profiles.
RBG 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 06:54.


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