View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
DragonQ
28th February 2012, 10:50
CUVID cannot handle anything that DXVA2 cannot handle, its the same hardware doing the decoding. There is right now only MPEG4-ASP which is just not implemented in DXVA2 yet.
What about MadVR? I thought it didn't support DXVA2 but did support CUVID? If that's the case, it'd be nice to use DXVA2 with EVR but fall back to CUVID when MadVR is being used.
Also, I've noticed that no mode is ever "active" in the main LAV Video Configuration window when using MediaPortal. I'm guessing it's because you need to do the equivalent of MPC-HC's Play -> Filters -> LAV to see it and MediaPortal doesn't have a way to do this (AFAIK). CUVID and DXVA2 are clearly being used when chosen due to the GPU usage in nVidia Inspector.
somy
28th February 2012, 11:44
It is correctly understood that:
1) In DXVA2 native mode, dithering is not possible and HW deinterlacing is possible in EVR renderer
2) In DXVA2 copy back mode, dithering is possible and HW deinterlacing is not possible in EVR renderer?
Thanks!
aufkrawall
28th February 2012, 12:47
What about MadVR? I thought it didn't support DXVA2 but did support CUVID?
Everything except of native DXVA2 works (CUVID, QuickSync and DXVA2 copy back).
egur
28th February 2012, 12:58
It is correctly understood that:
1) In DXVA2 native mode, dithering is not possible and HW deinterlacing is possible in EVR renderer
2) In DXVA2 copy back mode, dithering is possible and HW deinterlacing is not possible in EVR renderer?
Thanks!
1) Correct
2) EVR will deinterlace any interlaced source (DXVA or not) using HW. HW might need NV12 or YV12 formats to work. Deinterlacing always work in YUV colorspace.
somy
28th February 2012, 13:18
1) Correct
2) EVR will deinterlace any interlaced source (DXVA or not) using HW. HW might need NV12 or YV12 formats to work. Deinterlacing always work in YUV colorspace.
Thanks for the reply!
I'm an ATI user, and the EVR renderer does a pretty bad job converting YUV to RGB. It produces lots of banding due to the lack of proper dithering, so DXVA2 native isn't an option for me. On the other hand, if I let LAVF output RGB, EVR lose the possibility to do hardware deinterlacing as you said.
Is it possible to get both HW deinterlacing and banding-free image with ATI card?
RBG
28th February 2012, 13:32
It'd be really cool though if you made single codecs allocatable to single hardware decoders, maybe somewhen before next christmas. :D
Indeed, it is a very useful feature especially for hybrid systems and something similar is already implemented in PotPlayer, you can choose separate hw decoding api for every video format. It's a pity, that Nevcairiel has no interest in it. :(
wanezhiling
28th February 2012, 13:33
It'll be nice if native dxva2 can fall back to other modes(SW CUVID QS CB) as other pure dxva decoder(mpc-hc,potplayer,MS .etc) fallback to SW when madVR is being used.:)
Currently, "LAV DXVA2(native) + madVR", only get this (http://i.imgur.com/QT58u.png)..sigh..
nevcairiel
28th February 2012, 13:44
DXVA2(native) + madVR falls back to software decoding just fine for me.
Also, i doubt i said i have "no interest" in changing the way the configuration works, its just a complicated process, and right now i have other things to work on. Can't do everything at once. Feel free to submit a patch for review.
kasper93
28th February 2012, 17:10
LAV supports streaming now, so could you check this stream http://antywawamp3-02.eurozet.pl:8600/;stream.nsv ? Works fine with internal mpc-hc shoutcas filter
nevcairiel
28th February 2012, 17:38
LAV supports streaming now, so could you check this stream http://antywawamp3-02.eurozet.pl:8600/;stream.nsv ? Works fine with internal mpc-hc shoutcas filter
Thats not a "normal" HTTP stream, it contains weird format headers from the streaming server. Such things are most likely not supported.
I never claimed to support Shoutcast streaming, its really only meant to play files that sit on a http server. If it works for anything else - great.
kasper93
28th February 2012, 19:09
Ok, I see. Thanks for answer :)
nevcairiel
28th February 2012, 20:56
I distinctly remember some people complaining that they couldn't bitstream DTS-in-WAV.
Could you give this version a try? It works for me, but to be honest i forgot to test before the fix..... :)
http://files.1f0.de/lavf/LAVFilters-0.48-14-g9ce1413.zip
In theory, it should also improve decoding of DTS-in-WAV with the ArcSoft decoder installed.
Surfn
28th February 2012, 21:11
does lav dxva copy back + madvr work for mpeg-2, ive tried and it says available but i cant get it so its active. ati hd5670 and mpc-hc
nevcairiel
28th February 2012, 21:18
does lav dxva copy back + madvr work for mpeg-2, ive tried and it says available but i cant get it so its active. ati hd5670 and mpc-hc
The ATI 5000 series does not really support MPEG-2
Surfn
28th February 2012, 21:25
cheers nev, thanks for clarifying that
fairchild
28th February 2012, 21:50
The ATI 5000 series does not really support MPEG-2
Yeah, you can get MPEG2 GPU decoding working with DXVA2 but with IDCT, and Lav supports VLD decoding.
It's not that big of a deal as most DVD's can get decoded fine with software without too much power draw, but for the few MPEG2 encoded Blu-ray's, I guess it could be useful.
Surfn
28th February 2012, 21:59
dxva copy back + madvr for h.264 videos will be choppy for a few seconds and then freeze my computer. madvr and lav software decode is very smooth.
fairchild
28th February 2012, 22:12
dxva copy back + madvr for h.264 videos will be choppy for a few seconds and then freeze my computer. madvr and lav software decode is very smooth.
Probably your video card or system is not strong enough to both decode + use MadVR.
For instance I can use DXVA2 copy back + MadVR without problems on my HD 5830, but on my HD 5450 I can't and have to use software decoding. Not a big deal.
Surfn
28th February 2012, 22:28
cheers m8, ive a q6600 cpu and a sapphire 5670 passive cooled gpu. sofware decoding is really smooth
VipZ
28th February 2012, 23:05
I distinctly remember some people complaining that they couldn't bitstream DTS-in-WAV.
I am not sure if I am doing something wrong, I cant seem to get DTS-WAV working in both decoding or bitsteaming. I have tried in PotPlayer and MPC with and without .wav being set to LAV Source.
nevcairiel
28th February 2012, 23:11
I am not sure if I am doing something wrong, I cant seem to get DTS-WAV working in both decoding or bitsteaming. I have tried in PotPlayer and MPC with and without .wav being set to LAV Source.
Only works with LAV Splitter + LAV Audio, otherwise it should "just work", assuming file really starts with DTS-in-WAV and not some other garbage that makes it think its not DTS but in fact real WAV
VipZ
28th February 2012, 23:26
I figured the issue, I didn't set LAV Audio as preferred within MPC. Thought it would load automatically, guess I was wrong. This now works for decoding but bitstreaming crashes MPC for me now.
Also regarding HTTP streaming and possibly other protocol's as well in the x64 build still isn't working. When I remove --disable-network \ line from build_ff_x64.sh it works.
Reino
29th February 2012, 00:42
You should set the source filter for individual file extensions like this:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\http\Extensions]
".ogg"="{B98D13E7-55DB-4385-A33D-09FD1BA26338}"As long as "File Source (URL)" is the primary one, that won't work either. With LAV Splitter Source instead, it does kind of work, but far from perfect. It's a pity my code skills fall short here, because otherwise I would've looked for a way to copy Zoom Player's detection method. Although probably fine for http-streaming, for SHOUTcast I believe this is the wrong approach.
Btw, is subtitle support for LAV Video Decoder on your to-do-list?http://code.google.com/p/lavfilters/issues/detail?id=137Good luck with that! At least I know it's on your to-do-list. Thanks.
DTS-in-WAV:
Confirmed, only in WAV and not DTS-in-FLAC/WV/APE/TAK at the moment, or "garbage", as you seem to call it. :p
wanezhiling
29th February 2012, 08:34
Hi nev, http://www.gokuai.com/f/9y389n24xC05h9lf
MainConcept MP4 Demultiplexer + LAV Video Decoder (http://i.imgur.com/abVFL.png), ok.
LAV Splitter(Source) + LAV Video Decoder (http://i.imgur.com/oPWUI.png), failed.
nevcairiel
29th February 2012, 09:20
Another odd DV FourCC, eh.
Peekstra
29th February 2012, 09:30
Hi Nev, have you been able to reproduce the crash with the file I posted (post 9501)? Is there any more info which I can provide? Thanks!
Mercury_22
29th February 2012, 09:37
Problem with H264 i :
When using Native and I start playing the file NOT from the beginning this happens http://imageshack.us/photo/my-images/72/h264ilavnative.png/
But if I do a small seek or use CB or MPC-HC's decoder or when start playing from the beginning it's playing OK
Test_H264i (http://depositfiles.com/files/he4r31cmz)
Alexey1975
29th February 2012, 11:47
That's what I getting, if I try to use any colorspace, (but the RGB) in LAV Video Decoder (CUVID) with DVBViewer (v. 4.9).
http://saveimg.ru/show-image.php?id=0e748b74fc44649dc4cb2652e1f78316
http://saveimg.ru/show-image.php?id=5f71fa8122779c5d37932289a39f4b55
Such things happens with all versions of LAV Video Decoder (CUVID)(and LAV CUVID Decoder), since ForceWare 285.62 and later versions. Until it (eg ForceWare 285.38) all were ok!
Does anyone knows, what's the point here?
GTX560 Ti
Alexey1975
29th February 2012, 12:10
... By the way, with DXVA2(copy-back) the same thing!
But with DXVA2(native) it's ok (but with crappy quality of the image).
Pat357
29th February 2012, 15:14
That's what I getting, if I try to use any colorspace, (but the RGB) in LAV Video Decoder (CUVID) with DVBViewer (v. 4.9).
http://saveimg.ru/show-image.php?id=0e748b74fc44649dc4cb2652e1f78316
http://saveimg.ru/show-image.php?id=5f71fa8122779c5d37932289a39f4b55
Such things happens with all versions of LAV Video Decoder (CUVID)(and LAV CUVID Decoder), since ForceWare 285.62 and later versions. Until it (eg ForceWare 285.38) all were ok!
Does anyone knows, what's the point here?
GTX560 Ti
If it's h264 content, do you have the chance to test it with CoreAVC CUVID or PDVD HAM-mode?
Just to see it's LAV-specific or not...
Alexey1975
29th February 2012, 17:28
If it's h264 content, do you have the chance to test it with CoreAVC CUVID or PDVD HAM-mode?
Just to see it's LAV-specific or not...
So, here is the report:
1. Microsoft DTV-DVD Video Decoder - OK!
2. ArcSoft Video Decoder v. 2.28.480.134 (DXVA2 mode) - OK!
3. CoreAVC 3.0.1. build 8441 (CUDA mode) - FAIL!
(except RGB modes - exactly like LAV Video Decoder)
:( Weird things happening...
DragonQ
29th February 2012, 17:39
I noticed that with LAV 0.48, every hardware decoder is "not available" on my work PC. I assume this because the AMD Radeon HD 3400 is too crap, even with the latest drivers?
nevcairiel
29th February 2012, 17:40
I noticed that with LAV 0.48, every hardware decoder is "not available" on my work PC. I assume this because the AMD Radeon HD 3400 is too crap, even with the latest drivers?
The DXVA2 decoders should show as available on basically all systems that run Vista/7 (if they really end up working is another matter). XP is only supported by CUVID, all the others require Vista/7
Pat357
29th February 2012, 17:52
So, here is the report:
1. Microsoft DTV-DVD Video Decoder - OK!
2. ArcSoft Video Decoder v. 2.28.480.134 (DXVA2 mode) - OK!
3. CoreAVC 3.0.1. build 8441 (CUDA mode) - FAIL!
(except RGB modes - exactly like LAV Video Decoder)
:( Weird things happening...
Strange, I've never got a problem with CUVID on H264 with my GTX-570 : it plays everything even heavy H264 with ref16.
The only limitation is very high bitrate, but that's because the VP4 is too slow and not a limitation from CUVID.
Can you upload a sample too mediafire so I can test it ?
nevcairiel
29th February 2012, 18:05
Problem with H264 i :
When using Native and I start playing the file NOT from the beginning this happens http://imageshack.us/photo/my-images/72/h264ilavnative.png/
But if I do a small seek or use CB or MPC-HC's decoder or when start playing from the beginning it's playing OK
Test_H264i (http://depositfiles.com/files/he4r31cmz)
I cannot reproduce any such issue.
It also doesn't really make sense for one issue to exist for Native but not for CB, the decoding is the same.
Also, you really couldn't pick any slower file host, could you? =)
Mercury_22
29th February 2012, 18:49
I cannot reproduce any such issue.
It also doesn't really make sense for one issue to exist for Native but not for CB, the decoding is the same.
Also, you really couldn't pick any slower file host, could you? =)
With all that had happen' recently in the "file host" business :) I don't know anymore which is fast now cause all are slow for me
So at least for future reference which do you prefer ?:confused:
Also do you want me to reupload the file elsewhere?
nevcairiel
29th February 2012, 18:54
MediaFire is still somewhat decent. Its still slow, but acceptable.
Also, i finished the file already, otherwise i couldn't have commented on it, could it? :d
wanezhiling
29th February 2012, 19:10
nev, is it (http://www.gokuai.com/f/9y389n24xC05h9lf) slow for you?
You know for some reason almost all such sites are not accessible for me...so I pick a chinese one which I think is the fastest one for foreign friends.:o
nevcairiel
29th February 2012, 19:21
nev, is it (http://www.gokuai.com/f/9y389n24xC05h9lf) slow for you?
You know for some reason almost all such sites are not accessible for me...so I pick a chinese one which I think is the fastest one for foreign friends.:o
Its OK, although its all in chinese!
I also added the new FourCCs to LAV Video
wanezhiling
29th February 2012, 19:56
:oI have no choice because of national policy..
http://code.google.com/p/lavfilters/source/detail?r=7e8d7a6f7096757561b50d1febf5ecd735880ad0
:thanks:for your great work.
aufkrawall
29th February 2012, 20:41
MediaFire is still somewhat decent. Its still slow, but acceptable.
You can accelerate it with a download manager.
dansrfe
29th February 2012, 23:10
Is it possible for a Dolby ProLogic II option to be added to LAV Audio? This is primarily the only reason why I still use the ffdshow package because I can rest assured that all audio inputs are downmixed properly to 2.0/2.1 for my speaker setup and it sounds great as well.
Traps
29th February 2012, 23:20
Does anyone else have the problem with .SUP subtitles not displaying at all in fullscreen with LAV Splitter? Using LAV Video decoder and MadVR render with MPC HC, file is mkv with embedded .sup. Subtitles are displayed properly in windowed mode but they dissapear in fullscreen. With Haali splitter the subtitles are shown in fullscreen but they're stretched.
Pat357
1st March 2012, 00:48
I cannot reproduce any such issue.
It also doesn't really make sense for one issue to exist for Native but not for CB, the decoding is the same.
Yeah, but do you remember I reported problems with certain files in CB although they appeared to play perfect in native DXVA ?
Maybe 99.9 % everything is the same, but not 100% identical :p
This because some additional steps or required for one and not for the other.
Also, you really couldn't pick any slower file host, could you? =)
I started the download with 30 kb/s and gave up after 30min.:D
One, word : mediafire !
No waiting and not too slow
Thunderbolt8
1st March 2012, 01:24
if you use those file hosters rather frequently (to download) and can spend a few buck: try real-debrid and alikes
zero9999
1st March 2012, 02:58
Hi Nev,
first of all, thanks for all your work on this awesome filter package. It would be nice if there was support for the MKV cropping parameters (PixelCropBottom/Top/Left/Right), though i am not really sure if this can be easily communicated from the splitter to renderer/decoder (wherever the actual cropping would be done). As of now it works in none of the popular splitters, the only player that supports mkv cropping seems to be (surprisingly) VLC.
nevcairiel
1st March 2012, 07:15
Yeah, but do you remember I reported problems with certain files in CB although they appeared to play perfect in native DXVA ?
But thats the other way around, which makes much more sense to somehow introduce issues. But if native shows issues and CB works, something odd is up!
somy
1st March 2012, 09:45
Hi,
Is YADIF deinterlacing super CPU demanding?
With this option enabled, many HD TV channels get freezing periodically.
I'm running mediaportal with LAVF, and my hardware configuration is Q9300 and ATI HD5770 graphics card.
I tried both software and DXVA2 CB, and they show the same behavior......
Mercury_22
1st March 2012, 10:11
Yeah, but do you remember I reported problems with certain files in CB although they appeared to play perfect in native DXVA ?
Maybe 99.9 % everything is the same, but not 100% identical :p
This because some additional steps or required for one and not for the other.
I started the download with 30 kb/s and gave up after 30min.:D
One, word : mediafire !
No waiting and not too slow
Reuploaded to http://www.mediafire.com/?crk5xs8ckkptc74 :) for those who want to test it
remember to reproduce the problem you have to start playing the file NOT from the beginning using DXVA Native
e.g. In MPC-HC you have to enable "Remember File Position" start playing the file exit MPC-CH and start again
Reith
1st March 2012, 10:59
How do I use the QuickSync hardware decoder?
I have a Z68 motherboard, my CPU is an i5-2500k, my discrete GPU is an AMD Radeon HD 6970, I'm running LAV Filters 0.48 with MPC-HC and madVR on Windows 7 x64. I have the newest Intel HD graphics driver installed and the Lucid Logix Virtu control panel (do I need this thing?) along with the newest CCC drivers. When I try to select QuickSync in LAV Video, it still says "not available." Am I missing something?
I don't really need it, I was just curious to see how well it performs.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.