Log in

View Full Version : Troubleshooting LAV Filter associations


manolito
4th November 2014, 20:14
Not sure if this has been discussed before... :confused:

I recently got rid of ffdshow for good, and LAV Filters do work much better on my machine. Only yesterday I noticed that videos with the .mp4 extension cannot be rendered by LAV Filters.

The files are standard (AVC video, AAC audio), they were created by Yamb. To play the files I have to rename them to .m4v. Is this the normal and intended behavior?

I do not want to get into an argument which extension is "correct", I just think I am not in the Apple world, and files with the .mp4 extension should work.

I already tried a couple of settings in the LAV splitter and the audio and video decoder, but no luck so far. So my question is if there is some kind of workaround for LAV Filters, or do I really have to rename all my .mp4 files?



Cheers
manolito

Superb
4th November 2014, 20:35
Not sure if this has been discussed before... :confused:

I recently got rid of ffdshow for good, and LAV Filters do work much better on my machine. Only yesterday I noticed that videos with the .mp4 extension cannot be rendered by LAV Filters.

The files are standard (AVC video, AAC audio), they were created by Yamb. To play the files I have to rename them to .m4v. Is this the normal and intended behavior?

I do not want to get into an argument which extension is "correct", I just think I am not in the Apple world, and files with the .mp4 extension should work.

I already tried a couple of settings in the LAV splitter and the audio and video decoder, but no luck so far. So my question is if there is some kind of workaround for LAV Filters, or do I really have to rename all my .mp4 files?



Cheers
manolito
mp4 file extension works just fine here with LAV Filters...

Emulgator
4th November 2014, 21:12
.mp4 works here too.
What does Windows Explorer tell about associated program if you right click an .mp4 file -> Properties -> open with ?

manolito
5th November 2014, 00:04
The default association for .mp4 files is Tiny Player (a minimalistic DirectShow Multimedia player).

http://i62.tinypic.com/29njpkn.jpg

Changing the default association does not make a difference. The files play fine with VLC and MPC-HC (older version 1.5.2 with only internal filters, pre-LAV).

Here is the file info:

http://i61.tinypic.com/m93cb7.jpg

I tried different MP4 files with all kinds of frame sizes and frame rates, created with Yamb (MP4Box) and ffmpeg, but the behavior was always the same. AVStoDVD did handle the file, but only by falling back to FFMPEGSource for video and audio. And GraphStudio refused to create a graph, no error messages, just an empty window. And in every case just giving the file an .m4v extension took care of the problems.

My system:
WinXP SP3, AviSynth 2.57, the only installed DirectShow filters are LAV Filters. All default settings except 32-bit floating point enabled for audio (disabling it also made no difference). And FilMerit gives my DS filter setup a clean bill of health.


Cheers
manolito

salam2009
5th November 2014, 00:21
Why do some videos like 'm2ts' use "Haali Media Splitter (AR)" as the filter?! How can I make LAV filters the default for all media?
FYI, I use MPC-BE x32+MadVR+LAV Filters as (external & preferred)

Would really appreciate anyone's help!

huhn
5th November 2014, 02:11
first make sure m2ts is active in lav splitter

change the merit of haali
or uninstall haali
or block it

salam2009
5th November 2014, 02:59
@huhn
- m2ts is active!
- changed & didn't work! (after added in 'external filters' and changing default number to anything else, right?!).
- can't because it's required by another software!
- tried and the same! :( (via 'external filters' I assume).

manolito
5th November 2014, 07:15
And FilMerit gives my DS filter setup a clean bill of health.

After some intense investigation I must say that I spoke too soon. The issue has nothing to do with LAV Filters, my DS filter setup was corrupted.

When I said that FilMerit did not complain about my filters, this was true about 5 days ago. Currently it complains about an orphaned filter with the ID {1BFE85AC-1C05-457E-812A-E55D97FD25E5}. Trying to remove this filter with FilMerit resulted in a non-bootable Windows installation, even in safe mode.

Well, I eat my veggies and I do make my backups, so this was not a major problem. Removing the filter ID directly in the registry did fix everything. MP4 files are now handled correctly by LAV Filters.

Googling for this filter ID revealed that it was an ArcSoft Audio filter, the corresponding filter is ASAudioHD.ax. The file does exist in my System32 folder, but I have no idea how it got there. I never conciously installed any ArcSoft software.

Whatever, problem solved, sorry if I raised any unjustified concerns about LAV Filters.


Cheers
manolito

filler56789
5th November 2014, 07:20
Why do some videos like 'm2ts' use "Haali Media Splitter (AR)" as the filter?!

Because Haali writes unrequested entries in

HKEY_CLASSES_ROOT\Media Type\Extensions

Delete the problematic subkeys,
maybe reboot (or logoff+logon), problem solved
(or at least I think so).

nevcairiel
5th November 2014, 09:13
I tried different MP4 files with all kinds of frame sizes and frame rates, created with Yamb (MP4Box) and ffmpeg, but the behavior was always the same. AVStoDVD did handle the file, but only by falling back to FFMPEGSource for video and audio. And GraphStudio refused to create a graph, no error messages, just an empty window. And in every case just giving the file an .m4v extension took care of the problems.


Sounds like some other source filter is overriding the .mp4 extension type, and LAV is not even used. You can try re-installing LAV using the installer, it should hook itself back up to the mp4 extension usually.

LAV doesn't care about the file extension at all, short of the DirectShow stuff that actually instructs it to be used. Which means, if such a extension problem presents itself, usually DirectShow is messed up somehow.

salam2009
5th November 2014, 17:04
Because Haali writes unrequested entries in

HKEY_CLASSES_ROOT\Media Type\Extensions

Delete the problematic subkeys,
maybe reboot (or logoff+logon), problem solved
(or at least I think so).

I've found 3 keys in the problematic extension: Media Type, Source Filter, SubType
Which one to delete (or edit maybe?).

foxyshadis
6th November 2014, 01:50
Source Filter should be {B98D13E7-55DB-4385-A33D-09FD1BA26338} if you want LAV to handle it. If Haali is rewriting that every time it runs and you need it for something else, though, you may need to save a registry script to rewrite it back every time.

SubType and MediaType are normally set to File Source (Async.) through a convoluted path of GUIDs. They don't matter. (Though that might have been part of manolito's problem.)

salam2009
6th November 2014, 06:01
It's already set to that data but some untouched 'm2ts' videos (not all though!) are using Haali Media Splitter (AR)!
How about a way to disable its association from all media while keeping it for other processes which 'MeGUI' needs?

And One more thing (R.I.P Steve :/), why do I get this result:
http://oi62.tinypic.com/znoies.jpg
While I use MadVR for Video Rendering, LAV for Audio Decoding and Reclock WASAPI for Audio Rendering!
Am I missing something here?!
Thanks a lot!

clsid
6th November 2014, 17:24
GraphStudioNext uses the system default renderers, not whatever renderer you may have set as preferred in a specific player.

"Haali Media Splitter (AR)" is the low merit version of Haali's splitter. That one should only get used when all normal splitters fail. You can easily test if LAV Splitter is able to handle a certain file by manually creating a graph. Graph -> Insert Filter -> select LAV Splitter Source. If Haali only gets used in your player, then your settings are just wrong. In general you should just disable all relevant internal filters of your player. Then it should behave similar to GraphStudioNext. Messing with external filter settings is only needed when you need to override the standard DirectShow behavior.

The LAV Filters installer sets the LAV Splitter as default for all common extensions, so as long as you install it after Haali, everything should be fine. Otherwise, you can use Codec Tweak Tool to configure your preferred splitter(s).

salam2009
6th November 2014, 23:24
OK, got it. As for Haali, the problem still persists as it overrides LAV in some videos of 'm2ts' extension!
Everything you mentioned is already applied with no luck!
Anything else in mind?

clsid
6th November 2014, 23:44
Are you able to construct a graph manually for those files with LAV Splitter?

salam2009
7th November 2014, 00:57
http://oi62.tinypic.com/2cpx5oh.jpg

clsid
7th November 2014, 15:38
Cut a 20 MB sample with DGSplit (http://neuron2.net/dgsplit/dgsplit12.zip) and upload to MediaFire.com or DataFileHost.com. Then post the link in the LAV Filters topic so nevcairiel can have a look at it.

salam2009
8th November 2014, 05:59
Turns out the problem was with this specific video not the filters since all the others from the same BluRay disc worked without issue!
Thanks man!

Cheers,
Salaam