View Full Version : LAV Filters - DirectShow Media Splitter and Decoders
nevcairiel
8th January 2013, 21:55
You claim they are perfect, i claim they are useless. Your claim any better then mine? Not in the slightest.
If you like getting a menu on every single disc, if you like being limited to a player that can show menus (which is very few so far), then it can maybe do things for you. I like neither of these, so i consider them plain and simple useless. I rather manually switch a title once every hundred discs then to deal with the menu on every disc - and i like the players i use. :)
If you get this execited everytime someone likes using different things... that can't be healthy. :p
Anyway, end of discussion. Everyone likes different things.
PS:
Even if my comments were disrespectful towards the super duper "Speedmenus" (a feature by some company, which i doubt you are tied to), yours are borderline offensive towards me, don't expect answers anymore.
Why you personally get offended if someone doesn't like Speedmenus is truely beyond me.
ddjmagic
8th January 2013, 22:09
You should respect Nev's work even if you don't appreciate the manner in which he provides answers. It's his product, his thread.
Enough about that. The real issue here is what's involved in what SlySoft has done to make the Speed Menus work. The underlying code and how long it took them to develop it. Ever wonder why Slyce isn't released yet? Think it might have to do with the code they've had to develop for menus that NO ONE else has been able to do? Even libbluray hasn't been able to get menu support done. It's not something you can just whip up in 10 minutes. If Nev focused on it, which he said he won't, it'd take away from all the other things he's working on. And there are more important issues to work on. I believe that the players need to implement this functionality. J River, for example, appears to have a lot of work to do.
I just want to say I do respect his work, if it came across as I didn't I apologise to Nev for that.
I even spent days trying to get an XBMC external player batch file to read the 'disc.inf' just so I could still use MPC/LAV Filters instead of the internal XBMC player :D
Regarding BD menus, it not something I would want anyway (TMT5/PowerDVD already work quite well), I would much prefer perfect main movie selection, which I know is possible if a player eventually can implement it XBMC seems to be closest (Without using 'disc.inf') from what I am able to test at the moment (5/7 for non Screenpass titles is pretty good)
ddjmagic
8th January 2013, 22:12
PS:
Even if my comments were disrespectful towards the super duper "Speedmenus" (a feature by some company, which i doubt you are tied to), yours are borderline offensive towards me, don't expect answers anymore.
Why you personally get offended if someone doesn't like Speedmenus is truely beyond me.
I was frustrated, I apologise for that and respect your decision to not answer, I will still continue to download and use the latest LAV Filters either way.
ddjmagic
9th January 2013, 01:08
Does anyone know if the latest MPC-HC Nightly build would have the fix included that allows a third party splitter (LAV) to control the playlist selection?
paradoxical
9th January 2013, 01:20
Why don't you ask in the MPC-HC thread (https://forum.doom9.org/showthread.php?t=166689&page=8)?
ddjmagic
9th January 2013, 01:37
Why don't you ask in the MPC-HC thread (https://forum.doom9.org/showthread.php?t=166689&page=8)?
Thanks, I will do. I have just tried it actually and I don't think it does, it seems to still use its own selection :devil::).
kangreon
9th January 2013, 04:04
Hello. Please review the closed issue (296 (https://code.google.com/p/lavfilters/issues/detail?id=296#c4)). I described the problem in detail.
jmone
9th January 2013, 04:12
FYI - I've with JRiver the disucssion on Title selection and asked if they would do a review of the logic used. Hope that moves the discusion to the correct forum.
dansrfe
9th January 2013, 06:53
Is it normal for Blurays to have the center channel quieter than the rest of the channels? The difference is noticeable enough to where I had to increase the volume on my receiver in order to hear the vocals properly. But the issue then became the surround, left, and right speakers gobbling up the center's sound with the background music, etc.
Maybe I need to balance the klipsch speakers in the receiver based on where they are located or calibration?
PS: I hear a slight difference between the center channel and the mixed in surround/left/right channels in my klipsch earphones but it's hard to tell since it's getting downmixed by lav anyways.
CiNcH
9th January 2013, 09:09
Is the code for main movie detection in 'CBDDemuxer::Open'. So from what I can see it just uses the playlist with the longest duration?
nevcairiel
9th January 2013, 09:19
libbluray performs filtering on the titles to remove unwanted ones from the list first.
ddjmagic
9th January 2013, 11:36
I'm still trying to find a player that can use LAV's playlist selection, I've tried MPC-HC (Nightly), MPC-BE, Zoom Player, Pot Player and KM Player, I've disabled all the internal filters and set LAV for everything on each but they all are still using their own selection.
What are you guys using as a player with LAV, any suggestions appreciated.
starla
9th January 2013, 11:47
Is the code for main movie detection in 'CBDDemuxer::Open'. So from what I can see it just uses the playlist with the longest duration?
As a quick note the longest clip might contain some unwanted stuff like director comments in middle of the movie, so there is no safe way to use only the titles for selecting the main movie.
Terminator Salvation is a good example of such disk.
tourettes, MP
update: this post can be ignored since there was already a better post explaining the same fact.
ddjmagic
9th January 2013, 14:49
I'm still trying to find a player that can use LAV's playlist selection, I've tried MPC-HC (Nightly), MPC-BE, Zoom Player, Pot Player and KM Player, I've disabled all the internal filters and set LAV for everything on each but they all are still using their own selection.
What are you guys using as a player with LAV, any suggestions appreciated.
Ok, it looks like the latest MPC-HC nightly build would include the fix to let LAV control the playlist selection.
I obviously must have something setup incorrectly :confused: Would I have to do anything in LAV Splitter settings other than checking all the formats under the input format tab?
Also I'm opening the BD folder, should I be picking a BDMV file instead (index.bdmv maybe?)
I didn't think it would be this hard just to get a player to use LAV/libbluray superior playlist selection :D
nevcairiel
9th January 2013, 14:57
Opening index.bdmv should work.
You can see if LAV does it or MPC-HC by which file MPC-HC claims is opened. If it sticks to saying its index.bdmv, then all is well, if it suddenly says some .mpls file was opened, then it switched it around for you.
Also, i'm not saying it'll be magically better, i just said i didn't see any magic in XBMC, and LAV does the same as XBMC apparently does. Maybe XBMC somewhere has some hidden magic which i didn't find yet.
LAV also does not use disc.inf, however if AnyDVD starts writing the "confirmed" main movies in there on all discs (and not just screenpass), i might read it, reading inf files is not hard.
SamuriHL
9th January 2013, 15:12
Nev, I don't know if you saw the discussion jmone started on the MC forum, but, there are some definite improvements that could be made fairly trivially. One is to look at the number of audio tracks. A multi-audio track titleset should take precedence over a titleset with only 1 audio track. Also, if the titleset contains an HD audio track, it's more likely to be a main titleset. That seems like it'd be fairly trivial logic to add in?
ddjmagic
9th January 2013, 15:28
Opening index.bdmv should work.
You can see if LAV does it or MPC-HC by which file MPC-HC claims is opened. If it sticks to saying its index.bdmv, then all is well, if it suddenly says some .mpls file was opened, then it switched it around for you.
Also, i'm not saying it'll be magically better, i just said i didn't see any magic in XBMC, and LAV does the same as XBMC apparently does. Maybe XBMC somewhere has some hidden magic which i didn't find yet.
LAV also does not use disc.inf, however if AnyDVD starts writing the "confirmed" main movies in there on all discs (and not just screenpass), i might read it, reading inf files is not hard.
Thanks for the answer.
MPC-HC is showing index.bdmv as the file playing, so would that mean LAV is choosing?
If so then unfortunately you might be right :( XBMC must be doing something different, because from the tests I posted (#13768) LAV got 0/7 on non Screenpass correct and XBMC got 5/7, this is not a dig at LAV, I just want to help improve this.
May I ask the basics of how Libbluray filters the playlists?
I'm only asking because on almost all the titles I tested, when the incorrect track was chosen, there were no repeats and it did have multiple audio and HD audio, so Libbluray was still letting some incorrect tracks through, so they must pass through its filters.
Could XBMC have changed or added improvements to their Libbluray build at all because that seems to ignore the track that others select and pick a different one ?
Edit -
For example Wall-E, everything except XBMC choose 00082.mpls {01:38:41} this is the main movie, but it isn't the default version (It has Spanish text) the track has chapters, multiple audio, HD Audio - everything, but how would XBMC know that 00081.mpls {01:38:11} is the correct track?
XBMC 11 gets it wrong too, its something in the new version
bejita7
9th January 2013, 15:33
This may be stupid question, but, nevcariel, when do you plan to add Ordered Chapters support to LAV Splitter? That's the only reason why I'm still using Haali splitter but Haali often crashes MPC-HC on Win8 so i would prefer LAV Splitter for all files.
ddjmagic
9th January 2013, 15:38
discussion jmone started on the MC forum
SamuriHL, any chance of sending me a link to the thread, I wouldn't mind having a read through, thanks.
paradoxical
9th January 2013, 15:43
This may be stupid question, but, nevcariel, when do you plan to add Ordered Chapters support to LAV Splitter? That's the only reason why I'm still using Haali splitter but Haali often crashes MPC-HC on Win8 so i would prefer LAV Splitter for all files.
Yes, he has said before he will work on it.
I'll work on ordered chapters "soon", but that can still be a couple of month, depending on how my real job starts developing.
SamuriHL
9th January 2013, 15:53
SamuriHL, any chance of sending me a link to the thread, I wouldn't mind having a read through, thanks.
No. It's not a public thread.
Kurtnoise
9th January 2013, 15:55
One is to look at the number of audio tracks. A multi-audio track titleset should take precedence over a titleset with only 1 audio track.Also, if the titleset contains an HD audio track, it's more likely to be a main titleset.
What's happen when 2 titles (or more) have all multi-tracks and/or HD streams in this case ?
SamuriHL
9th January 2013, 15:56
What's happen when 2 titles (or more) have all multi-tracks and/or HD streams in this case ?
Then you have to pick the longest of the two (or more) by default. I mean, unless you're able to parse the menus, you're never going to get it perfect. The idea here is to improve the guessing.
ddjmagic
9th January 2013, 16:00
No. It's not a public thread.
Ok, thanks :).
Just to let you know the improvements you suggested would solve 2 of the 7 that I posted that JRiver got wrong, Black Hawk Down and Hellboy.
The rest all have HD audio and multiple audio tracks.
So improvements can be made, not sure how XBMC has improved it as I can not see any logical way to fix those other 5 :confused:
But surely if XBMC have made improvements it must be something LAV can do too, as their source code is public and Nev has confirmed they seem to use the same logic.
madshi
9th January 2013, 16:10
@ddjmagic, would you be willing to zip and upload the key menu files (no actual m2ts files) of all those problematic Blu-Rays with and without Screenpass, together with a short list of which is the "correct" movie playlist? I guess the PLAYLIST+CLIPINF folders together with those two bdmv files should do the trick. I think that would help development, not only for LAV, but maybe also for other home cinema software.
ddjmagic
9th January 2013, 16:22
@ddjmagic, would you be willing to zip and upload the key menu files (no actual m2ts files) of all those problematic Blu-Rays with and without Screenpass, together with a short list of which is the "correct" movie playlist? I guess the PLAYLIST+CLIPINF folders together with those two bdmv files should do the trick. I think that would help development, not only for LAV, but maybe also for other home cinema software.
Yes I can do that, where would be best place to upload the files?
So I would zip
PLAYLIST
CLIPINF
index.bdmv
movieobject.bdmv
Anything else?
I will try a couple now.
SamuriHL
9th January 2013, 16:27
Ok, thanks :).
Just to let you know the improvements you suggested would solve 2 of the 7 that I posted that JRiver got wrong, Black Hawk Down and Hellboy.
The rest all have HD audio and multiple audio tracks.
So improvements can be made, not sure how XBMC has improved it as I can not see any logical way to fix those other 5 :confused:
But surely if XBMC have made improvements it must be something LAV can do too, as their source code is public and Nev has confirmed they seem to use the same logic.
MC is going to be updated with new logic that jmone pointed out. You may not see it publicly for a bit, but, it'll be there eventually.
nevcairiel
9th January 2013, 16:31
I should setup a sample upload service like VLC has, public upload, but no public download (unless i choose to publish the file link), so it cannot be abused by evil people. :p
SamuriHL
9th January 2013, 16:32
That would be nice. :)
SamuriHL
9th January 2013, 16:40
Here's the info for Hunger Games Region A. This is a screen pass disc. I added the disc.inf file to the zip from AnyDVD. This has the clipinf and playlist directories and the index.bdmv and movieobject.bdmv files. I hope this helps.
http://www.mediafire.com/download.php?6ac6f7jrfcc4y5p
ddjmagic
9th January 2013, 16:44
Here's a zip from Black Hawk Down, I have added the correct playlists in a txt file.
http://www.sendspace.com/file/whaej6
If this is right I will do the others too, I used sendspace because it was the first one on Google :)
If its not a good place let me know.
madshi
9th January 2013, 17:27
I should setup a sample upload service like VLC has, public upload, but no public download (unless i choose to publish the file link), so it cannot be abused by evil people. :p
Well, many developers are interested in samples, so I think a private upload service wouldn't be that great, unless you give full all-time access to all developers who ask for it.
Here's the info for Hunger Games Region A. This is a screen pass disc. I added the disc.inf file to the zip from AnyDVD. This has the clipinf and playlist directories and the index.bdmv and movieobject.bdmv files. I hope this helps.
http://www.mediafire.com/download.php?6ac6f7jrfcc4y5p
Looks good, but which is the correct playlist to use? If you upload more samples, please add a text file to indicate the correct playlist for each sample. Thanks.
Here's a zip from Black Hawk Down, I have added the correct playlists in a txt file.
http://www.sendspace.com/file/whaej6
If this is right I will do the others too, I used sendspace because it was the first one on Google :)
If its not a good place let me know.
Looks good to me, too, thanks. It would be nice if you could include the "disc.inf", too, just to have something to compare to. I do wonder, though. Your text file says: "00042.mpls is the longest playlist and usually mistaken for the main movie". But 0042.mpls is an SD playlist! eac3to at least never picks an SD playlist as the main movie unless there's no HD content at all on the disc.
If XMBC/jRiver MC/LAV currently do sometimes pick an SD playlist as the main movie, I think that's something that should be very easy to improve.
6233638
9th January 2013, 17:32
Inception and the Region B Hunger Games (different playlist structure)
http://www.sendspace.com/file/511xu0
EDIT: Now with disc.inf
EDIT2: The disc.inf files are saying the type is BD-R because I just mounted images rather than getting the discs. (most of my discs are stored away - I use a HTPC to avoid having bookshelves full of discs sitting out) That won't make a difference, will it?
I've definitely got some other discs here that load the wrong playlist when I open index.bdmv, but I can't think which ones they are right now.
madshi
9th January 2013, 17:36
@nevcairiel, I hope you're ok with the samples being "announced" in this thread? Personally, I'm interested in the samples, in any case...
@6233638, thanks. And could you please also include the "disc.inf", in case you have it?
nevcairiel
9th January 2013, 17:46
Well, many developers are interested in samples, so I think a private upload service wouldn't be that great, unless you give full all-time access to all developers who ask for it.
It would be an option to allow any person that wants read access (within reason) to grant it. Many projects use a upload-only FTP for sharing samples on bug reports because all these one-click hosters are just terrible, but offering a publicly-readable file hosting obviously comes with a whole bunch of problems.
Depending on how big the upload volume would be, might as well take a moderation approach, just hold all files until they are checked to be at least remotely relevant to something, and not just someone trying to host illegal content.
SamuriHL
9th January 2013, 17:57
madshi, I added the disc.inf for that very reason. It contains the valid playlist which is 665 on that one.
madshi
9th January 2013, 18:02
@SamuriHL, ah, I see. Just thought that disc.inf wasn't always showing the correct playlist, as opposed to SpeedMenus? That's why I thought it might make sense to clearly state which playlist is the correct one.
@nevcairiel, you're right about the danger of hosting illegal content. I think if you only grant all devs (and maybe trusted non-devs) download access on request, that might be a pretty good solution.
nevcairiel
9th January 2013, 18:04
@SamuriHL, ah, I see. Just thought that disc.inf wasn't always showing the correct playlist, as opposed to SpeedMenus? That's why I thought it might make sense to clearly state which playlist is the correct one.
disc.inf only shows the playlist on Screenpass titles right now, afaik, while Speedmenu obviously show a playlist on all titles.
SamuriHL
9th January 2013, 18:05
There's a misconception about the disc.inf, I think. It ONLY shows the playlists if there's screen pass protection on the disc. If there's no screen pass, then it won't be useful for playlists. If I had done a different disc I'd have specifically stated which playlist was correct. Sorry for the confusion.
ddjmagic
9th January 2013, 18:07
Looks good to me, too, thanks. It would be nice if you could include the "disc.inf", too, just to have something to compare to. I do wonder, though. Your text file says: "00042.mpls is the longest playlist and usually mistaken for the main movie". But 0042.mpls is an SD playlist! eac3to at least never picks an SD playlist as the main movie unless there's no HD content at all on the disc.
If XMBC/jRiver MC/LAV currently do sometimes pick an SD playlist as the main movie, I think that's something that should be very easy to improve.
Yes this and Hellboy both have SD content chosen as the main movie by XBMC 11/JRiver/LAV, XBMC 12 picks correctly though.
Those 2 would be easy to solve, but the others are different.
Here are the other discs
http://www.sendspace.com/file/4j9vqp
I haven't added the disc.inf, if you need this I will go back and load the original discs again as some were ripped prior the AnyDVD disc.inf feature.
Edit - I have added a "correct playlist.txt" for each disc showing the correct playlist and also noting the usually selected incorrect playlist.
madshi
9th January 2013, 18:15
Ok, if disc.inf is only for screen pass, then I guess it's not as important. Thans, ddjmagic, looks like we have a nice collection of samples now.
SamuriHL
9th January 2013, 18:18
This is great! This is one of the biggest areas that we fall down in using non-licensed players. I don't give a flying monkey about menus, either, but, I do want the correct titleset to be chosen. And madshi, I suspect this probably helps a bit with eac3to, huh? ;)
madshi
9th January 2013, 18:24
Yes, it might help for eac3to at some point in the future, too. But has anybody actually tested yet how often eac3to fails? But that's a bit OT here, I guess...
ddjmagic
9th January 2013, 18:33
This is great! This is one of the biggest areas that we fall down in using non-licensed players. I don't give a flying monkey about menus, either, but, I do want the correct titleset to be chosen.
I agree 100% :) Hopefully steps can be made towards that.
I think for Screenpass titles reading from the 'disc.inf' like JRiver, is going to be the only way it can be achieved (Without an awful lot of work)
ddjmagic
9th January 2013, 18:46
Sorry, one last one that I just remembered having problems with - American Pie - Another that plays a long SD special feature track.
http://www.sendspace.com/file/5rci4t
(http://www.sendspace.com/file/5rci4t)
SamuriHL
9th January 2013, 19:00
Yes, it might help for eac3to at some point in the future, too. But has anybody actually tested yet how often eac3to fails? But that's a bit OT here, I guess...
More than you'd like. Yes, it's been tested, but, as you said, OT for here. Its logic could be improved, though.
Sebastiii
9th January 2013, 20:07
I'm still trying to find a player that can use LAV's playlist selection, I've tried MPC-HC (Nightly), MPC-BE, Zoom Player, Pot Player and KM Player, I've disabled all the internal filters and set LAV for everything on each but they all are still using their own selection.
What are you guys using as a player with LAV, any suggestions appreciated.
Hi,
You could always try MediaPortal (Native BD Player but here it will not use LAV Splitter) or MediaPortal with BDHandler (that use LAV Splitter) :)
And Thanks Nev for your work (i will never stop to say it :P)
nevcairiel
9th January 2013, 22:50
LAV Filters 0.55
General
- All Filters now have an optional tray icon which can open the property sheet when clicked (disabled by default)
LAV Splitter
- Improved FPS detection for interlaced H.264 streams in Matroska
- Fixed H.264 in Ogg and PMP
- Fixed seeking in RMVB files with AAC audio
- Improved support for AAC in MPEG-TS (especially in ISDB-T)
- Fixed Key-Frame seeking for AVI and added support for MP4
LAV Video
- Improved handling of raw RGB video with LAV Splitter (Video was upside-down in some cases)
- Improved support for the Overlay Mixer renderer
- Fixed decoding of non-mod16 video with CUVID
- Fixed DXVA2 decoding of H.264 MBAFF content with >= 16px cropping
- Support for fade in/out animations in DVD subtitles
- Fixed DVD menu overlays showing too early on some discs
- Fixed forced DVD subtitles being stuck on the screen until the next subtitle line
- Improved playback of MPEG-1 in MKV with Haali Splitter
LAV Audio
- Fixed 6.1 to 7.1 upmixing when the standard channel layout option is turned off
- Dithering when converting audio to 16-bit Integer
- Fallback to DTS "Core" bitstreaming if DTS-HD fails
Download: Installer (both x86/x64) (http://files.1f0.de/lavf/LAVFilters-0.55.exe) -- Zips: 32-bit (http://files.1f0.de/lavf/LAVFilters-0.55.zip) & 64-bit (http://files.1f0.de/lavf/LAVFilters-0.55-x64.zip)
Tray Icons
As most that read this probably already know, LAV now has tray icons for all three filters. They are disabled by default, and in this version don't offer much functionality - they show up, and you can click them to open the property sheet of the appropriate filter.
This at least allows you to directly access the configuration/status of the actually active instance of LAV, because many players either don't offer access to the property page at all, or always instanciate a new copy, and don't use the one used for playback.
In the future, more features will be added to the tray icons, most notably: LAV Splitter will allow direct stream switching through the tray icon for players which do not offer this.
And everything else
Since it was quite a while since the last release already, a lot of small fixes and most importantly a lot of ffmpeg changes have accumulated for this release.
Most importantly, the way the H.264 decoder in ffmpeg deals with resolution changes was greatly improved, and i hope it didn't cause any regressions.
As always, please report any issues you find with this version to me, most importantly regressions, but all other sorts of issues as well, of course.
I hope i don't have to do a .1 release within the week to fix any new issues, but with the sheer amount of ffmpeg changes, i'm prepared to do so if required.
Have fun!
Pomegranate
9th January 2013, 23:21
Thank you very much for the new version, Mr Nev. :D
Dithering is a reaaaallly nice touch!
hubblec4
10th January 2013, 00:48
nice to see the tray-icon-feature.
but i miss the support of ordered chapters. is there a real chance that you start with this feature this year?
Please Please Please :-)
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.