View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
ney2x
5th June 2011, 06:48
LAVAudio Renderer? madAR? :D
Sounds good! :D
Carpo
5th June 2011, 09:34
How do you go about just using reclock for audio?, just untick everything under video?
groen
5th June 2011, 15:33
Lav filters works perfectly as a splitter and the audio filter works great but I can not get the included DTS to work with ffmpeg. I tried several combinations of DTS codecs, arcsoft, ac3filter. So i have had to disable the DTS completely on the lav audio filter. Please tell me if you know what I have done incorrect? This is what I currently have set.
mpc-hc 1.5.1.2903
http://img848.imageshack.us/img848/3958/mpchcaudioswitcher.th.jpg (http://img848.imageshack.us/i/mpchcaudioswitcher.jpg/)
http://img834.imageshack.us/img834/1589/mpchcinternalfilters.th.jpg (http://img834.imageshack.us/i/mpchcinternalfilters.jpg/)
http://img854.imageshack.us/img854/254/mpchcrenderoutput.th.jpg (http://img854.imageshack.us/i/mpchcrenderoutput.jpg/)
Then i have ffdshow-tryouts for video and disable the spdif passthrough on the audio settings output page. Why does the ffdshow-tryouts dts and dts hd from ffdshow not work with lav filter?
http://img215.imageshack.us/img215/417/ffdshowaudios.th.jpg (http://img215.imageshack.us/i/ffdshowaudios.jpg/)
http://img233.imageshack.us/img233/9756/ffdshowvideo.th.jpg (http://img233.imageshack.us/i/ffdshowvideo.jpg/)
Then on the lav audio page I disable DTS passthrough. So to get DTS working but not dts hd, I used the microsoft dts passthrough that works automatically in windows 7 or you can install ac3filter. You suggest using the arcsoft dts codecs but I tried those codecs and had the same results when bitstreaming DTS.
The problem when bitstreaming DTS with lav audio filter+ffmpeg is that i get no sound and the video slows down to slow motion, but the AV receiver does come up with DTS. Occasionally I might hear a slight sound for a split second.
Mercury_22
5th June 2011, 16:57
LavSplitter wasn't supposed to respect the Audio "Preferred Language" priority in index.bdmv / m2ts files too ? Cause for me it's working only in mkvs
nevcairiel
5th June 2011, 17:10
It doesn't care what type of file it is, as long as there is language info, and for me it works fine on Blu-rays.
Mercury_22
5th June 2011, 17:32
It doesn't care what type of file it is, as long as there is language info, and for me it works fine on Blu-rays.
Should I upload as sample the mpls + m2ts files or the mpls + index.bdmv +m2ts?
P.S. Do you have e.g. THE FIFTH ELEMENT REMASTERED ?
nevcairiel
5th June 2011, 17:33
If the stream selector shows languages, then it'll also use those for the stream choice. If it doesn't show languages, then the disc just doesn't have any.
I have one fifth element BD, not sure if its the same.
Mercury_22
5th June 2011, 17:38
If the stream selector shows languages, then it'll also use those for the stream choice. If it doesn't show languages, then the disc just doesn't have any.
I have one fifth element BD, not sure if its the same.
Tested with multiple BD and the stream selector shows the languages but it prefers the default language instead of the one in the "Preferred Language"
P.S. Your fifth element has French beside English audio?
But if it's working for you then it must be something with my system, but what ?
Edit I've reset the settings and unregistered the splitter multiple times
nevcairiel
5th June 2011, 17:42
I just tested on one BD (Iron Man 2 german release), no config selects the first audio stream, which is german, adding "eng" to the preferred list of languages selects the second, english, track.
You did put the languages as their 3 letter code, comma seperated - right? :p
Mercury_22
5th June 2011, 17:43
I just tested on one BD (Iron Man 2 german release), no config selects the first audio stream, which is german, adding "eng" to the preferred list of languages selects the second, english, track.
You did put the languages as their 3 letter code, comma seperated - right? :p
:)Yes!
Is fre for french no?
EDIT one idea: could be that the "better" format e.g. dts-hd ma has priority over e.g. ac3 language ?
SamuriHL
5th June 2011, 17:46
Quantum of Solace chose the chinese subtitles in MC16. I have eng/eng set, so, that was a bit....odd. I would have thought it would have chosen the forced sub track by default so I'm thinking it may be a bug in MC16. Very strange. :)
nevcairiel
5th June 2011, 17:47
MC16 overrides all stream decisions, at least for subtitles, maybe audio too.
nevcairiel
5th June 2011, 17:48
:)Yes!
Is fre for french no?
EDIT one idea cold be that the "better" format e.g. dts-ma has priority e.g. ac3 over language ?
French can be both "fre" or "fra", i've seen both used in files, not sure what BDs use.
The language has the highest selection priority, quality is only a factor after that.
SamuriHL
5th June 2011, 17:49
MC16 overrides all stream decisions, at least for subtitles, maybe audio too.
Alright. I'll file that with them a bit later.
nevcairiel
5th June 2011, 17:54
French can be both "fre" or "fra", i've seen both used in files, not sure what BDs use.
The language has the highest selection priority, quality is only a factor after that.
I just checked some BD, and french is "fra" there. I changed it so that the language code is always shown in addition to the full word.
Mercury_22
5th June 2011, 18:09
I just checked some BD, and french is "fra" there. I changed it so that the language code is always shown in addition to the full word.
Working with "fra" :thanks:but I've just discover one BD that it's NOT working with ger (see the sample with DTS EXPRESS stream)
nevcairiel
5th June 2011, 18:24
German also has two variants, "ger" and "deu" .. go figure. :p
Like i said, next version will show the language code on the stream chooser as well as the full name, to identify such problems.
ney2x
5th June 2011, 18:47
Is there a way to show mkv thumbnails like Haali? I had tried clsid's reg but nothing, I ended up installing divx codecs :(
Carpo
5th June 2011, 19:17
would be great if xbmc could use your splitter and audio for its player :)
nevcairiel
5th June 2011, 19:30
Is there a way to show mkv thumbnails like Haali? I had tried clsid's reg but nothing, I ended up installing divx codecs :(
Creating thumbnails is some wicked magic, and if using the WMP component isn't working for you, well, not much i can do.
Its not the splitters job to produce thumbnails, there is some extra shell component that does that.
would be great if xbmc could use your splitter and audio for its player :)
Since XBMC does not use DirectShow, no chance. :p
But XBMC uses ffmpeg anyway, so the end result should be pretty similar.
SamuriHL
5th June 2011, 19:34
would be great if xbmc could use your splitter and audio for its player :)
Would be great if xbmc were DShow compatible. :)
Carpo
5th June 2011, 20:16
I know, they dont use it so it can be used on all platforms, would be good though because Navs filters give me sweet play back :) , plus i can get it to use MPC-HC which can use those filters, so all is good :)
robpdotcom
5th June 2011, 20:26
There was a DirectShow player for XBMC a while back. It was actually quite nice imo, and there were lots of ways you could configure the way it used filters. Too bad development stalled.
Sebastiii
5th June 2011, 21:05
Hey :) Mediaportal can use it (lav) i have to see why sometimes crash happen but it works really nice + BDHandler (to manage BD Title Selection).
Boltron
5th June 2011, 22:11
I use XBMC exclusively but have configured it to use MPC-HC as an external player (exclusive mode). I get the awesome media management of XBMC with Aeon skin and the best playback with MPC-HC/LAV/madVR. There are a few gotchas but nothing serious.
I used to use XBMC DSplayer (for DirectShow) and have tried the new DScodec version but have settled on the external player route.
Mercury_22
6th June 2011, 09:49
There is a discrepancy between LAVSplitter and LAVAudio for 7.1 DTS-HD MA LAVSplitter reports the files as 48000Hz 5.1(incorrect) and LAVAudio as 96000Hz 8 channels (correct)
The files are playing correct (8 channels) so is no big deal :) but maybe you can fix this in the next version too
Do you need a sample?
nevcairiel
6th June 2011, 09:50
That won't be fixed soon, unless ffmpeg supports DTS-HD one day.
LAV Audio uses the ArcSoft decoder to figure this out, LAV Splitter does not have this ability, and only sees what ffmpeg tells it (the DTS core data)
Blight
6th June 2011, 12:19
nevcairiel:
I read your post on the ZP forum regarding your suggested stream switching interface.
If I remember correctly, your suggestion works in a similar way to the 'IAMGraphBuilderCallback' interface, so it shouldn't be too much trouble just to implement the initial interface.
nevcairiel
6th June 2011, 12:25
Its somewhat similar, indeed.
Except that for a filter that was created its called for the output Pins of the splitter, so the player can do what needs to be done (if it wants to) - and of course only called on stream changes, not on the initial graph build.
I'll publish the interface soon, sadly my plans got delayed by some other work that had to be done.
BTW, while you're here, i don't know if you saw this post: http://forum.inmatrix.com/index.php?showtopic=13053&view=findpost&p=45954
Would be great if that gets fixed, so i can enable ITrackInfo again - or i'll have to detect if its ZP loading LAV Splitter and disable that interface in that case.
hoborg
6th June 2011, 13:57
nevcairiel:
Still no plans to make LAVF audio decoder working with MS DVD navigator? :/
nevcairiel
6th June 2011, 13:59
Plans? Sure.
Concrete ETA? Not yet.
hoborg
6th June 2011, 14:07
Plans? Sure.
Concrete ETA? Not yet.
:thanks:
nevcairiel
6th June 2011, 14:27
I put it on the todo list on the second post, i'll try to get it done "soon". Will have to investigate what exactly is required for that, first.
hoborg
6th June 2011, 15:27
I put it on the todo list on the second post, i'll try to get it done "soon". Will have to investigate what exactly is required for that, first.
2x:thanks:
If LAVF audio decoder will be working on DVD playback, i (and many other HTPC users) can say good bay to FFDshow audio decoder :)
Sebastiii
6th June 2011, 15:41
nevcairiel:
I read your post on the ZP forum regarding your suggested stream switching interface.
If I remember correctly, your suggestion works in a similar way to the 'IAMGraphBuilderCallback' interface, so it shouldn't be too much trouble just to implement the initial interface.
BTW, while you're here, i don't know if you saw this post: http://forum.inmatrix.com/index.php?...ndpost&p=45954
Would be great if that gets fixed, so i can enable ITrackInfo again - or i'll have to detect if its ZP loading LAV Splitter and disable that interface in that case.
Blight, I will ask you the same question that Nevcariel about ITrackinfo :)
Hope you can fix it on ZP :)
Thunderbolt8
6th June 2011, 16:57
can subtitles also be automatically loaded as well when you remux a movie to .mkv and have the .sup file with the same filename in the same folder? or does that only work within the .m2ts structure? if so, would it be possible to implement this, because properly OCRing subs can be a pain in the ass and sometimes easily take up to an hour, depending on the kind of type (e.g. those 3 lined sub files which have the lines for each speaker located near him on screen and after OCRing this then gets all mashed to the middle of the screen without indicating which speaker said what line).
nevcairiel
6th June 2011, 17:01
Loading of external subs is not the splitters job, ffdshow can do this for you, or MPC-HC itself.
Thunderbolt8
6th June 2011, 17:02
but do they exactly do it in the way the subs are supposed to appear on screen like when playing the BD in a standalone player? thats the thing, otherwise I wont get round of OCRing.
but anyway, guess that subs loading is due to mpc-hc then and not due to LAVfilters which I thought would be the case.
nevcairiel
6th June 2011, 17:05
The only reason to OCR is if you want to change the font or increase the quality by re-rendering from a high quality font. The PGS subtitles on Blu-rays (and MKVs ripped from Blu-rays) work no matter what.
yesgrey
6th June 2011, 18:13
Feature request:
Would it be possible to add a convert to stereo option to LAV Audio?
Yesterday I installed LAV Splitter on a friend's computer and needed to install ffdshow so that the 5.1 audio would be mixed to 2.0. He only has 2 speakers. With LAV Audio he didn't get any speech (center channel)...
SamuriHL
6th June 2011, 18:16
Nev has a mixer on his todo list but there's no ETA. I use ffdshow's audio processor for now just to do the mixing.
nevcairiel
6th June 2011, 18:23
Such an option is planned. I'm not sure yet how extensive, maybe in several steps, first a downmix to stereo option, and possibly upmix to 5.1, and maybe some day later a full matrix for custom thingys.
yesgrey
6th June 2011, 19:33
OK, thanks. No pressure. :)
Andy o
6th June 2011, 21:27
Doesn't Windows just mix the audio? I just checked on my laptop, and 5.1 content comes out the 2 speakers just fine, using LAV filters.
ontherocks
6th June 2011, 21:34
Facing some problems with DD-THD bitstreaming. The receiver seems to keep on looking for audio stream. HDMI light and DD light keeps on blinking with no audio. DTS-HD/DTS-HDMA works fine.
DD-THD files obtained from http://www.demo-world.eu/trailers/high-definition-trailers.php
Receiver HT-R380
RealSnoopyDog
6th June 2011, 23:36
Hi nevcairiel, just thank you for this software. Works like a charm in DVBViewer. I use it for Blu-Ray and mkv playback. It took me a while to find out that i need reclock to get rid of choppy playback with some material ;)
Thunderbolt8
7th June 2011, 00:45
regarding subs, what is the default flag for at the muxing stage in mkvmerge? does it only refer to the default subtitle track or also defines whether the subs should be automatically activated or disabled at the start?
or is the latter purely a matter of the splitter settings (LAVsplitter here)?
yesgrey
7th June 2011, 00:57
Doesn't Windows just mix the audio? I just checked on my laptop, and 5.1 content comes out the 2 speakers just fine, using LAV filters.
What's your OS?
I think i worked like that on XP, but now with 7 it doesn't... at least with my friend's computer onboard sound card...
Superb
7th June 2011, 02:20
What's your OS?
I think i worked like that on XP, but now with 7 it doesn't... at least with my friend's computer onboard sound card...Windows' mixer works just fine in 7. Just make sure you use proper audio drivers and set the Sound settings correctly (Control Panel-> Sound -> Choose device -> Configure -> pick the correct speaker setup for your system).
Andy o
7th June 2011, 02:48
Yeah, Windows 7 here. The mixer should downmix even before audio gets to the device's driver.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.