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 8th December 2015, 11:32   #20001  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
It could also be very helpful if someone with an Nvidia or AMD card with hybrid, not pure, HW HEVC decoder could test this clip to compare MS MFT vs LAV in order to check out if it's Intel specific problem or hybrid specifically.
__________________
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 8th December 2015, 11:53   #20002  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
I'm happy to test with my HD7870 and also with the AMD R9 Fury I've ordered which should arrive tomorrow.

I don't know exactly how the HD7870 deals with HEVC, ie if it's CPU only or hybrid (I'm using Crimson 15.1.1), but I too have noticed that MPC-BE_LAV+MadVR (or EVR-CP) struggle more with HEVC files than PowerDVD15. I expect the Fury to use hybrid for 10bits HEVC.

I've noticed that frames tend to drop more at every shot transition, or when a long shot has a slow pan (so a lot of info that changes in each picture).

For example, if you look at the Exodus HEVC HDR 10bits trailer, PDVD 15 plays it almost perfectly, while MPC-BE+LAV struggles at each shot transition and towards the end of the shot with the temple at night, which is a long pan shot. I've set the GPU and CPU to the max (22) in MadVR, it helps but it doesn't get rid of all the stutter.
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K

Last edited by Manni; 8th December 2015 at 16:39.
Manni is offline   Reply With Quote
Old 8th December 2015, 12:18   #20003  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
I don't think the HD7870 supports any kind of HEVC acceleration from the driver side, unless thats a relatively new feature.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 8th December 2015, 14:28   #20004  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quote:
Originally Posted by nevcairiel View Post
I don't think the HD7870 supports any kind of HEVC acceleration from the driver side, unless thats a relatively new feature.
Thanks, that's what I thought. Then is it useful if I test with the upcoming AMD R9 Fury which definitely has hybrid acceleration for HEVC?
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K

Last edited by Manni; 8th December 2015 at 16:39.
Manni is offline   Reply With Quote
Old 8th December 2015, 15:03   #20005  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
I've just pushed VP9 DXVA2 support to LAV, which will be available in the next nightly build tomorrow.
Note that there is some caveats to know about:

- Its limited to 4:2:0 8-bit (Profile 0), like most DXVA2 accelerators
- Its been tested on Intel Braswell only. Skylake will probably also work. Older Intel systems may not.
- While NVIDIA pretends to support VP9 DXVA2 on the GTX960, it does not actually work (black screen). I'm somewhat confident that its a driver problem, since it fails in rather specific ways that it otherwise shouldn't.
- When using DXVA2-Native and playing an unsupported file (4:2:2/4:4.4 or > 8-bits), you may get a black screen, since fallback to software may not catch the unsupported format early enough (Copy-Back does not have this issue, since it can fallback to software at any time)

Due to the limited amount of hardware that can actually make use of this, testing was also limited, so keep that in mind.
Its also disabled by default, due to all this.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th December 2015 at 15:10.
nevcairiel is online now   Reply With Quote
Old 8th December 2015, 19:35   #20006  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
is it possible to manually update dcadec in LAV filters? I cannot find the .dll file in the installed directories. also, for some reason the DTS-HD bitstreaming field of LAV audio is greyed out for me.
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 8th December 2015, 20:07   #20007  |  Link
clsid
*****
 
Join Date: Feb 2005
Posts: 5,643
Quote:
Originally Posted by Thunderbolt8 View Post
is it possible to manually update dcadec in LAV filters? I cannot find the .dll file in the installed directories. also, for some reason the DTS-HD bitstreaming field of LAV audio is greyed out for me.
DTS-HD gets activated when you enable DTS.
__________________
MPC-HC 2.1.7.2
clsid is offline   Reply With Quote
Old 8th December 2015, 20:11   #20008  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by Thunderbolt8 View Post
is it possible to manually update dcadec in LAV filters?
LAV is entirely open-source, you can rebuild it with a newer dcadec.
Other kinds of updates are not available.

Note that todays nightly contains the very latest version.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 8th December 2015 at 20:23.
nevcairiel is online now   Reply With Quote
Old 8th December 2015, 22:12   #20009  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,197
Quote:
Originally Posted by clsid View Post
DTS-HD gets activated when you enable DTS.
right, completely forgot about that -.-
__________________
Laptop Lenovo Legion 5 17IMH05: i5-10300H, 16 GB Ram, NVIDIA GTX 1650 Ti (+ Intel UHD 630), Windows 10 x64, madVR (x64), MPC-HC (x64), LAV Filter (x64), XySubfilter (x64) (K-lite codec pack)
Thunderbolt8 is offline   Reply With Quote
Old 9th December 2015, 07:33   #20010  |  Link
Nullack
Registered User
 
Join Date: May 2015
Posts: 188
G'day Hendrik. Very nice to see your commits into FFMPEG in the last few days with VP9 and now on my birthday, a nice little surprise with LAV filters nightly having VP9. I'm on GTX 960 and given your insights into nvidia's drivers I had not expected VP9 dxva2 to work currently. This is indeed the case sir, when playing back VP9 like phfx_4KHD_VP9TestFootage.webm. Using MPC_HC the app exits and will not display. Using MPC-BE the app tries to play, but stops immediately without exiting. Either case, no playback. Im on driver build revision 359.06. Cheers

EDIT: Also the tick in the VP9 checkbox to enable it, in the LAV Video Decoder app, that isnt persisting. I dont know if this is a feature where LAV auto unticks it cos it knows it failed, or if it's a bug where the GUI isnt remembering the user wanting it enabled.

Last edited by Nullack; 9th December 2015 at 07:39.
Nullack is offline   Reply With Quote
Old 9th December 2015, 11:09   #20011  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Please try to keep hardware benchmarks separate from this thread (NikosD has a thread dedicated to such things), or at the very least just post numbers and not screen filling screenshots.
Also keep in mind that Braswell is an Atom-CPU, so hybrid decoding of 4K is probably just too much for it.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 9th December 2015 at 11:11.
nevcairiel is online now   Reply With Quote
Old 9th December 2015, 21:50   #20012  |  Link
sirhaden
Registered User
 
Join Date: Oct 2012
Posts: 8
Fast Decoding

Does the video decoder support decoding faster than real time? It seems that the default settings result in decoded samples being provided based on the sample duration.
sirhaden is offline   Reply With Quote
Old 9th December 2015, 22:02   #20013  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
Quote:
Originally Posted by sirhaden View Post
Does the video decoder support decoding faster than real time? It seems that the default settings result in decoded samples being provided based on the sample duration.
Content is output as fast as any downstream filter will receive it. Video and Audio renderers of course only receive content in real-time, since they are designed for that.

LAV Audio and LAV Video can deliver content as fast as your CPU can decode it (or your drive read it)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 9th December 2015, 23:26   #20014  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quote:
Originally Posted by NikosD View Post
It could also be very helpful if someone with an Nvidia or AMD card with hybrid, not pure, HW HEVC decoder could test this clip to compare MS MFT vs LAV in order to check out if it's Intel specific problem or hybrid specifically.
I have an AMD R9 Fury tonight, it's leaving tomorrow.

Here is what it can do: https://dl.dropboxusercontent.com/u/...%20Checker.png

When I run the decoding test with LAV set to DXVA copyback, here is what I get:
https://dl.dropboxusercontent.com/u/...EVC%20Main.png

Not sure I'm doing it right, first time I'm running these kind of tests.

HEVC Main acceleration seems to work fine, but it looks like it's hardware, so not sure it's what you're after. I have no hybrid acceleration for any Main 10 file, but that might be the way I've set it up.

I can do more tests if you let know what you want me to do tonight, otherwise the GPU is going back tomorrow.
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K
Manni is offline   Reply With Quote
Old 9th December 2015, 23:52   #20015  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Just to add that I've done some tests with PDVD15 and I seem to get with it some hybrid acceleration for Main10 that I haven't been able to get from LAV.

With PDVD, the CPU is at 50% for my HDR test files of Exodus and even the more demanding Life of Pi one which it plays almost perfectly.
With LAV, CPU is close to 100% and I get dropped frames during transitions with Exodus and unplayable with Life of Pi.

I've set up LAV with DXVA2 copyback (tried native too) and renderer set to EVR-CP.

Maybe it doesn't like 10bits files because it works fine with the fitness test file and many other 8bits files.
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K
Manni is offline   Reply With Quote
Old 10th December 2015, 04:41   #20016  |  Link
NikosD
Registered User
 
Join Date: Aug 2010
Location: Athens, Greece
Posts: 2,901
Fury has indeed a pure HW HEVC decoder, not a hybrid one, so it's not the case.

Regarding 10bit HEVC, Fury should have no HW support hybrid or pure HW acceleration.

The cpu usage of 50% of PowerDVD and 100% of LAV is not easy to explain.

DXVA2 copy-back or native with LAV has no difference for 10bit HEVC because they are not actually used with Fury, it falls back to SW.

Try "None" and see of there is any difference.
__________________
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 10th December 2015, 09:36   #20017  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quote:
Originally Posted by NikosD View Post
Fury has indeed a pure HW HEVC decoder, not a hybrid one, so it's not the case.

Regarding 10bit HEVC, Fury should have no HW support hybrid or pure HW acceleration.

The cpu usage of 50% of PowerDVD and 100% of LAV is not easy to explain.

DXVA2 copy-back or native with LAV has no difference for 10bit HEVC because they are not actually used with Fury, it falls back to SW.

Try "None" and see of there is any difference.
Thanks for this, it confirms what I thought. Sorry I couldn't help more.

I knew that the Fury had no hardware acceleration for Main10, but I was hoping for hybrid. As it's not the case - except for some reason with PDVD it seems, which doesn't really matter to me as I'm more interested in MPC-BE+LAV+MadVR performance - I decided last night to keep my HD7870 until Arctic Islands.

As I was only trying to provide the requested data and as the Fury is not relevant to your issue, I won't do more tests, the GPU is packed and going back today .
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K
Manni is offline   Reply With Quote
Old 10th December 2015, 09:43   #20018  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
PDVD15 implements its own hybrid codec using OpenCL I think.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is online now   Reply With Quote
Old 10th December 2015, 10:09   #20019  |  Link
Manni
Registered User
 
Join Date: Jul 2014
Posts: 942
Quote:
Originally Posted by nevcairiel View Post
PDVD15 implements its own hybrid codec using OpenCL I think.
Ah thanks (I couldn't see your post in the other thread).

That explains it then .

They did a pretty good job, the Main10 videos are anything from stuttering to unplayable without acceleration on my 3770K and play almost perfectly on PDVD with just 50% CPU use (up to about 50mbps).

I wonder how it would have dealt with NikosD's high bandwidth files (crowd run). I couldn't test as the bandwidth is too limited on HDMI 1.4 without the Club3D adapter as the files are 50p.

The best I could do without was 30p.
__________________
Win11 Pro x64 b23H2
Ryzen 5950X@4.5Ghz 32Gb@3600 Zotac 3090 24Gb 551.33
madVR/LAV/jRiver/MyMovies/CMC
Denon X8500HA>HD Fury VRRoom>TCL 55C805K

Last edited by Manni; 10th December 2015 at 10:13.
Manni is offline   Reply With Quote
Old 10th December 2015, 12:09   #20020  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,903
just set the display to 1080p60 for such a test.
huhn 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 18:39.


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