View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
pankov
18th April 2012, 20:54
You mean the drop from around 0:07 to 0:10?
I dont get a volume difference, and really, its also impossible. Volume is not controlled by the decoder.
Most likely its the audio renderer doing something odd. Maybe its applying some sort of normalization or clipping protection, and during the drop there is a corrupted audio packet with a loud noise in it that causes it to trigger, and decrease volume of the whole stream.
You can try to switch it to 16-bit integer output or something like that, in that mode LAV Audio will apply clipping itself, while in float audio it can in theory go above 100%.
Most other decoders don't default to float audio, which would hide this problem.
OK
I see now that it's render dependent. With Direct Sound on my Realtek ALC889 I have the problem but with WaveOut or Intel's HDMI output there is no issue. The strange part is that if I only change the decoder to ffdshow the problem disappears. And I did configure both LAV and FFDshow to use 32bit integer output. Changing the output format in LAV doesn't make any difference. The problem is always present while with FFDShow it's working in any output format.
Edit:
I think the problem is not in the output format but in channel mixing.
I'm using only 2 desktop speakers and I've configured ffdshow's mixer to output 2.0. If I disable it the problem is present with ffdshow too.
I just noticed using ffdshows info window that during the "drop out" the number of channels change from 5.1 to 2.0
Could this somehow confuse the Windows's / Realtek's downmixing engine?
Edit2:
I just noticed that the audio level is different if I use ffdshows internal downmixer opposed to the windows' one. With ffdshow it's bit louder. At the same time it has the same loudness (as far as my hearing is good enough) as LAV's 5.1 output using the windows mixer.
Does any of this make any sense?
nevcairiel
18th April 2012, 21:04
Could this somehow confuse the Windows's / Realtek's downmixing engine?
I suppose it could, yes.
Superb
18th April 2012, 21:09
Edit2:
I just noticed that the audio level is different if I use ffdshows internal downmixer opposed to the windows' one. With ffdshow it's bit louder. At the same time it has the same loudness (as far as my hearing is good enough) as LAV's 5.1 output using the windows mixer.
Does any of this make any sense?The ffdshow mixer adds a gain to the center channel when it downmixes 5.1 to 2.0.
The Windows mixer doesn't.
That's like the main reason people have trouble w/ LAV Audio. ("volume too low")
bluewaff
18th April 2012, 21:42
Hello there.
I seem to have a problem with LAV filters since I updated from version 0.49 to 0.51.
Whenever I try to play a video file that uses DXVA-copy-back, Potplayer just starts eating a lot of RAM until it reaches the available maximum and then crashes.
There are no problems if I disable DXVA or if I switch back to 0.49 (I chose the latter option).
I have the latest AMD drivers and I don't think the configuration specs will help, since the problem clearly took place in something at the version 0.5 (previous versions work fine).
Configuration:
-PotPlayer 1.5.32852 Beta
-LavFilters 0.51
-madFlac 1.10
-HaaliMedia splitter (for MKV files)
-madVR 0.82.5
-xy-vsfilter
P.S.: didn't report this in the 1st day of release because of the "wait-time" on posting in these forums (also by the time that time passed, I had already forgotten about it).
Hope for some reply :D Thanks and keep up the good work. Really love your decoders.
nevcairiel
18th April 2012, 22:09
I seem to have a problem with LAV filters since I updated from version 0.49 to 0.51.
Whenever I try to play a video file that uses DXVA-copy-back, Potplayer just starts eating a lot of RAM until it reaches the available maximum and then crashes.
This is already fixed.
Its caused by Haali Splitter, so as an alternative you can also switch to LAV Splitter temporarily, until the update for LAV is released.
bluewaff
18th April 2012, 22:29
This is already fixed.
Its caused by Haali Splitter, so as an alternative you can also switch to LAV Splitter temporarily, until the update for LAV is released.
Thanks for the reply. That worked wonders.
jmone
18th April 2012, 23:05
I've a Shuttle SH67H7 that I use for the HTPC (great small format the same height as AVR Equipment and low noise!) Good news is that after speaking with the support line they will be brining out a BIOS update to support IVB so I can just do a CPU swap and get the better IGP :)
SamuriHL
18th April 2012, 23:14
I've a Shuttle SH67H7 that I use for the HTPC (great small format the same height as AVR Equipment and low noise!) Good news is that after speaking with the support line they will be brining out a BIOS update to support IVB so I can just do a CPU swap and get the better IGP :)
Nice. I guess there is a benefit to having all your eggs in one basket (everything on the CPU). ;) Those with the Z68's don't really have to update to a Z77. Just get a new bios update, pop in an IVB CPU and away you go. That's pretty sweet.
pankov
18th April 2012, 23:15
Guys,
did anybody of you try to demux the DTS-HD MA audio track from any of the Die Hard BDs?
I just did that for all 4 movies using tsMuxeR 1.10.6 and there is a problem with the duration of the resulting .dts files when I open them with LAV Splitter Source and LAV Audio Decoder. For example the for the first movie (Die Hard) the duration is 3:16:15 while the movie is actually 2:12:07.
Is this a bug in tsMuxer or LAV?
What do you use for demuxing your BluRay discs?
SamuriHL
18th April 2012, 23:17
What happens when you play the original without demuxing it? Does LAV show the correct information? I don't demux mine....exactly. I use MakeMKV to convert them to MKV's. I haven't done that with the Die Hard set yet, however.
pankov
18th April 2012, 23:21
It plays just fine with the correct duration and correct audio track (dts-hd ma) automatically selected by LAV Splitter Source.
SamuriHL
18th April 2012, 23:38
Then I would suggest that it's likely a problem with the demuxing process...
jmone
19th April 2012, 00:13
Nice. I guess there is a benefit to having all your eggs in one basket (everything on the CPU). ;) Those with the Z68's don't really have to update to a Z77. Just get a new bios update, pop in an IVB CPU and away you go. That's pretty sweet.
From http://en.wikipedia.org/wiki/LGA_1155 "Sandy Bridge chipsets, except Q65, Q67 and B65, support both Sandy Bridge and Ivy Bridge CPUs though a BIOS upgrade is required" so current SB Users with a H61, H67, P67 as well as Z68 should be in luck.
SamuriHL
19th April 2012, 00:48
From http://en.wikipedia.org/wiki/LGA_1155 "Sandy Bridge chipsets, except Q65, Q67 and B65, support both Sandy Bridge and Ivy Bridge CPUs though a BIOS upgrade is required" so current SB Users with a H61, H67, P67 as well as Z68 should be in luck.
Exactly. That's awesome. Granted, the Z77's etc do provide a few nice features. 4 USB 3.0 ports and PCI3. Some of the Sandy Bridge boards had that stuff included through other chips anyway, so, not everyone will care about the new features. Like I said, if you have a Sandy Bridge board, there's very little incentive to buy a new one. I'm coming from a q8200, so, um, yea. :)
nevcairiel
19th April 2012, 06:49
I just did that for all 4 movies using tsMuxeR 1.10.6 and there is a problem with the duration of the resulting .dts files when I open them with LAV Splitter Source and LAV Audio Decoder. For example the for the first movie (Die Hard) the duration is 3:16:15 while the movie is actually 2:12:07.
The code that deals with raw dts files is designed for "core" dts streams, where the duration is quite simply filesize divided by bitrate.
However, a dts-hd stream has no constant bitrate, so this logic doesn't work properly, resulting in wrong durations. Getting the correct duration on vbr files would require quite some significant indexing of the file, and i doubt anyone wants to wait that long when opening it.
So, just ignore durations of dts-hd files, they'll always appear longer then they actually are.
I've a Shuttle SH67H7 that I use for the HTPC (great small format the same height as AVR Equipment and low noise!) Good news is that after speaking with the support line they will be brining out a BIOS update to support IVB so I can just do a CPU swap and get the better IGP :)
Note that some GPU improvements are in the chipset on the mainboard. This mostly affects the 23.976 issue, if that ever bothered you.
jmone
19th April 2012, 08:40
Note that some GPU improvements are in the chipset on the mainboard. This mostly affects the 23.976 issue, if that ever bothered you.
I used to hate their 17-sec stutter at 23.976/24hz in the G33/45 days which sent me to seperate GPU but I've no issue thesedays on intel IGP (well in MC17 using LAV and VideoClock)
wanezhiling
19th April 2012, 15:53
http://downloads.guru3d.com/Nvidia-GeForce-301.32-Beta-64-bit-download-2902.html
:)
nevcairiel
19th April 2012, 15:59
http://downloads.guru3d.com/Nvidia-GeForce-301.32-Beta-64-bit-download-2902.html
:)
These are developer drivers designed for testing the new CUDA SDK 4.2, i wouldn't generally recommend running developer drivers. :)
jakmal
19th April 2012, 19:57
http://downloads.guru3d.com/Nvidia-GeForce-301.32-Beta-64-bit-download-2902.html
:)
I was just trying out that set of drivers yesterday on a 540M system, and CUVID + madVR resulted in a blank screen, with just audio being played back.
Rolled back to the 296 release, and everything was fine again.
nevcairiel
19th April 2012, 20:51
I was just trying out that set of drivers yesterday on a 540M system, and CUVID + madVR resulted in a blank screen, with just audio being played back.
Rolled back to the 296 release, and everything was fine again.
Turn off "Use separate device for presentation", all drivers of the 300 series suffer from that.
DragonQ
19th April 2012, 21:20
Something you guys might know...I have a TS file recorded from TV that MadVR refuses to deinterlace. MediaInfo reckons it's progressive, so I guess it's flagged incorrectly.
What program can I use to change the interlaced flags? TS-Doctor doesn't seem to offer this feature.
jakmal
19th April 2012, 21:29
Something you guys might know...I have a TS file recorded from TV that MadVR refuses to deinterlace. MediaInfo reckons it's progressive, so I guess it's flagged incorrectly.
What program can I use to change the interlaced flags? TS-Doctor doesn't seem to offer this feature.
Better asked in the madVR thread, but maybe you could try this setting in madVR under deinterlacing : When in doubt, activate deinterlacing (this is not the default).
DragonQ
19th April 2012, 21:41
Already got that option on. :(
nevcairiel
19th April 2012, 21:42
Already got that option on. :(
You can activate the "Force Deinterlacing" option in LAV, but it should not be on for normal files.
I think madVR also has a key-combination to active it temporarily. Possible ctrl-shift-alt-d for deinterlacing. :p
Search the madVR changelog, its in there somewhere i bet.
jakmal
19th April 2012, 21:52
On a slightly related note, I am using LAV Filters 0.50.1 with the latest madVR on a 540M system -- CUVID + madVR. GPU usage goes through the roof for 1080p playback (testing chroma upsampling with the HQV clip).. On a GT440, it is not that bad... What are the drawbacks to using a mobile GPU like the 540M over the GT440? The core clock speeds are approximately the same (and I believe both 540M and 440 belong to the same family)..
DragonQ
19th April 2012, 22:17
You can activate the "Force Deinterlacing" option in LAV, but it should not be on for normal files.
I think madVR also has a key-combination to active it temporarily. Possible ctrl-shift-alt-d for deinterlacing. :p
Search the madVR changelog, its in there somewhere i bet.
Hmmmm this is strange. With a normal file name, "auto" deinterlacing sets itself to "off". When I add "50i" to the end of the file name, "auto" deinterlacing sets itself to "on" according to the OSD but deinterlacing is definitely still off. :/
I'll ask in the MadVR thread. :)
wanezhiling
20th April 2012, 01:26
On a slightly related note, I am using LAV Filters 0.50.1 with the latest madVR on a 540M system -- CUVID + madVR. GPU usage goes through the roof for 1080p playback (testing chroma upsampling with the HQV clip).. On a GT440, it is not that bad... What are the drawbacks to using a mobile GPU like the 540M over the GT440? The core clock speeds are approximately the same (and I believe both 540M and 440 belong to the same family)..
On a laptop machine, since 285.62WHQL every media player whose name contains "player" are forced to run in iGPU mode.:o
jakmal
20th April 2012, 01:33
On a laptop machine, since 285.62WHQL every media player whose name contains "player" are forced to running in iGPU mode.:o
Can you elaborate further? What exactly do you mean by iGPU mode ? I tried madVR + CUVID as well as madVR + DXVA2 copy back. In the DXVA2 copy back mode, I could see VPU being stressed. I don't remember what happened in CUVID exactly, but CPU utilization was low, and LAV status indicated CUVID being active.
I never remember seeing madVR stress the GPU as much as I saw on the 540M system, but admittedly, this is the first time that I actually am using a mobile NV GPU with that renderer.
Also, on a separate note, Hendrik, is it possible to activate QuickSync decode in LAV Video Decoder in a SNB + NV GPU system? Virtu is available. I would also like QS decoder output to be rendered by madVR using the NV GPU (Just academic curiosity)
thomaz909
20th April 2012, 03:00
i want to use an intel quicksync cpu/gpu for decoding stuff with lav filters on win xp.
but the display output will be done by an ati dedicated gfx card.
does this work or do i have to connect the display to the intel display device to have quick sync acceleration ?
wanezhiling
20th April 2012, 04:50
@jakmal
On a laptop machine, NVIDIA forced to use iGPU if your media player is on Nvidia's lists since the 285.62WHQL driver. According to my experience, almost all famous players dont "survive", MPC-HC, PotPlayer...etc.:D (PS: MPC-BE is not on NVIDIAs "blacklist";))
For example, PotPlayerMini.exe which is unfortunately on the "blacklist".
ArcSoft DXVA (http://i.imgur.com/UUEmU.jpg), forced to run in iGPU mode.
CoreAVC DXVA (http://i.imgur.com/QBbOZ.jpg), forced to run in iGPU mode.
CyberLink DXVA (http://i.imgur.com/bptwP.jpg), forced to run in iGPU mode.
ffdshow DXVA (http://i.imgur.com/9jlpW.jpg), forced to run in iGPU mode.
LAV DXVA2 native (http://i.imgur.com/8ChE8.jpg), forced to run in iGPU mode.
ManConcept DXVA (http://i.imgur.com/KHA3R.jpg), forced to run in iGPU mode.
MPC-HC DXVA (http://i.imgur.com/zVRYv.jpg), forced to run in iGPU mode.
MicroSoft DXVA (http://i.imgur.com/8NTJX.jpg), forced to run in iGPU mode.
PotPlayer DXVA (http://i.imgur.com/MVCEy.jpg), forced to run in iGPU mode.
CyberLink HAM (http://i.imgur.com/mKvfI.jpg), forced to run in iGPU mode.
LAV DXVA2 copy-back (http://i.imgur.com/K1mXw.jpg), forced to run in iGPU mode.
PotPlayer DXVA renderless (http://i.imgur.com/Wva3T.jpg), forced to run in iGPU mode.
Though CUDA decoding is still available.:)
CoreAVC CUDA (http://i.imgur.com/mNK5I.jpg), still active.:)
LAV CUVID (http://i.imgur.com/o88hs.jpg), still active.:)
PotPlayer CUDA (http://i.imgur.com/gDB0I.jpg), still active.:)
To avoid the driver restriction, renaming PotPlayerMini.exe to example PotPlayerMini1.exe is a good way.:)
For example PotPlayer DXVA(NVIDIA) (http://i.imgur.com/nldPx.jpg) was back after renaming.:)
The second way is to connect a display device to the HDMI output, to use the Nvidia GPU.
The third way is to use NVIDIA Inspector (http://blog.orbmu2k.de/tools/nvidia-inspector-tool) to manually choose NVIDIA GPU for your player.(Be sure you didnt install Nvidia update module within their driver)
540M and 430/440 belong to the same GF108 family, should have same playback with "LAV CUVID + madVR". :)
@thomaz909
http://forum.doom9.org/showthread.php?t=162442
Requirements:
3. Windows 7 (32/64) or newer OS. Should work in Vista but I can't test this.
chros
20th April 2012, 07:55
I never remember seeing madVR stress the GPU as much as I saw on the 540M system, but admittedly, this is the first time that I actually am using a mobile NV GPU with that renderer.
I think that's because of the native resolution of the 2 display on which you're doing the playback: what are the 2 screen resolutions? (on laptop and on desktop)
@wanezhiling: thanks, but I still don't know what iGPU means ... :)
jakmal
20th April 2012, 08:45
I think that's because of the native resolution of the 2 display on which you're doing the playback: what are the 2 screen resolutions? (on laptop and on desktop)
@wanezhiling: thanks, but I still don't know what iGPU means ... :)
Both are 1080p :) The machine I am testing is actually the ASRock Vision 3D 252B, so it is basically a desktop with laptop internals (Core i5-2520M + GT 540M). My GT 430 testbed involved a Clarkdale i5-680 and a GT430 in a H55 microATX mobo, but that was approx. 6 months or so back and driver versions as well as madVR / LAV have changed quite a bit in the meanwhile..
wanezhiling
20th April 2012, 10:32
:)iGPU = Intel GPU
RBG
20th April 2012, 10:47
Also, on a separate note, Hendrik, is it possible to activate QuickSync decode in LAV Video Decoder in a SNB + NV GPU system? Virtu is available. I would also like QS decoder output to be rendered by madVR using the NV GPU (Just academic curiosity)
Yes it is possible, and you even don't have to use virtu for that.
nevcairiel
20th April 2012, 10:55
:)iGPU = Intel GPU
Actually, the proper term is "Integrated GPU", the fact that its an Intel GPU is just coincidence.
wanezhiling
20th April 2012, 10:59
Yup it's just coincidence.:)
chros
20th April 2012, 14:26
On a laptop machine, NVIDIA forced to use iGPU to do the HW decoding job if your media player's name contains "player" since the 285.62WHQL driver.
After knowing what iGPU means, your post makes sense for me, too :)
Thanks for the info, I didn't know that (in my GX620 there isn't integrated gpu).
And why the hell nvidia do such a restirction??? I only can think of the battery usage, but ........ :)
To avoid the driver restriction, renaming PotPlayerMini.exe to example Pot.exe is a good way.:)
Thanks for the tip!!!
luke823
20th April 2012, 15:34
I'm a little confused about MadVR and LAV both having video decoders, and which I should be using when using them together. Does anyone have any thoughts?
sneaker_ger
20th April 2012, 16:24
They both offer the same quality.
Main differences:
LAV Video has hardware decoders and software (libav + WMO for VC-1) decoders, madVR only software (libav + intel) decoders
LAV Video supports many formats, madVR only H.264, VC-1 and MPEG-2
LAV Video allows you to have a filter between decoder and renderer (like DirectVobSub), madVR's design does not allow that
Andy o
20th April 2012, 16:24
Right now there are few if any advantages to using madVR's decoders compared to LAV. LAV can do hardware acceleration with madVR, for instance. madVR's HW deinterlacing is compatible with more cards though, and does things like IVTC.
nevcairiel
20th April 2012, 16:27
madVR's HW deinterlacing is compatible with more cards though, and does things like IVTC.
But if you use LAV or not has no influence on that, so for this discussion, pointless.
jonaruto
21st April 2012, 16:48
hello.
Is it possible to play an FLV with speex audio in it, in MPC? Or it has nothing to do with you?
I mean, I can play it, but get no audio.
Thanks!
Midzuki
21st April 2012, 17:17
Is it possible to play an FLV with speex audio in it, in MPC? Or it has nothing to do with you?
I mean, I can play it, but get no audio.
I wasn't aware the FLV container supports Speex audio :confused:
Anyway, you need either a Directshow decoder ( http://xiph.org/dshow/ ) OR an ACM decoder (which yes does exist, sir) for Speex.
NOTICE, I don't know whether the Xiph codecs can connect to other splitters than their own.
xiulet
21st April 2012, 18:07
hi, my friends i have a hd 4000 intel gpu, and intel quicksync is not available, i suppose this is quite normal, it just requires a update isn't it? (i am using madvr and mpc-hc)
thanks so much for this great program to the author and contributors. :)
adéu.
wanezhiling
22nd April 2012, 05:29
http://www.mediafire.com/?u986j9b7069a1zd
LAV splitter failed.
mindbomb
22nd April 2012, 20:00
hi, my friends i have a hd 4000 intel gpu, and intel quicksync is not available, i suppose this is quite normal, it just requires a update isn't it? (i am using madvr and mpc-hc)
I think you have to have a display attached to the hd4000
xiulet
22nd April 2012, 20:05
I think you have to have a display attached to the hd4000
ok, i will try to connect hdmi motherboard , now i am using ati-hdmi
i just buy this new hardware and i don't have practice much with it.
thanks.
RBG
22nd April 2012, 22:48
xiulet
You don't have to connect physical display to iGPU to use QuickSync. Try this. (http://forum.doom9.org/showpost.php?p=1532786&postcount=186)
xiulet
23rd April 2012, 13:02
when connect the hdmi-motherboard to receptor it works well , but have problems with dts hd audio, i can't use "don't connect physical mode", for the moment thanks for information RBG.
ad1
Gleb Egorych
23rd April 2012, 15:37
nevcairiel,
After prolonged testing (>1 month) I can say that the hang bug (http://forum.doom9.org/showthread.php?p=1565660#post1565660) didn't appeared during "normal" use. I tested LAV Filters 0.50.1 and Zoom Player 8.1.5 (and pre-release versions). I was able to reproduce it once by holding S button but it wasn't easy. Interestingly, old versions like 0.39 and 0.40 are also affected (as it turned out) but again it didin't appeared during normal use.
So I suppose it's a very low priority bug.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.