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. |
12th January 2012, 17:40 | #8083 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
I remembered something which i did for the CUVID decoder waaaay back.
I just store the surface in a queue, and only if the queue is full, i start processing them, one at a time. This gives the GPU time to finish rendering to the surface before i access it. A queue of 2 frames makes all the difference, just a tiny bit of delay to give the GPU some breathing room. Speed is now 99% that of CUVID.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 12th January 2012 at 17:44. |
12th January 2012, 17:46 | #8084 | Link | |
Registered User
Join Date: May 2004
Posts: 5,351
|
Quote:
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED |
|
12th January 2012, 17:50 | #8085 | Link | |
Registered Developer
Join Date: Sep 2006
Posts: 9,140
|
Quote:
|
|
12th January 2012, 17:51 | #8086 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
I have no ATI card, but when i post a first real test version, i'm sure people will be glad to benchmark it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
12th January 2012, 18:09 | #8091 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
@ nev
ehh how does it compare with the IMSDK layer (Quicksync Decoder overhead) ? do you think it's not really needed anymore if this runs generically fine on every GPU or do you meant you currently reach the same performance as CUVID in speed (on your Nvidia VPx) which would be still less then with Intels MSDK DXVA2 implementation ?
__________________
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; 12th January 2012 at 18:22. |
12th January 2012, 18:25 | #8092 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
Intel has some issues with the "generic" DXVA2, i would have to figure out what settings exactly it needs to run properly - so instead just use the MSDK?
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
12th January 2012, 18:36 | #8094 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
Ok, here is a more polished version without debugging.
http://files.1f0.de/lavf/LAVFilters-...2-perftest.zip It would be great if some people could benchmark this using following clip: http://xhmikosr.1f0.de/samples/2160p...x264.CRF23.mkv I would recommend to benchmark with GraphStudio, mostly because its so easy. It would also be great if you could mention which kind of CPU you're running, so i know which kind of memory copy is being used. As a reference, my NVIDIA with a VP4 decoder does around 73fps, both in DXVA2 and CUVID. Disclaimer: - This version is generally not all that much tested, and might blow up (and possibly take your PC with it) - DXVA2 is a Vista/7 tech, don't expect it to work on XP - Fallback to software decoding is still unfinished, and will most likely crash. - Seeking in VC-1 still is somewhat rough, H264 seems to work better, however. - VC-1 interlaced decoding is not yet implemented (if i can pull it off to finish it)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 12th January 2012 at 18:50. |
12th January 2012, 18:48 | #8095 | Link |
Registered User
Join Date: Nov 2008
Posts: 454
|
Radeon HD 6750: (it stutter a little)
__________________
Working machine: Win10x64 + Intel Skull Canyon My HTPC. How to start with Bitcoin |
12th January 2012, 19:00 | #8098 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,342
|
I would guess thats GraphStudio Next (http://code.google.com/p/graph-studio-next/)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
12th January 2012, 19:00 | #8099 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 4,926
|
Yup it stresses User as well as Kernel time a little more and thus isn't as efficient as the Quicksync Implementation on Intel Hardware but not that bad @ all for 1080p 60 fps the difference was 2%/4%/12%/17%/25% (includes render overhead) for Cyberlink and Arcsoft DXVA/CoreAVC DXVA/Intel(Egur/Nev) DXVA2/Generic DXVA2(Nev)/Libav(Nev) @ playback (not raw benchmark performance)
__________________
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; 12th January 2012 at 19:18. |
Tags |
decoders, directshow, filters, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|