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
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd September 2011, 19:24   #5621  |  Link
fastplayer
Registered User
 
Join Date: Nov 2006
Posts: 799
Looks great!
Are you gonna remove the HQ-Format-Conversion checkbox? You've mentioned it a while ago.
fastplayer is offline   Reply With Quote
Old 22nd September 2011, 19:40   #5622  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by mindbomb View Post
so, in the near future, you can get lav video to do the HQ rgb conversion with cuvid?
Yes.

Quote:
Originally Posted by mindbomb View Post
if you try to play a 10 bit h264 video, hw decoding will automatically disable itself?
Thats the plan, but not implemented yet. Its one of the things missing before a release.

Quote:
Originally Posted by fastplayer View Post
Are you gonna remove the HQ-Format-Conversion checkbox? You've mentioned it a while ago.
I probably could, its mostly useless now, but no harm either way.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd September 2011, 19:43   #5623  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
So this means the LAV CUVID code base is integrated now with LAV Video? Anything we should know about building it? I haven't done a build in a while but was planning on doing one tonight to get the latest code.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 22nd September 2011, 19:43   #5624  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Quote:
Originally Posted by SamuriHL View Post
Anything we should know about building it?
You don't need the CUDA SDK anymore.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd September 2011, 19:44   #5625  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Quote:
Originally Posted by nevcairiel View Post
You don't need the CUDA SDK anymore.
Nifty. I'll try a build a bit later. Thanks!
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 22nd September 2011, 19:46   #5626  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Note that its not 100% complete yet.

Whats still to do for CUDA/CUVID:
- VC1 decoding will not result in proper timestamps
- Automatic software fallback on unsupported movies (10bit H264, 4:2:2 MPEG-2, etc)

I also axed MPEG4-ASP support for the time being. I don't think its really worth it, the software decoder will do it much better.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 22nd September 2011 at 19:49.
nevcairiel is offline   Reply With Quote
Old 22nd September 2011, 19:50   #5627  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Well, I'd like to try it out in MC16 and test it before you release a version that's combined. I'd like to make sure they won't run into any problems since they currently use LAV CUVID in some cases by default.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 22nd September 2011, 19:50   #5628  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
LAV CUVID itself won't break of course, it just won't be updated much anymore.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd September 2011, 19:52   #5629  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
Right, but, given how they consume the filters I just want to make sure nothing gets screwy in that configuration. Matt will want to remove LAV CUVID at some point once you do a full release. The question then becomes...does he default MC16 to LAV Video in all cases. I'd personally say yes but that's not my decision. I know on my machines that's what I've been using and have no problems.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 22nd September 2011, 19:54   #5630  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
They would probably require software deinterlacing before they can make the switch, or use ffdshow as a post-processor.
Well, they can decide how to handle it. I honestly don't care much. There will be a transition period until LAV Video can fully provide a full playback chain with YADIF, but i have to start somewhere, don't I.

After cuvid is done, my next goal is either integrating the MS wmv9 software decoder (for vc-1 interlaced), or a Intel hardware decoder. Not sure yet which to tackle first.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 22nd September 2011, 20:02   #5631  |  Link
VipZ
Registered User
 
Join Date: Jun 2009
Location: London
Posts: 378
Awesome work nev.

Quote:
Originally Posted by nevcairiel View Post
After cuvid is done, my next goal is either integrating the MS wmv9 software decoder (for vc-1 interlaced), or a Intel hardware decoder. Not sure yet which to tackle first.
I vote MS wmv9
__________________
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 22nd September 2011, 20:03   #5632  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
I would vote for the MS decoder. That would be quite useful. And yea, I'll maybe start a thread over there to make them away that LAV CUVID code is being integrated into LAV Video and that they may want to start considering switching over to LAV Video for the default. Interlace stuff isn't that big a deal to handle. As you said, there are multiple ways to do it including just using MS decoder for VC1 interlaced content. They can figure that out.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 22nd September 2011, 20:10   #5633  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
JFMI, what would be the benefit of integrating the MS VC-1 decoder over using the already existing MS DMO?
madshi is offline   Reply With Quote
Old 22nd September 2011, 20:17   #5634  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,347
Alot of DirectShow players have issues disconnecting and re-creating the video decoder/renderer on the fly, so it would be beneficial if there is one good decoder for all needs, which can just switch decoders internally.
This is mostly aimed at future advanced Blu-ray support (title switching, full navigation, even menu support), where the video type can switch on the fly between titles, but nothing really relevant right now.

But alot of people keep asking for it as well, not sure what they want to get out of it, but i have fun doing it, so why not!
I guess it simplifies their filter setup somewhat.

There is also my idea of using hardware deinterlacing with software decoding, but i guess thats only half-valid, as you could as well just use a hardware decoder for VC-1i then.
Maybe i'll go with the Intel decoder first. I already saw a patch for VC-1i decoding with libavcodec. It produces some kind of image, but its still somewhat a WIP. But there is hope.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders

Last edited by nevcairiel; 22nd September 2011 at 20:26.
nevcairiel is offline   Reply With Quote
Old 22nd September 2011, 20:21   #5635  |  Link
SamuriHL
Registered User
 
SamuriHL's Avatar
 
Join Date: May 2004
Posts: 5,351
For MC16 it'd be useful because you could just tell it to use LAV Video for everything and it'll switch internally for whatever content you're playing.
__________________
HTPC: Windows 11, AMD 5900X, RTX 3080, Pioneer Elite VSX-LX303, LG G2 77" OLED
SamuriHL is offline   Reply With Quote
Old 22nd September 2011, 21:23   #5636  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Quote:
Originally Posted by nevcairiel View Post
There is also my idea of using hardware deinterlacing with software decoding, but i guess thats only half-valid, as you could as well just use a hardware decoder for VC-1i then.
Can a similar idea be incorporated to add AVClossless decoding to your "LAV CUVID" decoder?


Cheers
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 22nd September 2011, 22:00   #5637  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
Quote:
Originally Posted by SeeMoreDigital View Post
Can a similar idea be incorporated to add AVClossless decoding to your "LAV CUVID" decoder?


Cheers
Nope the best way (most efficient though also most complex way) is to dynamically jump between Hardware and Software Decoder cores currently but the different reaction on different renderer (and then you have the different performance, the logic of what is better for your Hardware what gives you the best experience for this Format Hardware Playback or Software (will this 60 fps stream playback fast enough in my setup on the Discreete DSP or will it fail and should i better use the Software Decoder), and the switching logic though in terms of hardware and Renderer limitations that is already good under control) with different input and different behavior for different parser makes this all a pain with dshow inlcuding the Deinterlacing things to keep in mind and then the Interface side without hurting quality in any scenario and there are a lot of Playback Scenarios (content wise).
Just a big complex mess if you aren't doing everything in context from the Player on and in those regards you are heavily dependent on what the Vendors are doing in their Drivers also which Renderer they support with their implementations and so on
And in this equation isn't included the differences between NT 5 and NT 6 behavior, just if you would say only 1 OS keeping complexity small as possible is hard over multiple OS it gets crazy especially if you want to support all 3 major Vendors currently Intel, Nvidia , AMD (their you need to know the limitations then of every of their solutions also to make these decisions efficiently).
So somehow it's understandable that Intel says NT 6 support only :P

The easiest way is forcing EVR (its supported by everyone it supports Shader and with Aero tearing is history but it's not efficient as EVR-CP nor MadVR and then you get into issues again, user demands and hardware issues tearing performance because of Aero not supported or to slow)
__________________
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; 22nd September 2011 at 22:35.
CruNcher is offline   Reply With Quote
Old 22nd September 2011, 22:18   #5638  |  Link
SeeMoreDigital
Life's clearer in 4K UHD
 
SeeMoreDigital's Avatar
 
Join Date: Jun 2003
Location: Notts, UK
Posts: 12,227
Bummer!
__________________
| I've been testing hardware media playback devices and software A/V encoders and decoders since 2001 | My Network Layout & A/V Gear |
SeeMoreDigital is offline   Reply With Quote
Old 22nd September 2011, 22:46   #5639  |  Link
CruNcher
Registered User
 
CruNcher's Avatar
 
Join Date: Apr 2002
Location: Germany
Posts: 4,926
So my concept was you have a Player and inside it a small benchmark and analyze logic that tests @ first your system Performance and the Performance of the Vendor Hardware your system consists of in your configuration (VPx,UVD,Quicksync) and based on these individual System benchmarks (Vendor API,DXVA) you can do the decisions for the most popular formats and playback scenarios which for every Vendor are the same VC-1,Mpeg-2,H.264. Though obviously this is only a part of the whole "Smart Playback Decisions" thing.
__________________
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; 22nd September 2011 at 23:02.
CruNcher is offline   Reply With Quote
Old 22nd September 2011, 22:53   #5640  |  Link
Mustaffi
Registered User
 
Join Date: Apr 2011
Posts: 4
when l play some H264 4:2:2 videos they are rare colors y random artifact all over....

screen:


Last edited by Mustaffi; 22nd September 2011 at 22:57.
Mustaffi is offline   Reply With Quote
Reply

Tags
decoders, directshow, filters, splitter


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 08:28.


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