View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
Mercury_22
22nd December 2012, 02:25
@Nev Native it's broken now (black screen) and CB (too ?) seems to fallback to software (after latest ffmpeg update ?)
nevcairiel
22nd December 2012, 09:12
@Nev Native it's broken now (black screen) and CB (too ?) seems to fallback to software (after latest ffmpeg update ?)
Should be fixed.
Mercury_22
22nd December 2012, 12:19
Should be fixed.
It is :thanks:
After tray icons are done any chance to add up-mixing and independent volume for each channel (to be able to control that annoying lower volume from center and surround channel )?
nevcairiel
22nd December 2012, 12:54
Not much of a chance for channel volume, no. I told you before, i won't add such things, you will have to wait for a full matrix control.
Upmixing, i have no great interest in that because simple matrix upmixing just sounds bad.
AndreaMG
22nd December 2012, 16:26
Do you mean you overwrote the "old" .ax files BUT you didn't RE-register the "new" ones? :confused:
FWIW, the tray icons are working as they should over here (XP w/ SP3) :)
Thanks, now I made it work by simply overwriting the files without re-registering the "ax" files and by enabeling only LavVideo the first time I open a file, then I close it and when I reopen a new one only that icon appears (as it should), but if I begin messing with all the other Lav filters by ticking/unticking the tray icon option every single icon appears, maybe I'm doing something wrong, but for now I think I won't touch anything 'cause I need only the Video Icon to be there:)
bat69
22nd December 2012, 16:45
Any solution? :(
Hello, the way I use WMP12 with all codecs and splitters of LAV filters is disabling all windows codecs and splitters through 'win7dsfiltertweaker'. Disable all included 'Media Foundation' then works exclusively with LAV filters.
Sorry for my bad english.
the_weirdo
22nd December 2012, 17:15
Hello, the way I use WMP12 with all codecs and splitters of LAV filters is disabling all windows codecs and splitters through 'win7dsfiltertweaker'. Disable all included 'Media Foundation' then works exclusively with LAV filters.
Sorry for my bad english.
Also, you can use Codec Tweak Tool (http://codecguide.com/download_other.htm#codectweaktool) to set preferred DS source filters for various container formats.
P.J
22nd December 2012, 21:24
Hello, the way I use WMP12 with all codecs and splitters of LAV filters is disabling all windows codecs and splitters through 'win7dsfiltertweaker'. Disable all included 'Media Foundation' then works exclusively with LAV filters.
Sorry for my bad english.
It didn't help. I have the sound but no video =/
Dogway
22nd December 2012, 22:22
I just want to have noted I solved the issue I talked about on a previous post (http://forum.doom9.org/showthread.php?p=1597548#post1597548) in this thread.
AVS files now play seamlessly in MPC-HC using the Windows AVI/WAV File Source (splitter), and AVI Decompressor (Decoder). Now GraphStudio also loads and plays the avs just fine. I don't know what prevented it from working back then, but it really shouldn't be an issue on a healthy/working system. Just to say that the lack of support of LAVfilters for avs files shouldn't be a big deal, which was what I was worried about.
http://i212.photobucket.com/albums/cc35/Dogway/whoar_zpscbbb171c.png
Filter : AVI/WAV File Source - CLSID : {D3588AB0-0781-11CE-B03A-0020AF0BA770}
- Connected to:
CLSID: {E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}
Filter: madVR Renderer
Pin: Input
- Connection media type:
Video: YV12 1024x576 14.989fps
AM_MEDIA_TYPE:
majortype: MEDIATYPE_Video {73646976-0000-0010-8000-00AA00389B71}
subtype: MEDIASUBTYPE_YV12 {32315659-0000-0010-8000-00AA00389B71}
formattype: FORMAT_VideoInfo {05589F80-C356-11CE-BF01-00AA0055595A}
bFixedSizeSamples: 1
bTemporalCompression: 0
lSampleSize: 884736
cbFormat: 88
clsid
22nd December 2012, 22:47
Toggling the tray icon on/off a few times during playback causes a freeze. Seems related to this commit:
http://code.google.com/p/lavfilters/source/detail?r=000a91cb24ca6cf05532f67c0790f304dba6c950
Problem is gone if I change INFINITE to 2000ms.
nevcairiel
22nd December 2012, 23:13
Just changing the timeout is obviously a bad idea, because it would result in leaking a thread object if it never closes properly.
Instead, i rewrote the thread it close itself instead of blocking the calling thread, which eliminates the need for the wait entirely.
boyumeow
23rd December 2012, 04:34
Hi nev,
Just a request, can U make single click to tray icon when opens up menu setting pages to be placed at center of the screens, hope U understands what I mean.
Thanks.
nevcairiel
23rd December 2012, 09:13
I was looking into centering the settings page, but its not as easy as one might think, but i'll get to it, after the holidays.
DragonQ
23rd December 2012, 12:15
It's easy in .NET but I guess you're using C++?
robl45
23rd December 2012, 16:41
i apologize as I'm sure this has been asked 500 times, but just quickly I have been using cuvid and just tried dxva2 with my nvidia gt430 card. cpu usage is with mpc-hc is like half what it is with cuvid. any reason I shouldn't use dxva2 from now on?
dukey
23rd December 2012, 17:02
I was looking into centering the settings page, but its not as easy as one might think, but i'll get to it, after the holidays.
if its a dialog in VS
go to properties -> position -> centre -> true
;p
nevcairiel
23rd December 2012, 17:04
It obviously is not.
Pat357
23rd December 2012, 19:06
i apologize as I'm sure this has been asked 500 times, but just quickly I have been using cuvid and just tried dxva2 with my nvidia gt430 card. cpu usage is with mpc-hc is like half what it is with cuvid. any reason I shouldn't use dxva2 from now on?
If you want to save CPU power (I guess you don't have plenty of it), DVXA native consumes less CPU.
Reason is simple : with CUVID you need an extra copy from frames to CPU-memory, while this is not needed for DXVA native.
So, yes, go for DXVA all the way.
robl45
23rd December 2012, 21:22
If you want to save CPU power (I guess you don't have plenty of it), DVXA native consumes less CPU.
Reason is simple : with CUVID you need an extra copy from frames to CPU-memory, while this is not needed for DXVA native.
So, yes, go for DXVA all the way.
computer is 5 years old or so so not a lot of power. is cuvid going to be better? what will I be missing?
boyumeow
24th December 2012, 04:03
@nev,
There is 1 more thing, I open up the properties page thru' mpc external filters page, if I click the icon it will open up another same properties page again, hope this could be resolved too. I assume U could poke madshi on these matter since he has his icon long enough and I dun see those 2 problems I mention, hehe :D. But if he turn around and poke me, guess I will just lies here dead :p.
Whatever, all these will right after yours Holiday, enjoy and have your happy holiday everyday. :thanks:
wanezhiling
24th December 2012, 09:38
http://www.mediafire.com/?bff9fl5pytfegte
Hi nev, lav video decoder failed..
nevcairiel
24th December 2012, 09:40
@nev,
There is 1 more thing, I open up the properties page thru' mpc external filters page, if I click the icon it will open up another same properties page again, hope this could be resolved too.
That's not a problem, it's meant to work like that. If you open multiple pages, that's what you get.
aufkrawall
24th December 2012, 13:23
Having a problem on an Fusion E-350: It's too slow for DXVA deinterlacing with madVR (even half framerate) and YADIF doesn't work (due to DXVA?).
I think CB wasn't working well. I guess there's no solution?
nevcairiel
24th December 2012, 15:16
If your GPU can't even do half-framerate deinterlacing, then you're pretty much screwed. The CPU in the Fusion APUs is very slow as well, so doubtful you could pull of YADIF anyway.
aufkrawall
24th December 2012, 15:19
Thanks to DXVA, CPU usage isn't high when playing an HD video.
Later I'll give CB another try, but I'm afraid I'm really screwed. :(
DragonQ
24th December 2012, 18:28
Does DXVA2 not work with EVR on an E-350?
aufkrawall
24th December 2012, 18:46
Does DXVA2 not work with EVR on an E-350?
It does, but with GPU deinterlacing it's too slow too, at least with VC-1i 1080p.
Niyawa
25th December 2012, 04:30
Hey nev, thanks for LAV Filters, has been saving my life since months now. I have a question regarding DXVA2.
I'm using it with 8-bit videos, and it's been working well so far, but there are some videos that DXVA2 simply is not used. I'm not talking about 10-bit. For example, there's this anime with 2 Openings, one of them uses DXVA2 while the other doesn't, even thought they have the same video/container and were encoded with the same settings. I don't believe this is normal so I'm wondering if you have any ideas regarding what could be the cause. I'm using MPC-HC 1.6.6.6373 with madVR and Haali Splitter. Windows 8 x64 with Intel HD 4500. I'm using "DXVA2 (native)".
Sorry if I'm not being more detailed about it.
Edit: Thanks wanez for remembering me, was in madVR thread and forgot about it, 14 seconds is enough I presume? Here:
The one where DXVA2 is used (http://www.mediafire.com/file/umpwp5ckk80qj48/Code_Geass_ED-sample.mkv).
The one where DXVA2 is not used (http://www.mediafire.com/file/yd6y4huazufdtrs/Code_Geass_OP-sample-001.mkv).
wanezhiling
25th December 2012, 04:58
You missed the most detailed thing, a sample file.
The one where DXVA2 is not used (http://www.mediafire.com/file/7kugfo3rzl71ybp/Code_Geass_OP-sample.mkv).
Works fine here, haali -> lav native -> madVR
win7 + ivb 4000
nevcairiel
25th December 2012, 08:25
Indeed uses DXVA just fine for me too.
Niyawa
25th December 2012, 08:34
Works fine here, haali -> lav native -> madVR
win7 + ivb 4000
Indeed uses DXVA just fine for me too.
I guess I maybe found out what is the problem. Seems like when xy-VSFilter is present, it doesn't work. The sample I uploaded was without subs, so no wonder it works there, it worked here too now. Try this one instead (http://www.mediafire.com/file/yd6y4huazufdtrs/Code_Geass_OP-sample-001.mkv), but with xy-VSFilter renderer.
nevcairiel
25th December 2012, 08:37
Thats to be expected, any intermediate filter between the decoder and the renderer breaks native DXVA, and there is nothing you can do about it.
wanezhiling
25th December 2012, 08:38
Seems like when xy-VSFilter is present, it doesn't work. Try this one instead (http://www.mediafire.com/file/yd6y4huazufdtrs/Code_Geass_OP-sample-001.mkv), but with xy-VSFilter renderer.
:p No need to try, you just need to learn something.
Niyawa
25th December 2012, 08:39
Thats to be expected, any intermediate filter between the decoder and the renderer breaks native DXVA, and there is nothing you can do about it.
I see, didn't know about that. But that only happens with native and copy-back or with the others too? (CUVID or Intel QuickSync)
:p No need to try, you just need to learn something.
Indeed. I can literally say I learned something today. Last time I used DXVA was a long time ago when it was still at the first version (which was buggy as hell here), and xy-VSFilter didn't even exist I believe. Lately I've been trying DXVA2 so I could include in my guide, and came across the matter. It worked with internal subtitle but not with xy-VSFilter, I had to ask what exactly the "problem" could be, haha.
sneaker_ger
25th December 2012, 08:59
I see, didn't know about that. But that only happens with native and copy-back or with the others too? (CUVID or Intel QuickSync)
Only with DXVA2 native.
xy-vsfilter will be compatible with DXVA2 native and madVR in the not so distant future through a new interface that is similar to that of MPC-HC'S internal subtitle filter, though.
Niyawa
25th December 2012, 09:04
Only with DXVA2 native.
xy-vsfilter will be compatible with DXVA2 native and madVR in the not so distant future through a new interface that is similar to that of MPC-HC'S internal subtitle filter, though.
I see. Thanks guys for taking your time with me.
AndreaMG
25th December 2012, 18:30
Hi Nev,
I noticed that if I untick "DVD" under "codecs for hardware" the HW deinterlacing does not engages, is it correct? Would be possible to be able to soft decode and HW deinterlace? Thanks :)
nevcairiel
25th December 2012, 19:51
That is not possible. If you want hw deinterlacing with software decoding then let the renderer deinterlace.
AndreaMG
26th December 2012, 14:16
Thanks Nev.:)
wanezhiling
26th December 2012, 15:35
Hi nev, http://www.mediafire.com/?9htn5tj84ckaotz
Tested on lavf 6d05724, 2 issues:
1. Greenscreen with dxva2 native on Nvidia card @310.70whql
2. wrong field order(should be "top first" not "bottom frst"), seems that only cuvid mode is right.
nevcairiel
26th December 2012, 15:39
Some files simply have the wrong field order, there is an option to switch it exactly for that reason. :p
Its possible cuvid and ffmpeg have different defaults when no field order can be determined, who knows.
wanezhiling
26th December 2012, 15:43
Ok, how about greenscreen on nv card?
coreavc dxva is just fine.
nevcairiel
26th December 2012, 16:05
I'm looking into it.
nevcairiel
26th December 2012, 16:55
Ok, how about greenscreen on nv card?
Should be fixed.
wanezhiling
26th December 2012, 17:01
So fast..cool.:)
Anima123
27th December 2012, 07:02
Nev,
There's some glitches (no audio output at the L channel, the audio is stereo) with the audio when playing with a 720p rmvb file with raac audio after seeking for several times. This problem only appear when I use LAV Splitter, no problem with the splitter with mpc-hc 1.6.5 stable.
There's quite a few splitter problems with different containers with LAV Splitter, is there something you can do to improve it?
Anything that may help you tracing the bug, please don't hesitate to ask.
Regards,
nevcairiel
27th December 2012, 10:27
There's some glitches (no audio output at the L channel, the audio is stereo) with the audio when playing with a 720p rmvb file with raac audio after seeking for several times. This problem only appear when I use LAV Splitter, no problem with the splitter with mpc-hc 1.6.5 stable.
Sample file or it didn't happen.
For the record, RMVB is just a horrible format.
There's quite a few splitter problems with different containers with LAV Splitter, is there something you can do to improve it?
That sounds more like trolling then a bug report.
Accurate problem descriptions, with sample files, or nothing can be done.
For the record, it works just perfectly for me. :p
Mercury_22
27th December 2012, 10:55
http://www.mediafire.com/?bff9fl5pytfegte
Hi nev, lav video decoder failed..
I can confirm this but the splitter seems to be the problem cause enabling the internal splitter in MPC-BE (http://aleksoid.voserver.net/MPC-BE/?C=M;O=A) and using lav video and audio the sample it's working using lav splitter it doesn't
nevcairiel
27th December 2012, 11:04
The file has a "odd" FourCC used by one specific authoring tool, apparently.
There is two ways to fix such a file, either you overwrite the type in the splitter, or you make the decoder recognize the FourCC, i decided to do the second.
Mercury_22
27th December 2012, 11:43
The file has a "odd" FourCC used by one specific authoring tool, apparently.
There is two ways to fix such a file, either you overwrite the type in the splitter, or you make the decoder recognize the FourCC, i decided to do the second.
Seems to be working now :thanks:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.