Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
6th May 2014, 00:00 | #1 | Link |
Registered User
Join Date: Sep 2005
Posts: 178
|
LAV and Haali splitter preference?
I'm trying to have LAV Filters installed at the same time as Haali Media Splitter (needed for eac3to/dss2), and use LAV whenever possible (as it supports some things HMS does not). While they are both technically "installed", and I paid careful attention not to check any of the boxes when installing HMS, it's still being used as the preferred splitter. So, how do I set things up so that LAV is used by default over HMS where possible?
I thought that Win7DSFilterTweaker would fix the issue, and set "LAV Video/Audio" wherever applicable, but this appears to only affect the preferred codec and not which splitter to use. I also looked at LAV and HMS settings for any "merit" or preference settings, but I can't seem to find any such settings in either. Any ideas? |
6th May 2014, 01:19 | #2 | Link |
Angel of Night
Join Date: Nov 2004
Location: Tangled in the silks
Posts: 9,559
|
You probably want Directshow Filter Manager, where you can reduce the merit for Haali. (By default, LAV is slightly higher than Haali.) Win7DSFilterTweaker only sets preferred decoders, and doesn't touch splitters.
|
6th May 2014, 03:07 | #3 | Link |
Registered User
Join Date: Jun 2003
Location: Australia
Posts: 190
|
If you are using MPC with LAV filters, I think you can add the LAV filters as "Prefer" and the Haali Splitter as "Block" to MPC in the external filters section, so it won't use Haali as the splitter when playing videos through MPC, but will leave it unaffected for eac3to. Ideally you would use MPC as the front end only with all its splitters and decoders disabled, so it uses LAV instead.
|
6th May 2014, 04:30 | #4 | Link | |
Registered User
Join Date: Sep 2005
Posts: 178
|
Quote:
So, if it has lower merit, why is it still used instead of LAV? Do I need to install LAV after HMS (as I currently installed LAV before)? I am (with external LAV--or will be once I fix this issue), but I'd like it to work by default everywhere, particularly for GraphStudioNext (and clones). Last edited by `Orum; 6th May 2014 at 05:13. |
|
6th May 2014, 05:52 | #5 | Link |
Broadband Junkie
Join Date: Oct 2005
Posts: 1,859
|
Yes, you would need run the LAV Filters installer after HMS, and have it set itself as the source filter for formats you want it used instead of Haali.
Haali always sets itself as the default source filter for all supported formats whenever it is installed. |
6th May 2014, 14:54 | #7 | Link | ||
Registered User
Join Date: Sep 2005
Posts: 178
|
Quote:
Quote:
|
||
6th May 2014, 15:34 | #8 | Link |
*****
Join Date: Feb 2005
Posts: 5,674
|
It always sets itself as preferred for Matroska, not for the other formats (if unchecked).
You can easily change preferred splitters with Codec Tweak Tool.
__________________
MPC-HC 2.3.4 |
23rd May 2014, 21:16 | #10 | Link |
Registered User
Join Date: Sep 2005
Posts: 178
|
Ran into another problem now. If I try to play any avs script with both audio and video streams in a DirectShow player (e.g. MPC-HC; GraphStudioNext), the audio will play and the video will not render. The problem is, I think, that LAV is still inserted in the render path, trying to take this raw YV12 video and 'decode' it (or ideally pass-through assuming YV12 output is checked), which it can't seem to handle, and rendering fails. A quick look at LAV's video options doesn't reveal anything for raw YV12.
Strangely, this doesn't happen when there is either no audio or no video, which leads me to believe it's an issue with the interleaved A/V requiring a splitter (where it chooses LAV), which then forces video decoding. For example: Code:
# Does not play correctly in DirectShow players. Problem appears to be independent of which audio source filter is used. vid = dss2("foo.flv").ColorYUV(levels="TV->PC") aud = FFAudioSource("foo.flv") AudioDub(vid, aud) # This by itself does play however... (Edit: only in MPC-HC (which has all internal splitters/decoders disabled); not in GraphStudioNext) dss2("foo.flv").ColorYUV(levels="TV->PC") # ...as does this FFAudioSource("foo.flv") Code:
AVI/WAV File Source::Avisynth video #1 Media Type 0: -------------------------- Video: YV12 1920x1080 30fps 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: 3110400 cbFormat: 88 Edit: Nevermind, this problem seems to be associated with the EVR renderer, and not Haali/LAV specifically. Using madVR solved the problem. Last edited by `Orum; 23rd May 2014 at 21:59. |
24th May 2014, 06:30 | #12 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,366
|
You could also use LAV Splitter as a source filter for the AviSynth scripts, it would then load LAV Video to properly deal with the YV12 video, and ensure compatibility with all renderers.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
28th May 2014, 05:18 | #13 | Link | |
Registered User
Join Date: Sep 2005
Posts: 178
|
Quote:
But I've had enough issues with madVR to want to get others working correctly. I may just install helix for the time being. |
|
Tags |
haali, hms, lav, preferred, splitter |
Thread Tools | Search this Thread |
Display Modes | |
|
|