View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
nevcairiel
10th December 2012, 09:34
It's probably a bit more complex than that, when you consider overlapping subtitle lines (CueDuration) residing in multiple MKV clusters scattered minutes to hours apart. In order for this to be in any way efficient, you'd want to seek and pull subtitles as directly as possible using CueRelativePosition, while not actually seeking the video or audio at all. Implmenting an intelligent background subtitle cache of some sort, may also be useful for cutting down on potential random access seeks.
I figured my solution seemed too simple. Can probably make it work by cherry-picking the subtitles out of the file if i know where they are.
It would be great to see Lav's (simple) blueray navigation extended to DVDs...
There are no plans for this.
Also, my Windows 8 seems to have a DVD Navigator? :)
DragonQ
10th December 2012, 12:05
Yes, I have DVD Navigator also...
Prinz
10th December 2012, 12:55
As far as I know, Windows 8 only has a DVD Navigator in the WMC Version.
nevcairiel
10th December 2012, 13:09
I have plain Windows 8 Pro without the WMC pack, and i have a DVD Navigator.
Prinz
10th December 2012, 13:20
DVD Playback is officially only available as part of the Pro Pack or WMC extension.
http://blogs.msdn.com/b/b8/archive/2012/05/03/making-windows-media-center-available-in-windows-8.aspx
nevcairiel
10th December 2012, 13:24
Anyway the point remains that LAV Splitter will never offer any more DVD features, so if you want to play DVDs you better get Windows 8 Pro or the Pro Pack (or you get another DVD player like PowerDVD or the likes)
dukey
10th December 2012, 13:31
I thought the basic versions of win8 lack the dvd navigator ..
wanezhiling
10th December 2012, 13:38
I thought the basic versions of win8 lack the dvd navigator ..
Need someone to test.
Vasilich
10th December 2012, 14:11
DVD Playback is officially only available as part of the Pro Pack or WMC extension.
http://blogs.msdn.com/b/b8/archive/2012/05/03/making-windows-media-center-available-in-windows-8.aspx
DVD playback in this case means only that MS MPEG2 decoder is available with pro or wmc. DVD navigator is available in all windows 8 versions afaik.
DragonQ
10th December 2012, 16:44
DVD Playback is officially only available as part of the Pro Pack or WMC extension.
http://blogs.msdn.com/b/b8/archive/2012/05/03/making-windows-media-center-available-in-windows-8.aspx
Ah well I have Windows 8 Pro so I guess that's why.
Kazuya
10th December 2012, 21:25
Hello !
Is lavaudio making upmix from 2 channels to 5.1 ?
Status sais it does, but only front right and left have sound, other channels are just silent. :scared:
wozio
11th December 2012, 10:33
Hi,
One quick question: does LAV splitter support push source filters?
Piotr
nevcairiel
11th December 2012, 10:34
One quick question: does LAV splitter support push source filters?
No, it does not.
oddball
11th December 2012, 13:05
Is there a way to force playback of English AC3/DTS over PCM type tracks? Sometimes the default track is PCM with optional multi-channel track. I'd obviously like forced playback of the multi-channel track without having to remux.
nevcairiel
11th December 2012, 13:16
The track with the highest number of channels is always preferred, unless you have a MKV file with an actual "Default" marking, in which case it cannot be overriden.
You can fix such MKV flags without a full Remux, simply use the header editor of mmg.
jmone
12th December 2012, 02:52
It also depends on the player. In MC you can select your prefered track the first time and it will be remembered for subsequent playback.
nx6
12th December 2012, 12:33
Win8 doesn't include DVD Navigator.
Will Lav support DVD navigation? Or are there any "recommended" alternatives?
It would be great to see Lav's (simple) blueray navigation extended to DVDs...
Thanks! Lee
As far as I know, Windows 8 only has a DVD Navigator in the WMC Version.
Not really a solution for the future but it is worth noting that you can get the WMC pack for Win8 for free from Microsoft until sometime in January.
Edit: Oops, that only applies to Win8 Pro. Sorry.
http://windows.microsoft.com/en-US/windows-8/feature-packs
mark0077
12th December 2012, 20:21
Hi Nev, all. Can anyone reproduce corruption at 5-6 second mark in this TwinPeaks clip
Twinpeaks1080p30fpsRef2-27Mbps.mov
Its about 10% the height of the screen and 100% width, like a horizontal block of blurred image. It only happens in software decoding mode, not cuvid decoding mode.
nevcairiel
12th December 2012, 20:23
The corruption also happens in CUVID mode, but its not as obvious because the hardware does better error concealment, the file is just broken there.
mark0077
12th December 2012, 20:33
ahh nice one, thanks v much.
VictorDUA
14th December 2012, 12:42
Stereo AC3 in avi container do not work in Windows Media Center. In WMP there is no sound, in WMC can't open file
Video Format: AVI
Audio Format: AC-3, Bit rate mode: Constant, Bit rate: 192 Kbps
Channel(s): 2 channels, Channel positions: Front: L R
Sampling rate: 48.0 KHz, Bit depth: 16 bits
Is there some tip or workaround? Thanx.
Win7 x64, LAV Splitter and Decoder 0.54.1 (or any older)
DragonQ
14th December 2012, 13:51
Are you sure either of those programs is using LAV? IIRC, neither of those actually lets you choose which codecs it uses, a prime example of the need for system-wide codec settings in the Control Panel (which can be protected from unwanted changes), rather than relying on merits and programs deciding what's best by themselves.
DragonQ
14th December 2012, 17:32
Oooh the beta of MediaPortal 1.3.0 lets you choose your own splitter. I wonder how LAV Splitter will handle live TV in this environment. :D
owlsroost
14th December 2012, 17:48
Oooh the beta of MediaPortal 1.3.0 lets you choose your own splitter.
Only for Video, not for TV (or Blu-ray) ;)
DragonQ
14th December 2012, 19:32
Ah, I see.
EDIT: Hmmm that's weird, using LAV Splitter + EVR in MediaPortal 1.3.0 Beta plays videos that have dodgy playback in MPC-HC perfectly. Wasn't expecting that.
VictorDUA
15th December 2012, 21:03
Are you sure either of those programs is using LAV?
Yes I'm sure. It's not so difficult. Any other answer?
G_M_C
15th December 2012, 22:44
I have a question: I just tried a '2-in-1' type mkv, and is noticed lavfilters didnt show the 2 separate streams. Is it something i confugured wrongly, or dont the lavfilters support 'x-in-1' type mkv's ? And if not, will they support it soon?
VictorDUA
16th December 2012, 00:05
This is easy: check AC3 in LAV Audio AVI in LAV Splitter and play the file:
http://www.mediafire.com/?7xwumko47epbmci
with WMP and WMC. So any help please.
nevcairiel
16th December 2012, 08:03
I tried playing that file in WMP with both 0.54.1 and the latest development version, and it plays just perfectly with LAV Splitter and LAV Audio.
Superb
16th December 2012, 08:24
Works well here as well. Tested w/ 0.54.1 on WMP, WMC, and MPC-HC.
Note that Microsoft built-in filters are turned off on my machine, so that LAV will be used.
Mercury_22
16th December 2012, 09:12
Maybe it's time for LAV tray icons (long overdue) ? :) Cause I can bet he wasn't using LAV in WMC/WMP but he didn't know:p
VictorDUA
16th December 2012, 11:36
I tried playing that file in WMP with both 0.54.1 and it plays just perfectly with LAV Splitter and LAV Audio.
This is my setup (pic 01). If I check AC3 (pic 02), than WMP play file without sound and WMC did not play file at all.
more2read
16th December 2012, 13:32
Problem is that when you start streaming a file is created in temporary internet files called 127_0_0_1[1] or similar (yes i'm streaming to the same PC) and the file seem to grow as the video is fed but when it hits 4GB the streams grinds to a halt. no errors, just stops (or well it seems like it actually restarts playing from where u started the stream when the file reaches 4GB).
I have the same problem. :(
nevcairiel
16th December 2012, 13:43
LAV itself should have no issues with file of any size, but its certainly possible whatever you're using to stream the file is causing some problems there.
nevcairiel
16th December 2012, 13:52
Maybe it's time for LAV tray icons (long overdue) ? :) Cause I can bet he wasn't using LAV in WMC/WMP but he didn't know:p
A tray icon is easy, but i bet people also want it to offer at least some functionality.
So lets hear it, what functions should the tray icon offer?
Splitter:
- Options dialog
- Stream changing
Video/Audio:
- Options dialog
- ???
All icons would obviously also get some kind of tooltip that indicates which format and codec is currently in use.
nevcairiel
16th December 2012, 13:59
This is my setup (pic 01). If I check AC3 (pic 02), than WMP play file without sound and WMC did not play file at all.
I see you have bitstreaming activated, are you sure your audio setup is capable of this?
wanezhiling
16th December 2012, 14:23
Video/Audio:
- Options dialog
Will not say <inactive>, right? :D
noee
16th December 2012, 14:32
So lets hear it, what functions should the tray icon offer?
Will you include an option to make the tray icons optional?
more2read
16th December 2012, 14:33
LAV itself should have no issues with file of any size, but its certainly possible whatever you're using to stream the file is causing some problems there.
Live DVB-S Streaming from TSReader, and DVBViewer.
When other Splitters are used, the temp file does not grow.
It's LAV Splitters ability to handle all the different audio streams is why I use it. Workaround has been to record the feed and play in MPC-HC at the same time.
nevcairiel
16th December 2012, 14:35
Will you include an option to make the tray icons optional?
Of course not. It'll be obnoxius and popup balloon tips every few minutes, canceling full screen playback, and the like!
You asked for it! :devil:
(I hope everyone turned their sarcasm detector on this morning)
nevcairiel
16th December 2012, 14:44
Live DVB-S Streaming from TSReader, and DVBViewer.
When other Splitters are used, the temp file does not grow.
It's LAV Splitters ability to handle all the different audio streams is why I use it. Workaround has been to record the feed and play in MPC-HC at the same time.
I have no idea how this whole concept is supposed to work.
If one of you can explain in detail which components interact in what way, who writes and who reads what files, and how the data gets into LAV, i can possibly help you - but without knowing a thing about whats going on, there is just nothing i can say.
All i know is that somehow this temporary file gets created, and somehow the data gets to LAV, but who does the actual writing and reading, i cannot say.
I also have DVBViewer (only with DVB-C/T though), so if you can just explain how to set this up what you have there, that might already help.
madshi
16th December 2012, 14:45
IMHO, a nice first step would be just to show different icons for splitter, video and audio, so people can see with one quick glance at the tray section which LAV components are active. The next step would be to open the appropriate settings dialog when double clicking on the icons. These two things should be quite easy. The "final" step would be a left/right click context menu with stream switching etc. But that's probably the most work, and it isn't really necessary to make tray icons useful, so it could be implemented later.
P.S: Development can get "interesting" if your tray icons try to support multiple player instances in a clever way somehow. But I guess it would be good enough to first simply add one icon per filter instance.
nevcairiel
16th December 2012, 14:49
Luckily i already have icons in 3 colors! :)
I have no plans to make this really smart. I'll probably turn them off by default, and if someone really runs several instances, well, their loss. I'll blacklist the icons from common problem candiates like the explorer or reclocks fps guessing thing, so they dont cause random icons to appear.
madshi
16th December 2012, 14:53
Sounds good to me.
noee
16th December 2012, 14:59
Of course not. It'll be obnoxius and popup balloon tips every few minutes, canceling full screen playback, and the like!
You asked for it! :devil:
lol, yes, I deserved that! Still working on the first cup.
Mercury_22
16th December 2012, 15:16
A tray icon is easy, but i bet people also want it to offer at least some functionality.
So lets hear it, what functions should the tray icon offer?
Splitter:
- Options dialog
- Stream changing
Video/Audio:
- Options dialog
- ???
All icons would obviously also get some kind of tooltip that indicates which format and codec is currently in use.
I for one would settle for a "tooltip" and stream changing (for the dumb players) :p cause the most important part is for everybody to be sure they are using LAV (and so maybe you'll get less false bug reports :) )
Superb
16th December 2012, 15:20
Would be great if you could make a single dynamic icon per single directshow graph. Meaning an icon which includes all 3 filters (splitter, audio, video) and knows which is active and which is not on that graph.
nevcairiel
16th December 2012, 15:34
Would be great if you could make a single dynamic icon per single directshow graph. Meaning an icon which includes all 3 filters (splitter, audio, video) and knows which is active and which is not on that graph.
Thats not easily possible without launching a process thats shared between all filters (like madVR launches its control process), i don't think i'll be doing this.
clsid
16th December 2012, 15:56
Another useful function of the tray icon could be to display a list of all filters in the graph. And access their config dialogs by clicking on them. Very handy for quickly seeing what is going on and opening settings of filters that don't have their own tray icon (or have it disabled).
The splitter could offer Blu-ray title selection.
A few other apps that should be added to the icon blacklist are these video editors: Movie Maker (moviemk.exe), Adobe Premiere (premiere.exe), and Sony Vegas (???.exe).
filler56789
16th December 2012, 16:11
the most important part is for everybody to be sure they are using LAV
Hummm, at least in the case of LAV Video, an "Enable Logo" option ( à la DivX way :D ) could look more interesting for some people ^_^
( not to be taken seriously --- I hope :) )
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.