View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
el Filou
20th January 2018, 13:58
I think maybe you'd find better help asking in a PotPlayer forum, because personally I don't have any problems with PGS subs using LAV and madVR both in MPC-HC and MediaPortal, and that 'Built-in HDMV playlist source' you see in the filter drop down menu is PotPlayer's own.
varekai
20th January 2018, 14:08
OK, MPC-HC is no problem. PGS and srt works.
Strange thing is their not working in PotPlayer after adding LAV Filters...
el Filou
20th January 2018, 14:52
As I said, MPC-HC built-in Blu-ray playback uses a bundled version of LAV's own splitter to demux streams and manage the subtitles:
https://s9.postimg.org/ni73u0obj/MPC-_HC_Blu-ray_subs_LAV.jpg
I don't know what software PotPlayer's own 'Built-in HDMV playlist source' is based on, but maybe it's not "collaborating" with LAV and/or madVR in the same way as LAV's own source filter does. You need to ask PotPlayer's developer.
Edit: is there an option in PotPlayer to force it to use an external filter, like this one in MPC: https://s9.postimg.org/bt346i027/image.png ?
If yes then try adding LAV splitter source and LAV splitter.
sneaker_ger
20th January 2018, 15:12
Yes, in PotPlayer you select LAV Splitter (Source) here:
https://wiki.mikejung.biz/images/b/b6/Pot_player_how_to_set_ffmpeg_as_source_splitter_filter.jpg
But I don't know if it works for BD if you select MPEG2 TS or if that is extra.
Could be that the PotPlayer internal splitter has some custom connection to the PotPlayer video decoder that passes the subtitle. LAV Video does not do that, in the LAV "ecosystem" the splitter is supposed to pass the subtitles to the subtitle renderer (e.g. AssFilterMod or XySubFilter) and that one passes to the video renderer (e.g. madvr). (Except maybe DVD buttons or something...)
Best to ask in the PotPlayer forum.
varekai
20th January 2018, 16:42
@el Filou
Tried again and again but no subtitles... :\
https://s17.postimg.org/7wto138rj/LAV.png
The Fall is a lovely movie! :D
Regards
varekai
20th January 2018, 16:44
@sneaker_ger
Thanks for your input.
PotPlayer forum is not very active, I'll make a post there.
PCU
21st January 2018, 11:35
how to deblock bink video with lav filters?
sneaker_ger
21st January 2018, 13:31
LAV Video doesn't have any post-processing filters like that. Try madvr artifact removal features.
el Filou
21st January 2018, 15:31
The Fall is a lovely movie! :DIndeed! :) Its Digital Intermediates were done in 4K too, and I think it's one of the rare movies I would buy a second time on UHD BD.
Tried again and again but no subtitles... :\
https://s17.postimg.org/7wto138rj/LAV.pngSorry I can't see what else could interfere there and I never use PotPlayer so don't know about its potential quirks. :(
Last idea: if you click on LAV Splitter in that menu, can you check if you have a "[Out] Subtitle" entry like this: https://s9.postimg.org/cvw4qxb7j/image.png and what next filter it is connecting to?
I'm using MPC-HC's internal subtitle renderer so I guess that's what 'TextPassThru' is on my screenshot, but on yours it should probably connect to madVR directly? Or does PotPlayer have an internal sub renderer?
arrgh
21st January 2018, 23:53
I could reproduce the problem on a disc with an Intel GPU, unfortunately it appears to be a long-standing Intel issue that can result in the GPU reporting a "busy" state infinitely, causing decoding to just die. So for the time being, i've turned off hardware accelerated decoding again.
I'm having the Problem described here:
https://forum.doom9.org/showthread.php?p=1827545#post1827545
I tried the nightly .88. Unfortunately now I have a picture in the "black-screen-movies" of before but they are now jerky and also those who worked with .83 are jerky too…
Went back to .83…..
Maybe there is a way to override the “busy” flag of the hardware?....
(samples of working/not working movies are still available for download via PM link I have sent you)
nevcairiel
21st January 2018, 23:54
If you don't have enough CPU power to decode MVC in software, you're probably out of luck for the time being. I don't currently have the free time to spend multiple days of research on an obscure Intel hardware decoding bug. Bugs that entirely break playback and even lockup the entire player are not acceptable under any circumstances.
The behavior has now returned to how it always was since MVC support was introduced, and how it was in in the 0.70.2 release, so its not exactly a "change".
Klaus1189
22nd January 2018, 19:24
What is the difference between LAV Splitter Source and LAV Splitter?
LigH
22nd January 2018, 19:32
I believe the Source filters (in general) read the media files and analyze their container formats, and the actual splitter separates their content streams... so the splitter could work with a different source filter as long as it signals all required information about the container.
No guarantee for a correct and complete answer.
Klaus1189
22nd January 2018, 19:37
So I simply use both as external filters? The filters are not "arguing", because they do different things?
sneaker_ger
22nd January 2018, 19:52
LAV Splitter Source opens the file (via OS/file system API, maybe via streaming protocol) itself, LAV Splitter gets the file from another DirectShow filter. They don't compete against each other.
Undead Sega
23rd January 2018, 03:36
Hi guys, long time me coming back to the forums!
I've recently switched to LAV Filters since it was recommended as I've been using ffdshow for years, however it lacked HEVC/H265 decoding. Also it was great to configure which software or applications you can use it for decoding, in my case Premiere Pro and After Effects.
Now these days a lot of things is trending towards the newer codec however LAV Filters doesn't seem to decode the video in the aforementioned softwares and more so it doesn't have the configuration feature on where you would like the decoding to take place.
Is there any possibility to have such a feature on the filters? More importantly, isn't there any way to direct the filters to decode HEVC/H265 video in Premiere and After Effects??
poisondeathray
23rd January 2018, 06:08
Hi guys, long time me coming back to the forums!
I've recently switched to LAV Filters since it was recommended as I've been using ffdshow for years, however it lacked HEVC/H265 decoding. Also it was great to configure which software or applications you can use it for decoding, in my case Premiere Pro and After Effects.
Now these days a lot of things is trending towards the newer codec however LAV Filters doesn't seem to decode the video in the aforementioned softwares and more so it doesn't have the configuration feature on where you would like the decoding to take place.
Is there any possibility to have such a feature on the filters? More importantly, isn't there any way to direct the filters to decode HEVC/H265 video in Premiere and After Effects??
Is this an old version ? PP/AE can decode HEVC natively now
nevcairiel
23rd January 2018, 10:08
LAV is just a plain DirectShow filter, it doesn't have any specific support for any specific applications. Any app that can use DirectShow filters can also use LAV Video for decoding. I have no idea what Premiere or After Effects use for decoding, but I would honestly be a bit surprised if they actually used DirectShow.
varekai
23rd January 2018, 11:24
@el Filou
I've been going through all settings that have references to "Built-in" inside PotPlayer.
I changed/removed all that I could find.
Enabling or disabling "Use Built-in DXVA Video Decoder" makes no difference.
I just can't get subtitles to show! :\
As you can see here I don't have the "Pin Info" tab:
https://s17.postimg.org/e1w7bgo9b/LAV-_Splitter-_Source-1.png
https://s17.postimg.org/upnpe13m7/LAV-_Splitter-_Source-2.png
mclingo
23rd January 2018, 11:48
Warning - Dont click on those images if you are viewing this web site form work.. NSFW images.
varekai
23rd January 2018, 13:19
Warning - Dont click on those images if you are viewing this web site form work.. NSFW images.
What!!?
LigH
23rd January 2018, 13:25
I wonder too; I see the posted images only, just screenshots of the user interface. But maybe for some they load wrapped in ad-bloated websites with naughty content?
mclingo
23rd January 2018, 15:41
was covered in adverts of scantilly clad women, not suitable viewing at work
Gone now though, odd.
mclingo
23rd January 2018, 15:45
now back, but they've changed, not so NSFW any more but not ideal.
https://www.dropbox.com/s/ifos6uw7m7ivz7e/woman.png?dl=0
sneaker_ger
23rd January 2018, 15:56
Oh, I just noticed I posted something very wrong:
Could be that the PotPlayer internal splitter has some custom connection to the PotPlayer video decoder that passes the subtitle. LAV Video does not do that, in the LAV "ecosystem" the splitter is supposed to pass the subtitles to the video renderer (e.g. madvr) directly.
LAV Splitter doesn't pass the subtitles directly to madvr. It passes it to a subtitle renderer like e.g. AssFilterMod or XySubFilter and that subtitle renderer passes the video to madvr.
Sorry for the confusion.
LigH
23rd January 2018, 16:04
So...
@mclingo: For you, the request to "display the image" has been redirected to "display the image inside an advertizing website". Seems this does not happen to everyone. You may want to try to install browser add-ons which block known advertizing content and redirections (e.g. "uBlock Origin") and possibly even unwanted JavaScript (like "NoScript", but that can get a bit complex to handle).
@ varekai: There are also completely ad-free image hosters, e.g. https://frupic.frubar.net
nevcairiel
23rd January 2018, 17:52
In any case discussions about image hosters are entirely off-topic here.
varekai
23rd January 2018, 17:56
@ mclingo
Ahh... good catch, 'cause I never see the adverts.
Probably because I use NoScript and Adblock Plus.
You should harden your web browser with these two, their free, regullary updated and very good.
@ LigH
Thanks for the tips, will use that service next time.
@ sneaker_ger
Thanks for the info, I'll dig deeper into the subtitle issue I'm having.
el Filou
23rd January 2018, 20:42
As you can see here I don't have the "Pin Info" tab: https://s17.postimg.org/upnpe13m7/LAV-_Splitter-_Source-2.pngTry checking the 'Enable System Tray Icon' option, then an icon for LAV Splitter should appear in the taskbar during playback. Click that icon and see if the 'Pin Info' tab appears then.
nevcairiel
23rd January 2018, 20:43
"Pin Info" is something the player adds (ie. its something MPC-HC/BE do, other players may not have it).
Undead Sega
23rd January 2018, 23:59
Is this an old version ? PP/AE can decode HEVC natively now
It is, I am using CS6, the version(s) before they went Subscription and Cloud based :(
LAV is just a plain DirectShow filter, it doesn't have any specific support for any specific applications. Any app that can use DirectShow filters can also use LAV Video for decoding. I have no idea what Premiere or After Effects use for decoding, but I would honestly be a bit surprised if they actually used DirectShow.
So you saying there is absolutely no way for it to be used in other software as a decoder? it seems to do very well with Windows Media Player, being able to play non-standard files with subs with a restrictive player is pretty awesome! :)
nevcairiel
24th January 2018, 00:03
So you saying there is absolutely no way for it to be used in other software as a decoder? it seems to do very well with Windows Media Player, being able to play non-standard files with subs with a restrictive player is pretty awesome! :)
Its a DirectShow filter, it can be used in any software which uses DirectShow for video decoding - which WMP is one of. Software which doesn't use DirectShow also cannot use a DirectShow filter. See how that works? :D
varekai
24th January 2018, 12:42
Hahaha... after all testing various settings and searching for a solution it all comes down to this...
• Display Subtitles on Overlay/VMR/EVR Surface
F*** me... :D
https://frupic.frubar.net/shots/36370.png
https://frupic.frubar.net/shots/36371.png
https://frupic.frubar.net/shots/36372.png
https://frupic.frubar.net/shots/36373.png
Subtitles are now showing perfectly in PotPlayer!! LAV Filters working! All is good! Perseverance furthers... :D
Edit:
I'm lost... now what to do...? :/
Here is PotPlayer fullscreen where LAV and showing subs work:
https://frupic.frubar.net/shots/36381.png
The subs look really bad.
Here is PotPlayer fullscreen without LAV:
https://frupic.frubar.net/shots/36382.png
The subs look great.
Bozotheclown
24th January 2018, 19:06
Question:
The Vulkan API can be adopted for video decoding like D3D11 or OpenGL?
nevcairiel
24th January 2018, 19:37
Question:
The Vulkan API can be adopted for video decoding like D3D11 or OpenGL?
Vulkan has no benefits for video decoding. Neither does OpenGL.
Klaus1189
25th January 2018, 20:50
I beg to add WEBVTT subtitles support in LAV Filters. More and more YT videos have subtitles and it would be nice to play the videofile with subtitles of this kind. If you are interested and need a sample, let me know.
mkver
25th January 2018, 21:11
Are you sure that it is LAV Filters (and not your subtitle renderer or something else) that needs to be updated for this? Because if I look at the input formats that LAV Splitter handles I see webvtt among them.
sneaker_ger
25th January 2018, 22:45
In what form do you have them, anyways? Just a raw file on the HDD, trying via http or muxed in a container?
nevcairiel
25th January 2018, 22:51
There is still no subtitle renderer which even remotely supports any WebVTT features, so any such endavour would be rather fruitless.
I could add it, but then nothing would show it. Yay? Guess its not my problem anymore then =p
Klaus1189
25th January 2018, 23:22
What subtitle renderer is actively developed nowadays? Asking their Devs doesn‘t hurt.
arrgh
25th January 2018, 23:22
I'm having the Problem described here:
https://forum.doom9.org/showthread.php?p=1827545#post1827545
I tried the nightly .88. Unfortunately now I have a picture in the "black-screen-movies" of before but they are now jerky and also those who worked with .83 are jerky too…
Went back to .83…..
Maybe there is a way to override the “busy” flag of the hardware?....
(samples of working/not working movies are still available for download via PM link I have sent you)
If you don't have enough CPU power to decode MVC...
I hope/think you are wrong...
I flashed back an image from 8/2017 of a Win10x64 setup on this machine. Upgraded to Intel-driver .4901 (new style) and downgraded later to .4849 (old style).
LAV .88 played with both drivers with "LAV Hardware decoding" "None" and "D3D11" both types of MVC-files.
(the shut down of the player MPC-BE was with the difficult files a little bit tricky but in the end possible.)
LAV .83 played the good files without Problems (with both drivers), the bad ones gave a black screen, like in Win8.1x64.
In the Win8.1x64 setup I'm using .4860, which is in between the 4849 and the 4901, still LAV .88 does not work.
That tells me that my hardware is not "too weak", but the software has an issue... driver mainly but to some extend also the decoder and OS are involved.
I would hate to be forced to move back to Win10 because this system is constantly doing things behind my back I don't want...
On top comes that Madshi is advertising Win8.1 as the prefered media system. It would be a pity if modern CPU/Graphics like Kaby Lake would not be fully suported in Win8.1.
nevcairiel
25th January 2018, 23:49
The hardware decoding option has no impact on MVC decoding, it was always used when appropriate hardware was present, so your testing does not tell you what you think it tells you.
Anyhow as mentioned before, I do not have enough spare time right now to waste on trying to figure out whats wrong with weird Intel GPUs. So I will not work on this further. It functions now exactly like it did for all LAV releases before.
PS:
Intel/Microsoft does in fact only officially support Kaby Lake on Windows 10.
arrgh
26th January 2018, 00:11
The hardware decoding option has no impact on MVC decoding, it was always used when appropriate hardware was present, so your testing does not tell you what you think it tells you.
...it still stands : LAV .88 decodes both file-types ok, so the Hardware is not the problem...
Anyhow as mentioned before, I do not have enough spare time right now to waste on trying to figure out whats wrong with weird Intel GPUs. So I will not work on this further. It functions now exactly like it did for all LAV releases before.
I know, also from these posts... I will live with it...
https://forum.doom9.org/showthread.php?p=1831126#post1831126
https://forum.doom9.org/showthread.php?p=1831168#post1831168
PS:
Intel/Microsoft does in fact only officially support Kaby Lake on Windows 10.
I know... doesn't make it OK....
nevcairiel
26th January 2018, 00:22
...it still stands : LAV .88 decodes both file-types ok, so the Hardware is not the problem..
So everything is fine then. LAV decodes the files properly, and thats that.
Software decoding is independent of the OS you use, or the drivers you have installed, so if you're seeing issues on one OS and not on another, its far more likely that this is caused by the rendering - which is outside of LAVs control.
As a test, you should run it in SBS mode instead of frame-packed 3D, this avoids a lot of weirdness with 3D in the drivers, and could point you into the direction of whats going on.
PS:
You should really not speculate about peoples motivations. It'll only result in people getting pissed off and ignoring you in the future. Just sayin'
I didn't even like 3D before I ever implemented 3D MVC decoding, and yet its still something that exists. Weird, huh?
runner
26th January 2018, 10:06
the parsing of the ISO BDUHD with the LAV splitter unfortunately still does not work, will it be usable with the stable version?
LigH
26th January 2018, 10:12
How exactly does it "not work", can you provide useful details to tighten the scope?
nevcairiel
26th January 2018, 10:23
From what I'm told from other users, the latest nightlies should be working fine for UHD BD.
huhn
26th January 2018, 10:44
What subtitle renderer is actively developed nowadays? Asking their Devs doesn‘t hurt.
libass is in development but it is for ASS subs...
https://github.com/libass/libass
or assfiltermod which uses libass for ass
https://forum.doom9.org/showthread.php?t=173573
jmone
26th January 2018, 12:33
From what I'm told from other users, the latest nightlies should be working fine for UHD BD.
Yes works great. The only thing not working (at least with JRiver) is that there is no title selection.
Klaus1189
26th January 2018, 13:50
libass is in development but it is for ASS subs...
https://github.com/libass/libass
or assfiltermod which uses libass for ass
https://forum.doom9.org/showthread.php?t=173573
Does it make sense to ask the devs of this project for WEBVTT?
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.