View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
mzso
2nd March 2021, 17:55
If you use madVR, you can use hardware deinterlacing with software decoding, madVR will upload the frames to the GPU and then use DXVA deinterlacing. Of course this supposes your GPU drivers don't have bugs with deinterlacing.
It doesn't work. MadVR says deinterlacing is on, but it is not working. Well, madVR deinterlacing doesn't seem to work at all actually.
el Filou
2nd March 2021, 18:25
Is that the old issue with DVB Viewer? I thought that had been fixed. :( (Edit: @nevcairiel yes, my bad, I think it was ProgDVB)
I just tested again with an interlaced video in MPC-HC and MediaPortal and with those apps it works.
nevcairiel
2nd March 2021, 18:38
If it was DVB Viewer, I probably would've heard, since I'm in contact with the devs directly on occasion. Probably some other DVB application.
huhn
2nd March 2021, 19:43
It doesn't work. MadVR says deinterlacing is on, but it is not working. Well, madVR deinterlacing doesn't seem to work at all actually.
you are not by accident using film mode?
el Filou
2nd March 2021, 20:22
Recently I have been watching old motorsport races from YouTube, and I encountered an unusual problem: the uploader had encoded them as progressive video (720x480 29.970 fps), but the images were still visually interlaced. So I tried setting Deinterlacing Mode in LAV to Forced for madVR to treat them as interlaced and it did but I was having the same issue as mzso: madVR was showing deinterlacing on and output was 60 fps, but I could still see the combing artifacts (film mode wasn't on). To solve it I had to uncheck "Use inverse telecine" in NVIDIA's control panel.
Maybe something like that is happening with the DVB app mzso is using?
I have no idea why that happened and how I would achieve the same with AMD as you can't disable IVTC anymore in their control panel.
mzso
2nd March 2021, 21:00
Is that the old issue with DVB Viewer? I thought that had been fixed. :( (Edit: @nevcairiel yes, my bad, I think it was ProgDVB)
I just tested again with an interlaced video in MPC-HC and MediaPortal and with those apps it works.
I'm using SmartDVB.
I faintly remember having a similar problem, which was fixed on madVR's side. I remember it with SmartDVB (but I did use progDVB years ago though, so I'm not certain.)
Doesn't PDVB only have madVR support since not so long ago?
you are not by accident using film mode?
Since I got ample amount of combing I'm quite sure neither mode was active.
huhn
2nd March 2021, 23:20
with film mode on interlaced content you can only get combing and nothing else it only works on telecine content.
VictorLS
2nd March 2021, 23:24
@el Filou
Thanks for reply but I've asked is there any difference between HW acceleration method in case of SAT stream corruption? Or all you've mentioned is equal in your case?
@mzso
Btw I always turn off Inverse Telecine immediately after install nVIDIA's drivers to avoid deinterlacing issues while watching SD channels from SATs with excellent donateware SmartDVB.
mzso
2nd March 2021, 23:40
with film mode on interlaced content you can only get combing and nothing else it only works on telecine content.
Well, all I can say is that madVR's set to force video mode. And even if I cycle between modes manually the video doesn't change.
el Filou
3rd March 2021, 14:25
@mzso Try to go to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e968-e325-11ce-bfc1-08002be10318}\0000\UMD\DXVA in Registry Editor and change 3to2Pulldown (Binary) to 30 00 00 00 instead of 31 00 00 00 , and 3to2Pulldown_DEF (String) to 0 instead of 1.
I can't guarantee this will work, but worth a try.
(I'm using Radeon Software 20.11.2 WHQL and that is the exact key)@el Filou
Thanks for reply but I've asked is there any difference between HW acceleration method in case of SAT stream corruption? Or all you've mentioned is equal in your case?Wrt handling DVB streams with corruption, on my very old system native DXVA is a bit better than DXVA copyback or CUVID (less stutter). Both are much better than software decoding. But I only have H.264 channels, not H.265.
VictorLS
3rd March 2021, 18:29
@el Filou
Thanks. I've bought GTX750v2 on GM206 special with 1 GB (not 2 GB) videomemory (~100$) to prove to myself 1 GB enough for fluent 4K playing (it's really enough 1 GB videomemory) and it was fluent with EVR and even CUVID but when HDR (HLG) appears EVR (not EVR-CP) give not right colors and madVR requires more than 1 GB videomemory but MPC-BE's MPC-VR shows even Gemini Man H265 4K 60fps sample absolutely fluently with two external shaders. And for 4:2:0 H264 1920x1080i50 (incl. 4:2:2 (https://forum.doom9.org/showthread.php?p=1919134#post1919134)) I don't see difference between software (~30% CPU load) and CUVID or DXVA (native©-back) hardware (~10% CPU load) acceleration with my old AthlonII x3 460 - ideally fluent playing in all cases (if CPU isn't loaded with other hard tasks).
LigH
4th March 2021, 09:08
MPC-VR is indeed a bit conservative, compared to madVR, and helped me playing 4K UHD videos on a GT 450 with only 1 GB VRAM where madVR demanded better hardware.
max79
6th March 2021, 02:52
SUPPORT REQUEST - #35
...i got live stream issues: playback stops right after approx 8-10minutes for two hundreds HLS-streams...
@nevcairiel
Thank you Nev! :) Fixed in LAVFilters_v0.74.1-108 :thanks:
UPDATE: Excuse me please for making wrong conclusion. I'm confused because the problem #35 still appears...
Manni
6th March 2021, 14:43
Hi Nev,
Two questions:
1) Does nightly 114 fix the bd menus issue with d3d11 native that we discussed in the jRiver forums?
2) I have LAV and LAV64 installed in the plugins folders of jRiver to have only one install of LAV in the system. How do you get the files only for the nightly builds, in order to avoid having to install LAV with the exe and create a new LAV install?
Thanks!
M.Scott
7th March 2021, 01:43
2) I have LAV and LAV64 installed in the plugins folders of jRiver to have only one install of LAV in the system. How do you get the files only for the nightly builds, in order to avoid having to install LAV with the exe and create a new LAV install?
A zip package of the files alone would be great, simply extract the zip to the existing folder and over-write existing files seems like an easy thing to accomplish.
Note: This is what I do and haven't had any issues and things appear to work, please make sure you're confident this is safe for you, otherwise please keep asking for a zip or 7z archive and ignore my post :)
I haven't used the installer in a while so I don't recall if you can point the installer to your existing folder and over-write existing install but most apps have this functionality.
What I have been doing is using an extraction tool and extracting the contents of the latest beta builds to a temp folder, then moving the updated files into my existing folder.
The tool I use is Universal Extractor 2:
More Info: https://bioruebe.com/dev/uniextract/
Zip Download: https://github.com/Bioruebe/UniExtract2/releases
UE2 extracts the important files to \x86 & \x64 folders, the other stuff is for the installer and can be deleted.
I used a stable release portable version install to make sure I continued to follow the same layout - this is what I grab from the relevant x86/x64 folders, this continues to match my original portable install, the installer may do things different so be careful:
\LAV\ (13 files)
.................. avformat-lav-58.dll
.................. avfilter-lav-7.dll
.................. avcodec-lav-58.dll
.................. avresample-lav-4.dll
.................. swscale-lav-5.dll
.................. LAVAudio.ax
.................. avutil-lav-56.dll
.................. libbluray.dll
.................. LAVVideo.ax
.................. IntelQuickSyncDecoder.dll
.................. LAVSplitter.ax
.................. LAVFilters.Dependencies.manifest
.................. COPYING
Note: The COPYING file was installed with the original portable install so I continue to move it along with the other 12 files, it is likely not needed but it's small and I want to stay consistant.
It took longer to write this versus running UE2 on the latest LAV beta and moving the new files over.
I'm confident if this is a really stupid way to update LAV someone will chime in (I Hope) but it has continued to work for me, LAV is being used with MPC-BE portable and I see the player using the external LAV filters.
HTH & good luck :)
Manni
7th March 2021, 01:52
Hi M.Scott, thanks for this, I’ll wait to hear from Nev but it sounds like an easy solution if there is no zip available for nighties.
wanezhiling
7th March 2021, 12:43
I bought a new laptop with i5-11300H (Iris Xe Graphics)
Driver: latest 27.20.100.9316 (3/3/2021)
LAVFilters-0.74.1-114
LAV AV1 dxva2 decoder is active only in DXVA Checker (https://i.postimg.cc/JmnLkqsr/LAV-in-DXVA-Checker.png), not working with madVR (https://i.postimg.cc/Gr51JyDk/LAV-with-mad-VR.png) or MPC-VR
(https://i.postimg.cc/FNkXPHbw/LAV-with-MPC-VR.png).
ps: tested with many 4k/8k av1 clips(8-bit,10-bit), same result
pps: lav d3d11 decoder, same result
VictorLS
7th March 2021, 17:37
Manni
I do like M.Scott in many years (at first I was using Inno Setup Unpacker Editor but some years ago begin to use latest UniExtract). After extraction I copy all files inside x86 folder to my favorite player KMPlayer and to LAVFilters folder in latest release of MPC-HC (and x64 to LAVFilters64) and register LAV...ax's by myself for using in donateware app SmartDVB to watch SAT channels with latest LAV Filters.
wanezhiling
Thanks for information - while Intel Xe isn't supported by LAV Video Decoder (AV1 and 4:2:2 4:4:4 hardware acceleration) I even don't think about purchasing it (when it'll support h266 VVC hardware acceleration may be will necessary for me tough in case of h266 VVC will become new SAT encoding standard after h265 HEVC) so let us know if AV1 hardware acceleration will work in ordinary players like MPC-HC(BE), please.
Manni
7th March 2021, 21:55
Uniextract works great and nightly 114 resolves the issue with BD menus when using D3D11 native. Thanks for fixing this. :)
Yups
7th March 2021, 22:24
I bought a new laptop with i5-11300H (Iris Xe Graphics)
Driver: latest 27.20.100.9316 (3/3/2021)
LAVFilters-0.74.1-114
LAV AV1 dxva2 decoder is active only in DXVA Checker (https://i.postimg.cc/JmnLkqsr/LAV-in-DXVA-Checker.png), not working with madVR (https://i.postimg.cc/Gr51JyDk/LAV-with-mad-VR.png) or MPC-VR
(https://i.postimg.cc/FNkXPHbw/LAV-with-MPC-VR.png).
ps: tested with many 4k/8k av1 clips(8-bit,10-bit), same result
pps: lav d3d11 decoder, same result
D3d11 decoding should work with this driver and LAV, I've tried it on my Iris Xe - no problem. I believe DXVA2 AV1 has been disabled/deprecated in newest drivers.
https://community.intel.com/t5/Graphics/AV1-DXVA2-decoding-broken-27-20-100-9033/m-p/1250542#M93831
wanezhiling
8th March 2021, 00:02
D3d11 decoding should work with this driver and LAV, I've tried it on my Iris Xe - no problem. I believe DXVA2 AV1 has been disabled/deprecated in newest drivers.
https://community.intel.com/t5/Graphics/AV1-DXVA2-decoding-broken-27-20-100-9033/m-p/1250542#M93831
I tried,LAV d3d11 decoding is active only in DXVA Checker, not working with madVR or MPC-VR either. is something setup wrong here?
VictorLS
8th March 2021, 09:05
wanezhiling
May be wrong player - have you tried in graphstudionext with ordinary EVR (and with EVR in MPC-HC(BE))?
jpsdr
8th March 2021, 18:50
Where do you find recent releases ?
The last official is almost 2 years old...
https://github.com/Nevcairiel/LAVFilters/releases
Are lav filters dead...? :(
jkauff
8th March 2021, 19:01
Nev wrote a few days ago that he's planning a new official release this month. Lots of folks have been doing their own compiles from the nightlies (MPC-HC, K-Lite Codec Pack, etc.).
el Filou
8th March 2021, 19:43
Where do you find recent releases ?
The last official is almost 2 years old...The unmodified nightly builds are here: https://files.1f0.de/lavf/nightly/
wanezhiling
9th March 2021, 05:38
wanezhiling
May be wrong player - have you tried in graphstudionext with ordinary EVR (and with EVR in MPC-HC(BE))?
graphstudionext with ordinary EVR -> blackscreen but d3d11 decoding works
with EVR in MPC-HC(BE -> fall back to sw always
v0lt
9th March 2021, 18:51
The D3D11 decoder will only work on a video renderer that supports D3D11. EVR is not, it only supports D3D9.
VictorLS
9th March 2021, 19:30
@Yups
Thanks for https://community.intel.com/t5/Graphics/AV1-DXVA2-decoding-broken-27-20-100-9033/m-p/1250542#M93831
@wanezhiling
Explain please
d3d11 decoding works
how D3D11 decoding works (except DXVAChecker) namely with your Intel Xe?
Btw can you test colorshift issue (https://forum.doom9.org/showthread.php?p=1919062#post1919062) at first with madVR (as nVIDIA has) and then with any available in MPC-HC(BE) renderer (as Vega8 has) presence with Intel Xe?
Strix
16th March 2021, 07:10
Hey all,
I've taken the jump into MPC-BE w/ LAV and madVR. Followed a very thorough guide to get everything setup and all the profiles are working as intended. I am, however, running into MAJOR issues when attempting to stream any content. I hope it's alright that I've attached a couple public Google Drive links with videos showcasing the behavior. I figure this is some kind of LAVSplitter issue or something... Stock MPC-BE never had problems.
Example 1 (https://drive.google.com/file/d/1Oz4-fiMKgRdoR8p5AgLI3sTT6Ep98kLo/view?usp=sharing)
Example 2 (https://drive.google.com/file/d/1OuMIBrj5GSE41Hi1Wef6u-9O2GKraUwS/view?usp=sharing)
Klaus1189
16th March 2021, 20:13
Just for more info: rightclick on MPC-BE -> Filters > Copy filters list to clipboard -> paste it here.
Strix
16th March 2021, 20:42
Just for more info: rightclick on MPC-BE -> Filters > Copy filters list to clipboard -> paste it here.
Here's what is loaded playing the "Dave" file:
MPC-BE 1.5.6.6000
Filters currently loaded:
- Default DirectSound Device
- madVR Renderer
- Audio Switcher
- LAV Video Decoder
- LAV Audio Decoder
- LAV Splitter
- File Source (URL)
v0lt
18th March 2021, 05:02
@Strix
Try using only "LAV Splitter Source" instead of "File Source (URL)" and "LAV Splitter".
Strix
18th March 2021, 06:30
@Strix
Try using only "LAV Splitter Source" instead of "File Source (URL)" and "LAV Splitter".
I don't believe I see an option to turn off the "File Source (URL)" filter. Would you be able to help me pinpoint where that setting is? All of the Internal Filters are turned off as per the madVR setup instructions.
patul
18th March 2021, 11:53
I don't believe I see an option to turn off the "File Source (URL)" filter. Would you be able to help me pinpoint where that setting is? All of the Internal Filters are turned off as per the madVR setup instructions.
View | Options | External Filters
Add "LAV Splitter Source" to External Filters and choose "Prefer"
Probably will need to block "File Source (URL)" (and probably "File Source (Async)" as well)
Strix
18th March 2021, 19:41
View | Options | External Filters
Add "LAV Splitter Source" to External Filters and choose "Prefer"
Probably will need to block "File Source (URL)" (and probably "File Source (Async)" as well)
Alright, just for posterity and to make sure everything looks correct,
I added "LAV Splitter Source" to the External Filters list and chose "Prefer". I left LAV Splitter checked as well.
https://i.imgur.com/qmNIF0Q.png
https://i.imgur.com/qOdPYbR.png
"LAV Audio Decoder" and "LAV Video Decoder" are also set to "Prefer".
I have no idea where "File Source (URL)" nor "File Source (Async)" are, but just doing the above changes, the Filters list is now:
MPC-BE 1.5.6.6000
Filters currently loaded:
- Default DirectSound Device
- madVR Renderer
- Audio Switcher
- LAV Video Decoder
- LAV Audio Decoder
- LAV Splitter Source
Opening files seems to take a bit longer than stock MPC-BE, but it seems to be working now.
LigH
19th March 2021, 08:12
"File Source (URL)" and "File Source (Async)" are Microsoft Windows original filters, you would possibly have to use "Add Filter ..." to get them in the list to block them... but preferring LAV Splitter Source seems to be sufficient.
nodiaque
19th March 2021, 13:13
Hello everyone,
I'm having an "issue" with the lav splitter. First, it's working fine, I use it in mpc-be and it's great, with MadVR. But, the lav splitter and icons are always present in systray. When I click on the splitter, there's an audio source:
pcm_s16le, 44100 HZ, 2 channels, s16, 1411 kb/s
It does this on 2 totally different computer, one I just recently built (amd 2021 and intel 2009).
My idea here is not to uncheck the show tray icon but to understand what is using the lav filter. It shows up as soon as I start the computer.
Thank you
nevcairiel
19th March 2021, 17:42
Sounds like some application you are using is using it to play audio in the background, and/or not closing down its stuff properly.
clsid
19th March 2021, 18:20
Download Process Explorer:
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
You can use its search function to find out which application is using lavsplitter.ax
Decalicatan_Decalicatan
20th March 2021, 09:49
Hi!
Maybe it is more an issue with my config (MPC-BE or dsplayer with bitstreaming to an AV amplifier) more than with LAV but is there a way to automatically prefer the audio stream with the highest channel numbers, when all stream are of the same quality?
For instance, I have a file with a flac 2.0 (48kHz, 16bits) stream (flagged as default) and a TrueHD 5.1 (48kHz, 24bits). Even with "Prefere Audio Stream with the highest quality" ON, the first stream is always preferred :(...
I use the lastest official release of LAV Filters, i.e 0.74.1. Thanks in advance
nevcairiel
20th March 2021, 10:51
LAV would do that by default, your player is likely overriding the choice.
Decalicatan_Decalicatan
20th March 2021, 12:10
thanks.
I will try to find which setting in the players is the culprit....
clsid
20th March 2021, 13:39
Actually, if the track is flagged as default, then that overrides the quality option, right?
Decalicatan_Decalicatan
20th March 2021, 15:35
Actually, if the track is flagged as default, then that overrides the quality option, right?
Looks that way, sadly. Thanks for the info.
I updated the header of one of the file with mkvtoolnix to force the default flag as No for both audio tracks. Now the 5.1 tracks is now preferreed as wanted.
Too bad the default flag overrides the quality option. Sometimes I don't want to update the headers, either because I'm too lazy ^^ or to keep the files as they were.
wanezhiling
20th March 2021, 16:31
Is there anything wrong with this file (https://mega.nz/file/tldUWDIL#_9TJvQkIne-Bhfb07SNVPSeVIOXGnhAC7H5xuvvDp3o)?
Set LAV output YV12 with evr, blackscreen.
Only happens on intel though
VictorLS
22nd March 2021, 16:42
Is there anything wrong with this file (https://mega.nz/file/tldUWDIL#_9TJvQkIne-Bhfb07SNVPSeVIOXGnhAC7H5xuvvDp3o)?
Set LAV output YV12 with evr, blackscreen.
Only happens on intel though
On Intel i3-8100 with 630 graphics (Coffee Lake) I see not fluent video with YV12 and with EVR in DXVA2(native) mode - in other hardware acceleration modes (even None) malevich.
Moreover in many cases I found just one way to play hard videos (like GeminiMan 4K 60Hz h265 10bit 4:2:0) fluently - play them in ordinary mpv with hwdec=d3d11va (or with lighter files hwdec=dxva2) in mpv.conf file near mpv.exe
LAV AV1 dxva2 decoder is active only in DXVA Checker (https://i.postimg.cc/JmnLkqsr/LAV-in-DXVA-Checker.png), not working with madVR (https://i.postimg.cc/Gr51JyDk/LAV-with-mad-VR.png) or MPC-VR
(https://i.postimg.cc/FNkXPHbw/LAV-with-MPC-VR.png)
Ordinary mpv has big advantage over other players like MPC-HC(BE) on Coffee Lake (of course, it can't accelerate AV1) - it doesn't use Video Processing (even DXVA Checker used Video Processing sometimes) so try lastest version of mpv (https://mpv.io) to get hardware acceleration of AV1.
wanezhiling
23rd March 2021, 01:59
@VictorLS
thanks.
mpv is light and fast for intel indeed, i tried it before.
but for me, mpc-be is more friendly and full features.
ps: do you get same result like this (https://community.intel.com/t5/Graphics/color-problem-when-using-evr/m-p/1266233)?
---------------------
another request for assistance, can you test whether native dxva decoding works in graphstudionext (https://github.com/cplussharp/graph-studio-next) on your UHD 630 graphics? you can test any video files with evr renderer
always sw decoding (https://i.postimg.cc/7wc8yT5n/QQ-20210323100152.jpg) for me, whatever mpc decoder or lav decoder... i just don't know why
VictorLS
23rd March 2021, 16:18
mpv is light and fast for intel indeed, i tried it before...always sw decoding for me, whatever mpc decoder or lav decoder... i just don't know why
So try mpv now to see what will happen with hardware acceleration while playing various files in that light (but I agree - not user-friendly) player.
but for me, mpc-be is more friendly and full features.
Usually I use old KMPlayer (for best usability) but once it can't DXVA2 with LAV Video Decoder and MPC-VR I use MPC-HC(BE) instead and seldom PotPlayer (on left button click to switch on/off HDR processing).
ps: do you get same result like this?
I'm not sure but this (not mine) Coffee Lake first show not washed out colors while playing HDR(HLG) files but I didn't like that colors.
another request for assistance, can you test whether native dxva decoding works in graphstudionext (https://github.com/cplussharp/graph-studio-next) on your UHD 630 graphics? you can test any video files with evr renderer
Before this Coffee Lake with default 26.20.100.7262 driver (at the end of experiments I offline - that computer mustn't have Internet connection at all - overwrite with igfx_win10_100.9316.exe almost half-terabyte videodriver but of course it isn't add non-integer frequencies like 47,952Hz - I've just found in registry key to change modes (https://disk.yandex.ru/d/Slh69oZ8Y7_4iw) without any other programs like CRU) gone to it's owner I tried graphstudionext64-0.7.1.61.exe (https://www.videohelp.com/software/GraphStudio) and LAV Video Decoder DXVA2(native) - EVR was always active (of course, on supported files) but playing was far from fluent (even if resources are mostly free - even DXVA Checker can't full load 630 as mine nVIDIA GTX750v2) on hard files like your 170325 Magic SEOHYUN... VP9 file (https://mega.nz/file/tldUWDIL#_9TJvQkIne-Bhfb07SNVPSeVIOXGnhAC7H5xuvvDp3o) or GeminiMan 4K 60Hz h265 10bit 4:2:0
https://i.postimg.cc/KkzcKPp8/mpv-d3d11va.png (https://postimg.cc/KkzcKPp8)
Btw can you set new non-integer (real) vertical frequencies on your Tiger Lake?
Klaus1189
23rd March 2021, 19:04
I have a question regarding the WEBVTT support added in latest nightly build:
https://github.com/Nevcairiel/LAVFilters/issues/80
I made a testfile and muxed a WEBVTT subtitle into a MKV using latest continuous build of MKVToolNix 55.0:
https://drive.google.com/file/d/1euLqLi02YvRhWqpx99clO2NvWwRjnnWv/view?usp=sharing
Subtitle is not listed in MPC-BE, but if I use internal filters it is.
I don't know, perhaps there is support for external files only, I don't know. Please help :)
nodiaque
23rd March 2021, 20:41
Download Process Explorer:
https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
You can use its search function to find out which application is using lavsplitter.ax
Hello,
I just tried and no dice, nothing come up. I tried lav* and lav?, no dice. Even on fresh boot it's already there :(
Thanks!
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.