View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
Qotscha
5th March 2013, 18:43
Hello,
I use Lav with MPC classic. When I change between "0-255" and "16-235" in the option of LAV filter there' no change.
For information, with ffdshow if I do the same thing it's work.
Some body can help me?
Thank you!
When using EVR CP renderer (like shown in your screenshot) you can change between 0-255 and 16-235 like this:
http://i.imgur.com/QAXPPGU.png
itsonlyjustincase
5th March 2013, 21:12
I have tested CoreAVC and it doesn't work with CUDA anymore. The icon doesn't turn green and the video stays black. I think my CUDA for an unknown reason doesn't work anymore that is why i have poor performance in LAV with CUVID enabled. It's weird as i have just reinstalled my system and i have tried the old official asus nvidia drivers and the latest :s
Someone could help me ?
Famille_CB
5th March 2013, 23:52
When using EVR CP renderer (like shown in your screenshot) you can change between 0-255 and 16-235 like this:
http://i.imgur.com/QAXPPGU.png
I try your solution. With 0-255, colours are less washed out than with 16-235. But it's still little bit washed out.
I would like to do the job by the LAV decoder. In fact it's to use with XBMC (the directshow version). The option in LAV filter should works isn't it?
Thank for your support.
Regards.
paradoxical
6th March 2013, 00:38
The option works just fine if LAV is doing RGB output. The effect is immediately noticeable when I change between them. If you aren't seeing the option make any difference that means LAV is sending out YUV not RGB. Uncheck all colorspaces but RGB and you'll see it.
Killerattacks
6th March 2013, 08:00
First of all, thanks for your hard work on LAV Filters :thanks:
I've encountered a little problem using MPC-HC and the LAV Filters (audio, video and splitter all preferred in MPC-HC). I've got a .mkv file with video and audio and a .mka file with an additional audio track and the same name as the video file except for the extension (e.g. video.mkv and video.mka).
Now when I start playback of the video file MPC-HC automatically loads the video and both audio tracks as it should, but plays them both concurrently and I can not select only playback of only one of them. Also all audio related filters have two instances (source splitter, LAV audio filter and directSound).
I could only avoid this behavior when I enabled MPC-HCs built-in audio switching filter (which is quite an ugly solution, since all audio related filters still have two instances and I don't know what else MPC-HC does with the audio track), but shouldn't this be a function that either the LAV source splitter or the audio filter provides?
nevcairiel
6th March 2013, 08:18
Loading of external audio tracks is a MPC-HC feature, it has nothing to do with LAV itself. MPC-HC just loads a second copy of LAV for the external tracks.
You need to enable the audio switcher, so it can switch between internal and external tracks, thats why its called audio switcher :P
nevcairiel
6th March 2013, 12:06
Works here with 0.55.3, but not with latest git. I even tried with a completely fresh and clean checkout. Can you post a test build?
I suggest you stick to the release version then, that is what they are for. :)
I give no guarantees on the stability of the Git builds, and while i appreciate any feedback that results from them, i do not really like distributing them to the general users, because it greatly increases the possible error sources.
Long story short, i'm working on other areas at the moment and my local tree is in the middle of some changes, and i really don't want to spend time to roll it back to the main git tree to try to reproduce some issue that may or may not exist anymore.
itsonlyjustincase
6th March 2013, 13:56
Hi,
I have a question for the experts. I hate asking questions cause i don't want to bother. Sorry in advance.
I'm using the Lav filters with my Serato Video software to play videos. When two videos are load at the same time, it uses a second instance of the lav video decoder (i can see it know thanks to the new lav tray icon). I have Asus UX32VD with Nvidia Geforce 620m 1g which is forced to be used with the program. I'm on WIN7 64 bits with Core i7.
The way the software is developped make it use a lot of system ressources. That is why i have to use the GPU to relax the system.
The problem is that when i use Cuvid and launch two videos at the same time (mixing) i have poor fps (around 15fps for two 1080p H264 videos). This is bad for mixing as the visual aspect look slow. So i tried DXVA2(copy-back) and it's weird cause i could get amazing fps (around 45 fps for two 1080p H264 videos), lower CPU usage (more than 30% lower than usage with Cuvid). The strange thing is that when i look at the GPU graphs (GPU-z) i see no difference between usage of cuvid or dxva2(copy-back). In fact the video load, gpu load, memory load, are about the same. So i would like to understand why ? It's like my CUDA wasn't working
And to come to the main problem, using dxva2cb is fine when i launch a video, but as soon as i open a second one it make my software crash most of the time. Some time it's after the third video launched.
I hope you'll be able to help me
Carpo
6th March 2013, 14:17
Sorry if this has already been asked, I have used search but my searching abilities are crap at the best of times :) - when I select a decoder in LAV is says it is available, but when I play any video in MPC-HC it always shows as <inactive> - I have LAV set in MPC-HC to be used and all internal filters disabled, is there something else I have to set, guessing it is a user error ;)
itsonlyjustincase
6th March 2013, 14:21
Sorry if this has already been asked, I have used search but my searching abilities are crap at the best of times :) - when I select a decoder in LAV is says it is available, but when I play any video in MPC-HC it always shows as <inactive> - I have LAV set in MPC-HC to be used and all internal filters disabled, is there something else I have to set, guessing it is a user error ;)
Do you have the latest lav ?
If yes enable tray icon and launch a video with MPC. You should see the lav video red icon appears. When double click on it you'll be the active hardware video decoding codec enabled. If it's not working is perhaps that you have to GPU in you computer and one of them is used over the over (the intel one).
Carpo
6th March 2013, 14:27
doing as you say it now shows avcodec, is that right, I guess i am just being confused :/
I have a geforce 560ti - not using the onboard intel
edit: seems it changes depending on the file I am playing, some it says avcodec, others cuvid :/
edit2: seems its says avcodec on anything 10bit encoded, guess i will re-rip them and encode at 8bit
wanezhiling
6th March 2013, 14:40
but when I play any video in MPC-HC it always shows as <inactive>
http://forum.doom9.org/showpost.php?p=1603907&postcount=13300
http://i.imgur.com/zYOYgNo.png
seems its says avcodec on anything 10bit encoded
Thats to be expected, 10bit cant use hwa decoding.
Carpo
6th March 2013, 14:41
well at least I found out what it was, and have learnt something :)
itsonlyjustincase
6th March 2013, 16:10
Thats to be expected, 10bit cant use hwa decoding.
Can you explain more of it ? You mean when it is written avcodec is that GPU isn't used ?
JEEB
6th March 2013, 16:13
Can you explain more of it ? You mean when it is written avcodec is that GPU isn't used ?
Yes, avcodec means that the libavcodec library's software code path is used. This is because no consumer-level video decoding ASIC (http://en.wikipedia.org/wiki/Application-specific_integrated_circuit) supports 10bit H.264, so not being able to play 10bit H.264 with hardware decoding on consumer hardware is not at all surprising.
The last time I saw a 10bit H.264-capable decoding ASIC, it had four digits in its price, and could have been limited to intra coding only.
itsonlyjustincase
6th March 2013, 16:21
Yes, avcodec means that the libavcodec library's software code path is used. This is because no consumer-level video decoding ASIC (http://en.wikipedia.org/wiki/Application-specific_integrated_circuit) supports 10bit H.264, so not being able to play 10bit H.264 with hardware decoding on consumer hardware is not at all surprising.
The last time I saw a 10bit H.264-capable decoding ASIC, it had four digits in its price, and could have been limited to intra coding only.
Thanks for the explanations :)
I did post a question upper did you see it ? Do you think you could help me ? It is with lav video decoder. It's like my cuvid is not working with my geforece gt 620m. I have poor performance with it. When i use dxva2cb i have outstanding performances (40 fps with 2 1080p videos playing at the same time in my dj software) but it crashes after having opened a third one. Sometime it crashes straight from the second video opened as well. GPU-Z show the same amoung of GPU usage though for both codecs
paradoxical
6th March 2013, 16:38
It's like my cuvid is not working with my geforece gt 620m. I have poor performance with it.
You're probably overtaxing the decoder in some way. It may not necessarily be an issue with the GPU load, but it could be with the use of memory resources.
Famille_CB
6th March 2013, 16:40
The option works just fine if LAV is doing RGB output. The effect is immediately noticeable when I change between them. If you aren't seeing the option make any difference that means LAV is sending out YUV not RGB. Uncheck all colorspaces but RGB and you'll see it.
Cool, you find the solution. I have to put the option as shown in the attached file.
Thank you!!!
itsonlyjustincase
6th March 2013, 16:51
You're probably overtaxing the decoder in some way. It may not necessarily be an issue with the GPU load, but it could be with the use of memory resources.
But for example DXVA2 native works without any problems. When i use dxva copy back and check the gpu and system ressources before it bugs everything is fine. My CPU is around 33%, memory 40%, HDD 20%
I have 10 gb of RAM and 1gb for the GPU
paradoxical
6th March 2013, 16:54
But for example DXVA2 native works without any problems.
That doesn't really say much. CUVID and DXVA2 may not be decoding things the same way. There may be a CUVID-only bug or regression causing the issue.
When i use dxva copy back and check the gpu and system ressources before it bugs everything is fine. My CPU is around 33%, memory 40%, HDD 20%
What about GPU memory usage between both of them?
If you want any chance to get this fixed you'll need to post a crash log so that the cause can be determined. Without that, it's basically making stabs in the dark.
paradoxical
6th March 2013, 17:02
So I just installed the latest version of LAV on my machine here and I opened 3 1080p videos using CUVID and they both played flawlessly with no dropped frames. This was on a Quadro 2000 with 1 GB of GDDR5. Obviously not comparable, but you must be hitting some sort of memory bandwidth or usage issue with CUVID. Or maybe it has to do with your renderer causing too much of a load with CUVID. *shrug* Like I said, a crash log would help see why your system is doing what it is.
itsonlyjustincase
6th March 2013, 17:08
That doesn't really say much. CUVID and DXVA2 may not be decoding things the same way. There may be a CUVID-only bug or regression causing the issue.
What about GPU memory usage between both of them?
If you want any chance to get this fixed you'll need to post a crash log so that the cause can be determined. Without that, it's basically making stabs in the dark.
How can i get a crash log ?
paradoxical
6th March 2013, 17:09
How can i get a crash log ?
Grab the debug symbols from the first post.
itsonlyjustincase
6th March 2013, 17:36
Grab the debug symbols from the first post.
Thank you i'm going to do that as soon as i'm home
itsonlyjustincase
6th March 2013, 20:05
Thank you i'm going to do that as soon as i'm home
How to use the debug symbols ?
paradoxical
6th March 2013, 20:07
Place them in the same directory where LAV is installed.
somebug
6th March 2013, 22:35
Is there a way to disable dithering in the LAV decoder?
paradoxical
6th March 2013, 22:39
LAV only does dithering if your force it to output in a bit-depth that is lower than the source as I explained to you the first time you posted about this. Otherwise it passes through with the same bit-depth and then your renderer does the dithering.
itsonlyjustincase
7th March 2013, 00:13
Place them in the same directory where LAV is installed.
And then ?
paradoxical
7th March 2013, 00:27
And then ?
And then you recreate the crash.
itsonlyjustincase
7th March 2013, 00:47
The video just don't launch anymore so i think it doesn't manage to detect that it is a crash as the file loads and sound as well :(
itsonlyjustincase
7th March 2013, 01:25
The video just don't launch anymore so i think it doesn't manage to detect that it is a crash as the file loads and sound as well :(
Could someone help me on that ?
http://forum.notebookreview.com/asus/711072-weird-cpu-drops-when-playing-multiple-h264-1080p-video.html#post9112016
I suppose MPEG2 4:2:2@High 1080i29 73.6Mbps can only be decoded in software mode? It seems like my AMD Athlon 64 X2 6000+ is too slow for that...
nevcairiel
7th March 2013, 14:19
HW decoders don't support 4:2:2 MPEG-2, indeed.
DragonQ
7th March 2013, 19:31
Never mind.
dansrfe
7th March 2013, 21:55
Request: Bitrate under "Status" tab for "Input".
Other things on wishlist:
1) Hover over taskbar icon for file name, bitrate, sample rate, channels, codec.
2) Keyboard shortcuts to adjust delay by pre-specified amount. Similar to how subtitle delay can be adjusted in MPC-HC.
paradoxical
7th March 2013, 22:21
LAV will not do any shortcuts in the forseeable future.
From less than 2 months ago.
Carpo
8th March 2013, 17:16
what codec would people suggest i select in LAV for a laptop with a GeForce 8400GS ?
paradoxical
8th March 2013, 20:17
Why don't you just test it and see which is better? Each one has its own sets of drawbacks and advantages.
Carpo
8th March 2013, 20:18
I have tested, obviously the hardware ones aren't that great, was thinking more between native and copyback
paradoxical
8th March 2013, 20:19
I have tested, obviously the hardware ones aren't that great, was thinking more between native and copyback
DXVA2 native and copyback still use hardware decoding...
Asmodian
8th March 2013, 20:48
what codec would people suggest i select in LAV for a laptop with a GeForce 8400GS ?
I usually like CUVID on Nvidia cards, I think the GeForce 8400GS actually has VP3 which is pretty good. Do you have issues with it? I understand CUVID to have better driver support (faster copyback) than DXVA copyback with the same advantages.
If CUVID doesn't work for you and if you are using the battery and given that it works (not using subtitles, etc.) I would use DXVA native. If plugged in I would use software, again given that the CPU is fast enough.
A qualification: If CUVID doesn't work well I would expect DXVA to also have issues, in that case software is the only option.
Carpo
8th March 2013, 20:52
its a 2 Ghz cpu so will have a play about with various settings see which plays things well
Andy o
10th March 2013, 03:11
Depending on the version of the DLL you have, you need the 2003 or 2005 C++ runtime. The 2005 version you can get directly from Microsoft here: http://www.microsoft.com/en-us/download/details.aspx?id=3387
Only the very old versions of the ArcSoft DLL need the 2003 variant (1.1.0.0 and 1.1.0.1 i think), but sadly that one is not easily available on the net.
My Windows drive died and I just found about this, after all these years, after reinstallation. I guess I was using 1.1.0.0 after all cause it was the least buggy at the time, is that still the case? I think I have a TMT5 installation lying around, but I don't use any of those programs anymore really. May grab an upgrade to TMT6 if it's compelling enough.
SamuriHL
10th March 2013, 04:17
1.1.0.8 is what I've been using with no issues.
Andy o
10th March 2013, 04:31
1.1.0.8 is supposed to be buggy with 6.0 streams, but that's not much of a real-world problem. I'm OK with it. I took the opportunity to check out the TMT6 trial, and the version is still 1.1.0.8, but the hash doesn't match and the modified date is 10 days earlier than the one that came with TMT3. Are you guys discussing TMT6 at AVS or somewhere else, btw?
SamuriHL
10th March 2013, 04:34
I have TMT6 but I can't use it right now. They have a horribly nasty bug that causes UEFI boot to break on my machine so instead of a 5 second boot time I get over a minute. And it breaks the remote. But yea, the decoder hasn't changed.
Andy o
10th March 2013, 04:39
Damn, you got an SC receiver? :D
SamuriHL
10th March 2013, 04:40
I JUST got it this week, but, yea. I needed the 3D support. OMG is it sweet! :) I figured you'd notice that more than anyone. ;)
aufkrawall
10th March 2013, 10:58
Nev, you said some time back that you'd give QS deinterlacing a chance again if it doesn't fail for you anymore.
Well, I tried it with ffdshow 1.3.4500, driver 2932 on my HD 3000 SNB graphics and it worked well with MPEG2, VC-1 & H.264.
The advantage is that there's more shader performance remaining, e.g. I can play everything below 30fps with Lanczos3 AR chroma & luma upscaling and CR AR LL luma downscaling witout any drops/glitches (IGP is OCed).
If it still fails for you, could you specify why? :)
It seems QS + madVR DXVA deinterlacing doesn't work well, I still see combing. But this would be rather a further reason to add support for QS DI.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.