View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
Schwartz
30th May 2015, 01:20
Nope, it's a R9 270X. You think it's a performance issue?
Oh nevermind, I just read up on it. I guess there isn't any available.
nevcairiel
30th May 2015, 08:35
AMD doesn't do hardware decoding of HEVC at all yet.
Still no improvement for ProRes 32bit decoder? Quicktime works very good :(
James Freeman
1st June 2015, 09:28
Somehow MPC-HC plays an mp3 file with the same name as the mkv movie file together at one.
I can't disable the playback of both no matter what I try.
Is it LAV splitter or MPC-HC fault, really annoying, any help?
http://www.mediafire.com/convkey/d77a/lef9wdcghwsqds9zg.jpg
nevcairiel
1st June 2015, 09:36
Thats normal behaviour, and its MPC-HCs doing. Enable MPC-HCs audio switcher, then you can choose which should be playing. In fact, I don't understand why so many people disable it anyway.
James Freeman
1st June 2015, 09:47
For the simple reason (and fear) that it might interfere with the majestic work of LAV filter... ;)
Thanks.
foxyshadis
1st June 2015, 13:14
An audio with the same name as a video has been a longstanding traditional method of adding another language, too, just like subtitles. Keep your names even slightly different and it'll never happen.
using MDPN with an 48 bit RGB input lavfilter is outputting undithered 8 bit.
the problem is MPDN doesn't support 48 bit RGB is it possible to change the logic to output Y416 in this case?
nevcairiel
1st June 2015, 13:46
It'll prefer to stay in RGB. Conversions from RGB to YUV in LAV are all notoriously low quality, since it uses swscale for that.
is adding dithering an easy task? so it will look fine.
i will double check if this isn't the case already but i'm pretty sure it isn't.
edit: 48 bit RGB input outputted at 24 bit RGB looks undithered.
FireFreak111
4th June 2015, 11:05
Is LAV ever going to have a low-pass filter in its Mixer? I was comparing downmixed Stereo via the mixer for headphones compared to mixing done by a receiver, and used Interstellar's wormhole scene as an example (DTS-HD MA 5.1). It's LFE channel is complete garbage, and when downmixed via the mixer, all that garbage was mixed into the Stereo mix if I added LFE into it. When done via the receiver, there was also LFE being mixed in, but no garbage. Additionally, no clipping on the receiver while the volume seemed consistent (while using a 'Pure Audio' path where it apparently tone controls, EQ, etc) compared to LAV with clipping protection (and this is even without any LFE mixing). Without clipping protection, LAV has alot of clipping. Normalize Matrix just makes it really quiet. (and this is all with Philips X2 headphones, $300).
LAV's advantage seems to be the noise floor, if I send Stereo (WASAPI Exclusive) to the reciever, no noise floor. If I use the receiver's mixing, heavy noise floor, which is why I was testing LAV's mixer.
I know LAV isn't built to be a world-class audio mixer, but is there any plans for improvements in the future for the mixer?
burfadel
4th June 2015, 12:40
I know LAV isn't built to be a world-class audio mixer, but is there any plans for improvements in the future for the mixer?
Maybe someone could work on incorporating and updating AC3filter, since it's now open source and has the source code available:
http://www.ac3filter.net/wiki/Download_AC3Filter
nevcairiel
4th June 2015, 15:25
is adding dithering an easy task? so it will look fine.
i will double check if this isn't the case already but i'm pretty sure it isn't.
edit: 48 bit RGB input outputted at 24 bit RGB looks undithered.
48 -> 32/24 should use dithering.
Note that the only really fast conversion process is 48 -> 32, 24 is not very optimized.
Edit:
Looks like dithering was broken in that conversion code, fixed now.
MysteryX
4th June 2015, 21:52
I'm having issues playing AVS (AviSynth) files in Windows Media Player.
Someone recommended to go in Codec Tweak Tool, 'Preferred Splitter' and use LAV Filter as avs splitter.
Windows Media Player itself still doesn't play it properly but the ActiveX control version of it does accept the file, which is what matters.
How can I embed this setting change into a setup program? What specific registry key must be changed? And does this fix only works if LAV Filters (or K-Lite Codec Pack) are installed?
mindbomb
5th June 2015, 01:01
Somehow MPC-HC plays an mp3 file with the same name as the mkv movie file together at one.
I can't disable the playback of both no matter what I try.
Is it LAV splitter or MPC-HC fault, really annoying, any help?
in options>playback, there is an autoload audio files option that controls that, or you can use the audio switcher. To me, it seems like a legacy type thing to have audio and video separate like that.
I'm having issues playing AVS (AviSynth) files in Windows Media Player.
Even though it is possible, AviSynth scripts are not meant to be played with a DirectShow media player. For previews it is recommended to use a tool supporting VfW or the native AviSynth API (e.g. VirtualDub, AvsPmod, MeGUI, ffplay {ffmpeg} or rather mpv {mencoder}).
Avoid codec packs in general. They may install unexpected and unwanted software.
And yes, if you register LAV Filters as DirectShow splitter for AviSynth scripts, you will have to install LAV Filters on another PC to use the same trick there.
MysteryX
5th June 2015, 13:16
Even though it is possible, AviSynth scripts are not meant to be played with a DirectShow media player. For previews it is recommended to use a tool supporting VfW or the native AviSynth API (e.g. VirtualDub, AvsPmod, MeGUI, ffplay {ffmpeg} or rather mpv {mencoder}).
Avoid codec packs in general. They may install unexpected and unwanted software.
And yes, if you register LAV Filters as DirectShow splitter for AviSynth scripts, you will have to install LAV Filters on another PC to use the same trick there.
Any of these players can be used as ActiveX controls within an application?
No, because they don't use DirectShow. If you want a preview of AviSynth skripts in your application, you may better use the AviSynth API. Or at least "Video for Windows", even though it's getting ancient.
stax76
5th June 2015, 15:01
I still recommend the good old avifile API, it's very easy to get basic AviSynth and VapourSynth access.
nevcairiel
5th June 2015, 15:11
Even though it is possible, AviSynth scripts are not meant to be played with a DirectShow media player. For previews it is recommended to use a tool supporting VfW or the native AviSynth API (e.g. VirtualDub, AvsPmod, MeGUI, ffplay {ffmpeg} or rather mpv {mencoder}).
LAV Splitter also uses the native AviSynth API. It should work equally well, really.
MysteryX
5th June 2015, 21:51
There's no reason to spend a lot of time programming against AviSynth API when I can just get it to play in a WMP control.
I tried changing the setting while scanning for registry changes with RegShot. Wow, the report is 2.53MB with tons of registry keys changed!
Registry changes report
https://mega.co.nz/#!6BYDCRjB!ea7dt6UWePwwn1jFgUNJDP2nJY80fpHTTCcNv_00OxE
Are all these changes necessary to get it to work, or can I get AVS to use LAV Filters with editing just a few keys?
MysteryX
5th June 2015, 22:10
I might as well just create a page telling the user how to configure his system to use these features. It will be simpler and safer that way.
nevcairiel
5th June 2015, 22:14
Questions about changes done by third-party tools should be directed to the authors of such tools.
NikosD
8th June 2015, 21:15
This video plays fine with EVR/MadVR.
BUT with EVR-CP, it stutters repeatedly.
I tried all modes (SW, QS, DXVA cb/n)
Clip:
https://www.sendspace.com/file/fz55xh
sneaker_ger
8th June 2015, 21:25
Audio timecodes are fucked up (+10 for each frame instead of +10.6666....)
Demux audio and remux using mkvtoolnix to fix.
aufkrawall
8th June 2015, 21:45
Is HEVC 10 bit DXVA2 CB unlocked for GM204/200?
If I recall it right, it was originally advertised as being able to decode this via hybrid decoder.
It's software only here, so is it because of driver or LAV?
nevcairiel
8th June 2015, 21:51
10-bit is only available on the GTX 960, no hybrid support.
yonta
9th June 2015, 08:05
LAV splitter doesn't recognize mp3 audio track in this mp4 (https://drive.google.com/file/d/0B1mCVSSmbT2LXzN4aUIzUE5tQmc/view?usp=sharing).
All the other players I have read the track just fine.
filler56789
9th June 2015, 11:15
LAV splitter doesn't recognize mp3 audio track in this mp4 (https://drive.google.com/file/d/0B1mCVSSmbT2LXzN4aUIzUE5tQmc/view?usp=sharing).
All the other players I have read the track just fine.
That MP4 is broken.
Remuxing it with L-Smash results in a 1.75GB file, which remains broken as well.
yonta
9th June 2015, 11:37
That MP4 is broken.
Remuxing it with L-Smash results in a 1.75GB file, which remains broken as well.
i first made a sample with ffmpeg -t option but ffmpeg did some magic and LAV splitter recognized the audio track in the sample.
so i had to split the source by size to show the problem.
wanezhiling
9th June 2015, 11:49
Tried some other splitters, worked fine.
Aleksoid1978
9th June 2015, 13:22
Play fine using MPC-BE. ffplay also fine.
filler56789
12th June 2015, 01:28
F.W.I.W...
apparently LAV Splitter doesn't support multichannel DTS Express :confused:
samples: http://www.mediafire.com/download/8ic045b8n567nir/DTSX-samples.zip
Vasilich
12th June 2015, 07:42
F.W.I.W...
apparently LAV Splitter doesn't support multichannel DTS Express :confused:
https://github.com/foo86/dcadec :
Features not implemented:
Decoding of DTS Express streams
Applying dynamic range compression and dialog normalization
manolito
12th June 2015, 09:35
LAV Filters 0.65
The only unsupported DTS format that I know of is DTS Express, which is used for interactive commentary tracks on Blu-rays.
If the ArcSoft decoder is present, it will continue to be used for the time being, but in the long run I may even remove it.
Cheers
manolito
nevcairiel
12th June 2015, 09:40
apparently LAV Splitter doesn't support multichannel DTS Express :confused:
samples: http://www.mediafire.com/download/8ic045b8n567nir/DTSX-samples.zip
And that won't change until libdcadec supports DTS Express.
RealSnoopyDog
12th June 2015, 10:32
Even with the Arcsoft decoder, DTS Express is not supported correctly because the DTS express stream is an "overlay" which needs to be mixed together with the main audio channel. There is also a fading option which means when a commentary comes up on the DTS Express stream, then the main audio channel should be faded a bit.
With the Arcsoft decoder and LAV, you can hear the DTS Express audio commentary stream only isolated.
nevcairiel
12th June 2015, 10:37
LAV Audio is only a decoder, it decodes a single stream. What happens before or after LAV Audio is not its concern. Someone could easily use two instances of LAV Audio, decode two streams, and then overlay them afterwards, if they wanted to build a full Blu-ray player. But thats not something LAV Audio concerns itself with.
filler56789
12th June 2015, 11:00
Well, I only thought the problem was in the splitter, not in LAV Audio, because MPC-BE has no problems with the .MKA sample (it cannot deal with the .M2TS file though).
Okay, let's all wait until bumblebritches57@github turns on the green light :)
because the DTS express stream is an "overlay" which needs to be mixed together with the main audio channel
that applies only to Blu-Ray_compliant transport streams, not to standalone .M2TSs or .MKVs
RealSnoopyDog
12th June 2015, 12:51
Ah ok, i did not know that. I only know DTS-Express from some Blu-Rays that i have where this format is used for audio commentaries. Actually, DTS-Express is a low bitrate / low overhead codec which is perfect for compressing speech.
Borodin
16th June 2015, 17:43
I'm testing the Windows 10 Preview and am having some trouble with the LAV filters version 0.65.0.
Specifically, I'm getting "Display driver stopped responding and has recovered" repeatedly when I try to view a video.
It's an MP4 file containing AVC/AAC streams.
Any ideas? Any more information required?
nevcairiel
16th June 2015, 17:44
If your pre-release driver crashes on a pre-release OS, then you should complain to OS or Driver producer.
Borodin
17th June 2015, 01:20
If your pre-release driver crashes on a pre-release OS, then you should complain to OS or Driver producer.
I've been playing video files with Windows Media Player, Windows Video, and VLC media player, and all have been fine. It is only when I install the LAV filters and try to play through those that problems arise. I am sure the developers must have looked at Windows 10 compatability by now -- if not then it's been left a little late!
ryrynz
17th June 2015, 01:36
I am sure the developers must have looked at Windows 10 compatability by now -- if not then it's been left a little late!
Nevcairiel is the dev. If there's any issues he'll resolve them promptly, just wait until W10 is released. It's not RTM yet and AMD & Nvidia are still tweaking their drivers.
mindbomb
17th June 2015, 02:46
I'm testing the Windows 10 Preview and am having some trouble with the LAV filters version 0.65.0.
Specifically, I'm getting "Display driver stopped responding and has recovered" repeatedly when I try to view a video.
It's an MP4 file containing AVC/AAC streams.
Any ideas? Any more information required?
If you disable hardware video decode, I imagine it will stop crashing
Carpo
17th June 2015, 09:05
I've been playing video files with Windows Media Player, Windows Video, and VLC media player, and all have been fine. It is only when I install the LAV filters and try to play through those that problems arise. I am sure the developers must have looked at Windows 10 compatability by now -- if not then it's been left a little late!
The thing with Windows 10 at the moment is that it is not finished and subject to change on a daily basis, builds will change things as they come out to address issues found in Windows 10, so if Nev was to fix Lav to work with the current build of windows 10, the next build of Win 10 might cause Lav to not work the way it should and he will end up doing much work for no real gain.
As others have said, wait till Win10 hits RTM and I am sure Nev will look into all bug reports submitted then :p
VictorLS
17th June 2015, 10:22
Good day.
I have a weak one core CPU Athlon 3200+ (with nVIDIA GT220) which can decode only 2-5 frames per second of h265 3840x2160p50 with LAVFilters-0.65.0.9-git х86 in WinXPx86.
Can you add possibility of choise which type of frames to decode like in ArcSoft Video Decoder (see attach)? Also add something like "If present decode IDR frames only else decode I frames only" please.
I want to hear audio and don't want to spend much time of watching slow motion h265 UltraHD video ;)
One more thing, I like WindowsXP. Can you add DXVA1 support in LAV Video Decoder?
filler56789
17th June 2015, 11:40
Can you add possibility of choise which type of frames to decode like in ArcSoft Video Decoder (see attach)?
Based on Nev's answer to a similar request about H.264 decoding (specifically, to disable the deblocking filter),
I guess his answer about this request of yours will be another "NO" :)
I want to hear audio and don't want to spend much time of watching slow motion h265 UltraHD video ;)
Have you already tried the Lentoid Decoder from Strongene?
One more thing, I like WindowsXP. Can you add DXVA1 support in LAV Video Decoder?
Nope :)
VictorLS
17th June 2015, 16:25
Have you already tried the Lentoid Decoder from Strongene?
Under XP I get black screen (Malevich) with Lentoid HEVC Decoder 2.0.3.3 (
nevcairiel
17th June 2015, 16:28
As filler56789 already guessed, I do not deal in intentionally broken decoding modes. If your system cannot deal with 4K HEVC playback, you should stick to 1080p material, which will look much better anyway than skipping an undetermined amount of frames - or well, upgrade.
And yeah, no DXVA1 for XP. I didn't even consider doing it when XP was still a OS supported by MS, and I will most certainly not consider it now.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.