View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
noee
15th April 2012, 13:30
Just built up to 6ecb12aadbfe (cloned ffmpeg) and all build just fine, but I get application crashes (StackHash) when starting playback, both MPC-HC (4360) and jrMC17. You guys working okay, just want to make sure it's at my end or not....
nevcairiel
15th April 2012, 13:35
Works fine here.
Anything particular about the files that crash? Do all crash?
noee
15th April 2012, 14:03
Just figured it out. It's all my 10-bit h.264 encodes. 8bits are fine.
nevcairiel
15th April 2012, 14:08
Just figured it out. It's all my 10-bit h.264 encodes. 8bits are fine.
I see. Can reproduce.
Looks like a ffmpeg problem.
izida
15th April 2012, 16:01
You can unreg like this :
1. Go to the folder where LAV-filters are installed.
2. Do you see these .bat files for reg/unreg each component ?
3. If not, download the .7z from LAV filters, this contains the .bat files to register/unregister each component.
4. You can also use "regsvr32 /u Lavvideo.ax", but it's safer to use the pre-made .bat files.
5 To register again : "regsvr32 Lavvideo.ax" (without quotes), or use the .bat file.
You didn't remove the LAV-splitter, right ? Leave the splitter as is.
Is the LAV-splitter used by BSPlayer ?
Does it still work if you don't unreg LAV-audio ?
What are your decoder settings for LAV-Video (softw decoding, CUVID, DXVA-CB, or DXVA native ?)
First try with lav-audio regged again.
Then set LAV-video on software decoding and see if this works.
Do you know whether the renderer in BSPlayer supports dxva ?
At the time I used BSplayer, they had a "self made" renderer, not something standard. Is this still the case ?
Edit : I installed Bsplayer262.1066 myself to check if it works with LAV :
Got it working, but there are still some issues :
LAV-video : it seems that the renderer somehow doesn't accept NV12 or YV12, so I set LAV-video to output RGB32.
This kind of works but the image is always upside-down !!
There is no option in BSP to rotate/flip images, so if nothing else is working, you could use FFDhow raw to flip the image.
see http://www.mediafire.com/conv/1dea45d4891f9f55659abba8a303058ba5a1b2ea1ddf375e556663a22b0c3f556g.jpg
Second issue is the usual when Haali Splitter is installed : this makes that BSP uses Haali instead of Lav-splitter.
I guess blacklisting Haali will solve this.
I've tried different formats (containers) and different codecs : LAV-video/audio were always used.
If you're interested, I could give you my .ini file with my settings.
Hi,i stuck on second, Do you see these .bat files
i have 7zip but dont see .bat files,just this:
http://i42.tinypic.com/70v2af.jpg
http://i44.tinypic.com/2s6lfuh.jpg
nevcairiel
15th April 2012, 16:17
I see. Can reproduce.
Looks like a ffmpeg problem.
10-bit H264 crash should be fixed again in Git.
Mercury_22
15th April 2012, 17:00
Hi,i stuck on second, Do you see these .bat files
i have 7zip but dont see .bat files,just this:
Use this Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.AX]
@="axfile"
[HKEY_CLASSES_ROOT\axfile\shell\Register]
@="Register"
[HKEY_CLASSES_ROOT\axfile\shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\axfile\shell\UnRegister]
@="UnRegister"
[HKEY_CLASSES_ROOT\axfile\shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\Register]
@="Register"
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister]
@="UnRegister"
[HKEY_CLASSES_ROOT\dllfile\shell\UnRegister\command]
@="regsvr32.exe /u \"%1\""
[HKEY_CLASSES_ROOT\.OCX]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register]
@="Register"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\shell\UnRegister]
@="UnRegister"
[HKEY_CLASSES_ROOT\ocxfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""and you'll get a "Register" and an "UnRegister" in your right click menu for every ax, dll and ocx file
Pat357
15th April 2012, 18:48
Hi,i stuck on second, Do you see these .bat files
i have 7zip but dont see .bat files,just this:
Sorry, my mistake ; I meant the .ZIP files from the official distribution ... .
THX-UltraII
15th April 2012, 20:17
what is the recommended budget videocard to use with LAV filters? NVIDIA (CUVID) or AMD (DXVA)? And which model?
SamuriHL
15th April 2012, 20:33
I would wait for a lower end Kepler based nVidia card. I'm likely to get a new card for my main HTPC this summer. Currently rebuilding the C2Q 8200 HTPC into an i7 3770K with an Asus Z77 board. Yes, I realize I'm another week away from being able to order the CPU but I've got the mobo and ram all ready to go. I currently have an AMD 5870 but I've decided that nVidia wins this round and will be going with whatever the top of the line nVidia solution is when I am ready to upgrade the video card. I would completely agree with anyone who said my proposed system is beyond overkill for an HTPC, but, I do a LOT of video editing and some gaming on it, as well. And I wanted something that'll last me another 3-4 years.
nevcairiel
15th April 2012, 20:50
You're not the only one just waiting for the CPU. I have a completely new HTPC, right now still in pieces, all components in their nice little boxes. I've been pondering between the 3570k or the 3770(k) though, guess final decision will be made on the price.
No GPU for the time being, see how the IVB GPU does. If its not enough, i'll probably go for a NVIDIA 640 or 650 once they hit. :)
Additionally, i'm on the lookout for a new receiver, but for some reason the 2012 Pioneers are not available in Europe yet..
noee
15th April 2012, 20:54
what is the recommended budget videocard to use with LAV filters? NVIDIA (CUVID) or AMD (DXVA)? And which model?
I recommend fanless HD6570 or some sort. For quite a bit more you could go with the fanless HD7750, quite an amazing card.
So far, all of the HD6xxx series HTPC builds I've done have been flawless installs, working as expected right out of the box, in dual-mon scenarios.
I've not done any 7xxx series HTPC builds.
Do you value silence, what are you predominantly watching?
SamuriHL
15th April 2012, 20:54
Nice, Nev. :) I wasn't going to upgrade the main HTPC but after rebuilding my bedroom machine with an i5 Sandy Bridge and watching it kicking the living crap out of my 8200 for video encoding by orders of magnitude I decided to say screw it. I also got some sick ram for this thing. 16 gigs corsair 2100 XMP. :D The ASUS board is going to be nuts once I get it put together. My parts are all sitting in boxes, too. I thought about using just the HD4000 but I do game and need to start Mass Effect 3 once I'm done with ME2, so, the 5870 stays until I can afford a nice Kepler based GPU...probably the 680. My son is psyched as he'll inherit a machine with the parts from the 8200. The 3770k should be about 332 USD which isn't horrible given how easily overclockable the thing will be. I for one can't wait.
THX-UltraII
15th April 2012, 21:05
hmmm, some advise for NVIDIA and some advise for AMD. So what s the best choise.......
Is a NVIDIA GT520 good enough?
Or if AMD is the best way to go, a 5450?
SamuriHL
15th April 2012, 21:10
It's a tough choice. nVidia has CUDA decoding so you can offload a lot of the decoding to the GPU. This will help on a lower power machine when using madVR. AMD with the 6xxx series or better yet the 7xxx series can work with DXVA2 decoding, which does the same thing, but, isn't quite as fast as what we've seen with nVidia. I have a 5870 now and it works fine with my c2q 8200 but I'm going nVidia as soon as I can afford it.
nevcairiel
15th April 2012, 21:11
The 520 is way too slow, and the 5450 isn't much faster either. I wouldn't use either of those cards.
THX-UltraII
15th April 2012, 21:28
thxz, what about a AMD 6570?
And what s the minimum for NVIDIA?
SamuriHL
15th April 2012, 21:48
I think the 6570 should be ok. Again to get decoding you'll have to use DXVA copy-back and with 60fps content you may run into some issues. I'm running an nVidia GTS 450 in my bedroom machine and it works fine. Nev ran one for a while, as well. I wouldn't go too much lower these days.
nevcairiel
15th April 2012, 21:49
The 440 is fine as well, some people are also happy with a 430 (just make sure to get one with fast GPU RAM), but thats the lowest limit.
DragonQ
15th April 2012, 21:50
By "fast GPU RAM" do you mean the one with GDDR5 rather than DDR3?
I'm pretty sure mine is DDR3 cos I couldn't find a passive version with GDDR5, but it's handled everything I've asked of it so far. Probably wouldn't work too well with 4k or anything though.
noee
15th April 2012, 21:56
I think the 6570 should be ok. Again to get decoding you'll have to use DXVA copy-back and with 60fps content you may run into some issues...
only with madVR. DXVA2 native LAV works great with EVR/EVR-CP in MPC-HC. I have no problem with 60fps content with "normal" bitrates.
SamuriHL
15th April 2012, 21:57
only with madVR. DXVA2 native LAV works great with EVR/EVR-CP in MPC-HC.
Yes, but, the person originally asking wants to use madVR as they posted this question there, as well. Pretty much any video card can handle DXVA2. :)
noee
15th April 2012, 22:01
Oh sorry, yeah, missed that little nugget. ;) Either way, if you're compelled to use MadVR with copy-back, works good too. I have two "test" machines right now, one running a HD6570 (GDDR3) and another running an HD6670 (GDDR5). The HD6570 will not play 2160p material smoothly, but the 6670 will.
nevcairiel
15th April 2012, 22:02
By "fast GPU RAM" do you mean the one with GDDR5 rather than DDR3?
GDDR5 is a safe way to get fast RAM, but there is also many types of DDR3 around.
First of all, make sure to get one with a 128-bit interface, some passive cards use a 64-bit memory bus, that will be bad.
Then, there is DD3 cards with 1600MHz RAM clock, and cards with 1200MHz, and then some with values in between (and maybe even some lower or some higher). You want one of the 1600MHz variants.
This whole issue does not apply to DXVA2 Native though, its only important for CUVID or DXVA2-CB.
SamuriHL
15th April 2012, 22:04
Oh sorry, yeah, missed that little nugget. ;) Either way, if you're compelled to use MadVR with copy-back, works good too. I have two "test" machines right now, one running a HD6570 (GDDR3) and another running an HD6670 (GDDR5). The HD6570 will not play 2160p material smoothly, but the 6670 will.
Nice. :) I didn't really have any issues with copy-back on my 5870, either, but, I haven't played any super high res content on it, either. I'm not sure if it's in that mode now or not. I haven't looked lately. :) The 8200 does fine for decoding anyway, so, not a big deal. The new i7 will have 0 issue with decoding. :D But for those looking for the minimum, that's good to know that the 6xxx series works fairly well.
noee
15th April 2012, 22:08
Yeah, and nev is right. 128bit min and fast GDDR3 or GDDR5, stay away from the AMD 54xx and 64xx series. I also have two Llano mobile machines (one is a daily driver, the other a test machine), one with a 6520 and another with a 6320 and I would not go below the 6520 on those platforms if you're looking for madVR usages. It's amazing how good madVR/LAV works on the 6520 APU in a multi-mon setup. The thing rarely goes above 25watts at the wall.
DragonQ
16th April 2012, 00:43
GDDR5 is a safe way to get fast RAM, but there is also many types of DDR3 around.
First of all, make sure to get one with a 128-bit interface, some passive cards use a 64-bit memory bus, that will be bad.
Then, there is DD3 cards with 1600MHz RAM clock, and cards with 1200MHz, and then some with values in between (and maybe even some lower or some higher). You want one of the 1600MHz variants.
I see. Apparently mine (http://uk.asus.com/Graphics_Cards/NVIDIA_Series/ENGT430_DC_SLDI1GD3/#specifications) has 1600 MHz, 128-bit DDR3 RAM. Not too shabby for a passive card.
This whole issue does not apply to DXVA2 Native though, its only important for CUVID or DXVA2-CB.
Yeah, so basically only important for those wanting to use MadVR.
ryrynz
16th April 2012, 03:05
Nev, with you pretty much hitting a milestone with LAV filters where new releases are generally tweaks and fixes, what interests you as far as development goes for LAV right now? Is it only the issues documented on the tracker?
If so, out of those what interests you the most to implement first? Or do you want to secretly spring them upon us? :p
nevcairiel
16th April 2012, 06:44
Nev, with you pretty much hitting a milestone with LAV filters where new releases are generally tweaks and fixes
Thats not because i'm done, but mostly because i have less free time to spend on LAV. :p
High on the list is probably audio mixing and support for dvd decoding in LAV Video, but who knows.
chros
16th April 2012, 08:42
The new i7 will have 0 issue with decoding. :D
And can the new i7 (ivy bridge) series utilize QuickSinc? Or just the i3 and i5 series?
And thanks for this fine hardware roundup ...
nevcairiel
16th April 2012, 08:43
And can the new i7 (ivy bridge) series utilize QuickSinc? Or just the i3 and i5 series?
All the IVBs can, you just need a mainboard with a graphics connector.
wanezhiling
16th April 2012, 08:55
And can the new i7 (ivy bridge) series utilize QuickSinc? Or just the i3 and i5 series?
And thanks for this fine hardware roundup ...
http://i.imgur.com/SvPdb.png
;)Dont buy HD2500
http://en.wikipedia.org/wiki/Ivy_Bridge_(microarchitecture)#Mobile_processors
Mobile IVBs GPU have higher frequency
The HD4000 of I7 3820QM/3920XM is a little stronger than 3770Ks.:p
nevcairiel
16th April 2012, 09:16
Mobile IVBs GPU have higher frequency
The HD4000 of I7 3820QM/3920XM is a little stronger than 3770Ks.:p
It also costs like 2 or 3 times as much. :D
egur
16th April 2012, 09:48
I am lost in the current hardware front, nowdays. Which chipset and which processor, videocard (integrated or it doesn't require this component) do I need if I want to get QuickSync decoder working?
I'm interested in both desktop and laptop ...
Thanks
For QS decoder to work you'll need:
H6x/Z68/Z75/Z77 chipset with a physical on board video connection (some Z68 don't have one). All SandyBridge based laptops should be fine as long as the Intel GPU is enabled (probably 99% of the laptops). P67 and X79 chipsets are not supported.
All SandyBridge CPUs support video acceleration with the exception of the extreme edition parts (SandyBridge-E) which do not have a GPU (all use the X79 chipset). Dual/Quad socket server parts do not have a GPU either. Single socket servers may or may not have a GPU depending on the model and OEM.
IvyBridge CPUs should work fine as long as they have a GPU enabled.
An enabled GPU can be seen in the device manager under display adapters. You may need to enabled the Intel GPU in BIOS in case you also have a discrete GPU.
Latest Intel driver is recommended but older drivers work fine too (usually). Don't use drivers from Windows Update, they are known to cause serious issues.
Desktop users can use latest drivers from Intel's download center. Laptop users may need to rely on the OEM's download web site as laptop drivers may be tweaked by the OEM.
wanezhiling
16th April 2012, 10:14
@egur
Do HD2500 and HD4000 have same audio/video features or 4000 owns more? Thanks.~:)
aufkrawall
16th April 2012, 11:07
nev, may I ask how long you you will still wait until you enable AYUV -> RGB conversion for EVR? :)
nevcairiel
16th April 2012, 11:27
nev, may I ask how long you you will still wait until you enable AYUV -> RGB conversion for EVR? :)
There is nothing to enable. I cannot make special rules for renderers, because i don't know which renderer is going to be used before its connected, and after the connection stuff cannot be changed anymore.
Just disable AYUV in the setting, and it'll do it.
egur
16th April 2012, 11:31
@egur
Do HD2500 and HD4000 have same audio/video features or 4000 owns more? Thanks.~:)
Same features different core count. More than enough decode performance for both models :)
tetsuo55
16th April 2012, 11:59
Don't use drivers from Windows Update, they are known to cause serious issues.So do you know if Intel has submitted new drivers to be added to windows update? The drivers provided are obviously the last version intel provided to microsoft.
ryrynz
16th April 2012, 12:09
Same features different core count. More than enough decode performance for both models :)
So the improvements to Quick Sync I read about are related to performance only? :( Oh well..
nevcairiel
16th April 2012, 12:17
So do you know if Intel has submitted new drivers to be added to windows update? The drivers provided are obviously the last version intel provided to microsoft.
Its not about the version used by Windows Update.
The drivers from Windows Update also sometimes are not complete. Last time i tried installing them, it didn't install the Media SDK libraries, which caused QuickSync to not work.
Honestly, just ignore Windows Update for something crucial as GPU Drivers.
So the improvements to Quick Sync I read about are related to performance only? :( Oh well..
He compared the HD2500 and the HD4000, both Ivy Bridge.
Anyway, the advantage over SNB is mostly performance, and the ability for 4k decoding.
The encoding side of things changed more then the decoding.
egur
16th April 2012, 12:54
I would extend the Windows Update driver download advice to all drivers from all manufacturers - just download from the manufacturer web site. WU drivers are smaller and de-featured and many times broken.
It could be that Microsoft wants smaller footprint drivers to lighten the load on their servers but it sort of beats the point of using WU.
SamuriHL
16th April 2012, 13:00
Doesn't ivy bridge also fix a deficiency in the sandy bridge hardware for 23.976 content? And I didn't consider this but it might be possible to enable the hd4000 for quicksync decoding even with my 5870? Now that would be neat!
Sent from my Xoom using Tapatalk 2
DragonQ
16th April 2012, 13:13
Ivy Bridge supposedly "improves" the 23.976 Hz situation but doesn't fix it completely. Maybe they'll get it right the...fifth time?
SamuriHL
16th April 2012, 13:19
Well I honestly don't care for two reasons...one my TV doesn't support anything but 60 and since I just blew all kinds of money upgrading my two htpc's I won't be getting a new one any time soon. And two I always use a discreet card for gaming anyway. Still it'd be nice to use quicksync for decoding.
Sent from my Xoom using Tapatalk 2
nevcairiel
16th April 2012, 13:24
Ivy Bridge supposedly "improves" the 23.976 Hz situation but doesn't fix it completely. Maybe they'll get it right the...fifth time?
The "23.976 situation" is not 100% correct on any GPU, so chances are that it'll be just fine with IVB. :p
Its just a technical limitation. PCs are meant for refresh rates like 60.000Hz, not 23.976023976. Integer rates are so much easier to accomplish for a PC with its clock generator. ;)
SamuriHL
16th April 2012, 13:26
The "23.976 situation" is not 100% correct on any GPU, so chances are that it'll be just fine with IVB. :p
OK, fair enough on that. You have a good point that no gpu gets it completely right. But since you said you're going to use it on your new htpc I guess you can let us know how close it really is. :)
Sent from my Xoom using Tapatalk 2
El Topo
16th April 2012, 18:48
Does anyone know if LAV DXVA2 Native works with EVR on an AMD E-350 (Brazos)? If so, what can it handle? 1080i with decent deinterlacing?
Just video or LiveTV too? No problems with video here (normally no deinterlacing is needed because 99% of the material is progressive).
LiveTV could be a problem (at least in my case) if the bitrate exceeds 15-16 mbit/s. Deinterlacing and high bitrates seems to be too much.
For testing I put in a 5570, and everything was fine...
Plutotype
16th April 2012, 19:34
Same features different core count. More than enough decode performance for both models :)
Hi Eric,
Does an Ivy Bridge i5 desktop CPU with HD4000 GPU provide enough power to work with madVR toughest scaling settings? I mean playback of untouched blu-ray video files with HD audio per HDMI.
Thanks
Pluto
nevcairiel
16th April 2012, 19:50
Does an Ivy Bridge i5 desktop CPU with HD4000 GPU provide enough power to work with madVR toughest scaling settings? I mean playback of untouched blu-ray video files with HD audio per HDMI.
I'll let you know in two weeks. :p
SNB can already mostly do it, should be just fine with IVB.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.