INTERACT FORUM

More => Old Versions => Media Center 16 (Development Ended) => Topic started by: jmone on February 10, 2011, 02:17:23 am

Title: Blu-ray support using LAV Filters
Post by: jmone on February 10, 2011, 02:17:23 am
For a summary see the Everything about Blu-ray / HD-DVD playback in MC thread at http://yabb.jriver.com/interact/index.php?topic=55171.msg375378

==============================
Would it be worth an invite to nevcairiel (over at Doom9 as well) who is actively developing LAVFSplitter (based of ffmpeg) / LAV Audio Decoder : http://forum.doom9.org/showthread.php?t=156191 to play with JR?

I've been pretty impressed with his work and responsiveness to date with these filters and I'm sure that he would be another asset (if he wanted to play) to the development of MC in the direct show Video area.  What do you think?

Thanks
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 10, 2011, 02:39:49 am
Just thinking outloud on getting a std set of filters that will work for the users "out of the box" and gives a consistant high quality output for Direct Show Playback that we can recommend or even have installed as "Std",
1) Splitter: LAVFSplitter still has some bugs he is working on, but it basically works with everthing I've tested it on
2) Audio Decoder: Likewise the LAV Audio Decoder is simple and decodes everything to PCM and works with JR's Audio Renderer.  The only issues I've found is that like with all other open source Audio Decoders it only does the DTS-MA Core but nevcairiel plans to put an option in to disable this so we can use the hacked Arcsoft HD Audio Decoder for this.  It seems to not like the DTV playback.
3) Video Decoder: ?
4) Audio Renderer: JR's
5) Video Renderer: madVR

The only other filter I'm having to load at present is DirectVobSub for subs....
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: madshi on February 10, 2011, 03:08:59 am
Would it be worth an invite to nevcairiel (over at Doom9 as well) who is actively developing LAVFSplitter (based of ffmpeg) / LAV Audio Decoder : http://forum.doom9.org/showthread.php?t=156191 to play with JR?

I've been pretty impressed with his work and responsiveness to date with these filters and I'm sure that he would be another asset (if he wanted to play) to the development of MC in the direct show Video area.  What do you think?

I'm not sure if it's worth it. His filters should be compatible with any media player without needing any specific adjustment. So him playing with MC would probably not bring any benefit, neither to MC nor to his filters. The situation is different with madVR because the media player needs custom code to make madVR work.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on February 10, 2011, 10:50:53 am
First, it's one of the most helpful things for us when users that are active other places help nudge people our way.  We'll get involved or help when we can.

As for the video decoder, I've had good luck with FFDShow.  I just wish it wasn't so complicated.  It doesn't really work with DVD, it requires enabling a bunch of codecs that are off by default, and you need to enable Deinterlacing (and pick from a huge list of types) if you want to use it with madVR and 1080i television (which is a big percentage of my content).  Then, I'm not sure what having the Deinterlacing filter enabled is doing when the video isn't interlaced, say 720p television.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on February 10, 2011, 11:25:39 am
Matt, could you please export and post (change the extension to txt) your ffdshow settings using "Export All Settings" on the bottom of the video decoder configuration window. I'd like to try them. Having various ffdshow configuration files available might be helpful.

Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on February 10, 2011, 03:39:49 pm
Matt, could you please export and post (change the extension to txt) your ffdshow settings using "Export All Settings" on the bottom of the video decoder configuration window. I'd like to try them. Having various ffdshow configuration files available might be helpful.



I don't see an export button.

But I haven't done anything fancy.

1) Only enable YV12 output (this is optional, since madVR will require it anyway)
2) Turn off all processing except the Deinterlacer (yadif with 'Double framerate' looks good to me)
3) Enable needed codecs (if any), like MPEG-4 and VC-1
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Osho on February 10, 2011, 04:51:22 pm
1) Splitter: LAVFSplitter still has some bugs he is working on, but it basically works with everthing I've tested it on

Not knowing much about splitters, I have a rather naive question. How is this different/better than Haali Splitter? Should I care about which splitter I am using as long as I can play the file (i.e. does the choice of splitter affect the quality of video and/or audio)? My naive understanding was that the quality of video/audio depends more on the decoder and/or renderer rather than the splitter.

Thanks,
Osho
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 10, 2011, 07:20:57 pm
Not knowing much about splitters, I have a rather naive question. How is this different/better than Haali Splitter? Should I care about which splitter I am using as long as I can play the file (i.e. does the choice of splitter affect the quality of video and/or audio)? My naive understanding was that the quality of video/audio depends more on the decoder and/or renderer rather than the splitter.

Thanks,
Osho

Your right, the splitter has nothing to do with the "quality", but depending of each splitters limitations / bugs they may not be able to open a file, see all the streams / see them correctly (Video, Audio, Chapters, Subtitles etc) or connect them correctly to the downstream filters (Decoders).  They also provide the "seek" functionality so we can play, pause, FFD, RWD, Chapter Skip etc.  Half the posts on the main board of questions like "why does MC....:
....not play the DTS-MA track" is really, a bug in the Haali Splitter means that the DTS-MA track is not recognised in MKV containers muxed by a package
....crash / freeze when I playback / navigate with XYZ files" can be the splitter misreading a stream and trying to connect it to a downstream filter that does not support it, or it is not reading the time stamps at the beginning of the streams or....
....play static"

The average user just gives up with MC and ends up with another player as "MC is good for music" but XYZ player for video as it "plays everything" (there is a current post right now saying this). 

I've been trying to work DOWN the number of Filters I need to the bare minimum of ones that are as simple as possible that works with as much as possible.  Ideally, JR could then optionally distribute/config such a set so we instead see comments like "I use MC as it plays everthing".
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Osho on February 10, 2011, 07:50:49 pm
Your right, the splitter has nothing to do with the "quality", but depending of each splitters limitations / bugs they may not be able to open a file, see all the streams / see them correctly (Video, Audio, Chapters, Subtitles etc) or connect them correctly to the downstream filters (Decoders).  They also provide the "seek" functionality so we can play, pause, FFD, RWD, Chapter Skip etc.  Half the posts on the main board of questions like "why does MC....:
....not play the DTS-MA track" is really, a bug in the Haali Splitter means that the DTS-MA track is not recognised in MKV containers muxed by a package
....crash / freeze when I playback / navigate with XYZ files" can be the splitter misreading a stream and trying to connect it to a downstream filter that does not support it, or it is not reading the time stamps at the beginning of the streams or....
....play static"

The average user just gives up with MC and ends up with another player as "MC is good for music" but XYZ player for video as it "plays everything" (there is a current post right now saying this). 

I've been trying to work DOWN the number of Filters I need to the bare minimum of ones that are as simple as possible that works with as much as possible.  Ideally, JR could then optionally distribute/config such a set so we instead see comments like "I use MC as it plays everthing".

Thanks jmone - that was very informative. I have been using Haali Splitter for most of my files so far. While it works (mostly), sometimes the seek do not work as well as I like (e.g. it won't seek or the FF/REW seems slow). How has your experience been with LAVFSplitter?

Thanks,
Osho
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 10, 2011, 08:20:02 pm
Thanks jmone - that was very informative. I have been using Haali Splitter for most of my files so far. While it works (mostly), sometimes the seek do not work as well as I like (e.g. it won't seek or the FF/REW seems slow). How has your experience been with LAVFSplitter?

Thanks,
Osho


Good for 2 reasons:
1) It works over my test files with little fuss but more importantly
2) The dev fixes bugs - eg I posted some MKV files that would not start to play this week and he updated the splitter to fix the issue.  The Haali splitter rarely gets an update so things like the missing DTS-HD stuff does not get addressed in a timely matter.

Bugs / ? with the LAV Splitter I've still found is:
1) I've posted sample files TS DVB-T files recoded in MC that will not play (I think it is the way the DD track is muxed).  
2) You have to load DirectVobSub for subs to stay (they disappear after a second or so if you just use FFDSHOW.  I'm not sure if this is a splitter or FFDSHOW issue)

Install it, give it a try and see what you think.
Thanks
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on February 10, 2011, 08:52:01 pm
Matt, could you please export and post (change the extension to txt) your ffdshow settings using "Export All Settings" on the bottom of the video decoder configuration window. I'd like to try them. Having various ffdshow configuration files available might be helpful.

I emailed you my home settings.  I must have an older ffdshow at work that doesn't have 'Export All Settings'.

And as a disclaimer, really you should be asking jmone and company these questions as they're a lot deeper into it than me.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 10, 2011, 09:16:17 pm
Here is my ffdshow settings, and I really only made changes where I had to, the main ones being:
- Codecs --> H.264/AVC:  Change to ffmpeg-mt (it handles high bit rate / frame rate content better)
- De interlacing ON --> YADIF, Double framerate
- Subtitles ON
- Output --> YV12 and YUY2 checked (you may need YUY2 for MS Video Renderers)

Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on February 10, 2011, 10:24:16 pm
I'll try these tomorrow. I think they are about the same settings that I have now. However, it was only recently that I switched to ffmpeg-mt for H.264/AVC and WMV9 for VC-1.

Maybe MC could have a Download section with links to the necessary filters or actually have the files available. They could also have some ffdshow settings files. People could just choose the ffdshow settings file that matches their needs. The Downloads shouldn't be hidden in the forums or the wiki, but available directly from the homepage. Alternatively, MC itself could have a Download Wizard that installs a splitter, video and audio decoders, renderer, and settings file for the decoders. These would then be used with the Automatic setting for Playback Method.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: fitbrit on February 10, 2011, 10:35:40 pm
Your right, the splitter has nothing to do with the "quality", but depending of each splitters limitations / bugs they may not be able to open a file, see all the streams / see them correctly (Video, Audio, Chapters, Subtitles etc) or connect them correctly to the downstream filters (Decoders).  They also provide the "seek" functionality so we can play, pause, FFD, RWD, Chapter Skip etc.  Half the posts on the main board of questions like "why does MC....:
....not play the DTS-MA track" is really, a bug in the Haali Splitter means that the DTS-MA track is not recognised in MKV containers muxed by a package
....crash / freeze when I playback / navigate with XYZ files" can be the splitter misreading a stream and trying to connect it to a downstream filter that does not support it, or it is not reading the time stamps at the beginning of the streams or....
....play static"

The average user just gives up with MC and ends up with another player as "MC is good for music" but XYZ player for video as it "plays everything" (there is a current post right now saying this). 

I've been trying to work DOWN the number of Filters I need to the bare minimum of ones that are as simple as possible that works with as much as possible.  Ideally, JR could then optionally distribute/config such a set so we instead see comments like "I use MC as it plays everthing".

Agreed with everything here, jmone. I was one of those that felt MC was lacking in the video dept. I still keep MPC-HC on-hand for the rare problems I now encounter with MC, but overall, things are a LOT better with MC now. Recently I've been able to play all my DTS-MA and TrueHD files with bitstreaming to my receiver. Usually there's no issue, but the occasional TrueHD file will not allow seeking.
Not so long ago I was sending all HD audio mkvs to MPC-HC to play. I know this represents bug-fixes in filters as much as efforts in MC, but it's very nice to see MC working away at video after pretty much dominiating in its audio quality. Thanks a lot for your efforts for bringing in the Doom9 stars too.
I stuck with MC since version 12 because of all the tagging and library organisation tools; with recent and recently-proposed changes, there'll be many mroe reasons to stick with MC for audio and video.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 10, 2011, 10:41:30 pm
I'll try these tomorrow. I think they are about the same settings that I have now. However, it was only recently that I switched to ffmpeg-mt for H.264/AVC and WMV9 for VC-1.
Woops forgot that I also changed VC-1 to WMV9 years ago as libavcodec does not support interlaced VC-1 content (maybe it does now - no idea)

Quote
Maybe MC could have a Download section with links to the necessary filters or actually have the files available. They could also have some ffdshow settings files. People could just choose the ffdshow settings file that matches their needs. The Downloads shouldn't be hidden in the forums or the wiki, but available directly from the homepage. Alternatively, MC itself could have a Download Wizard that installs a splitter, video and audio decoders, renderer, and settings file for the decoders. These would then be used with the Automatic setting for Playback Method.

There needs to be a better approach.  It's like Maid's latest post in the Main Forum......she is stuck... again... and it is hard work getting her sorted out (if you ever can and she is on my no go list after the last effort trying to help - sorry!).  So how is she going to be supported as at this rate it will be another MC can't play it post....

I think we need a few things....like a "Configure Playback for this File"
1) The ability for a use to right click on a "offending, it will not play file" and have MC collect up the info on it - Container, Streams, etc (eg Like Media Info does)
2) Then display a recommendation of what filters and settings may work (or even make the changes)

This may not be that hard as much of this logic was done for the DLNA streaming profiles by Bob.  However, if I've been optimistic and it is to hard at least this info could be copied to the clip board (like with the filter info) so the user can post it to a support thread.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: fitbrit on February 10, 2011, 11:14:22 pm

There needs to be a better approach.  It's like Maid's latest post in the Main Forum......she is stuck... again... and it is hard work getting her sorted out (if you ever can and she is on my no go list after the last effort trying to help - sorry!).  So how is she going to be supported as at this rate it will be another MC can't play it post....
::)

I know what you mean. Every now and again I take pity and try to help out... then regret it because I let my frustration show through. I think she's installed so many different filters that her system is truly screwed up. And when I ask whether she's prepared to start from scratch, reformat, and let us help from a clean system, there's no response. I'll take a look at her new troubles, but may not foresee that I'll have the patience to help for the entire week that it normally takes.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 10, 2011, 11:21:33 pm
Agreed with everything here, jmone. I was one of those that felt MC was lacking in the video dept....I stuck with MC since version 12 because of all the tagging and library organisation tools; with recent and recently-proposed changes, there'll be many mroe reasons to stick with MC for audio and video
It's funny as I ended up here in MC12 days as it was the only TheaterView style offering that let you select your filters INCLUDING the splitter.  The rest only supported the MS splitter that would not recognise DTS tracks muxed into a MPG container (pathetic really!).  The base flexibility is there, I'm loving the increasing focus on Video from the JR folk but this is also coupled with a growth of users who just expect it to work out of the box (and currently it does not).
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 10, 2011, 11:22:32 pm
::)

I know what you mean. Every now and again I take pity and try to help out... then regret it because I let my frustration show through. I think she's installed so many different filters that her system is truly screwed up. And when I ask whether she's prepared to start from scratch, reformat, and let us help from a clean system, there's no response. I'll take a look at her new troubles, but may not foresee that I'll have the patience to help for the entire week that it normally takes.

Mate you are a better man than me!
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: fitbrit on February 10, 2011, 11:44:33 pm
I screwed up... I was tempted to help and tried. So for a start, it's not even DTS, it's DTS-MA. And not all my diagnostic questions were answered. :(
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: fitbrit on February 10, 2011, 11:51:25 pm
It's funny as I ended up here in MC12 days as it was the only TheaterView style offering that let you select your filters INCLUDING the splitter.  The rest only supported the MS splitter that would not recognise DTS tracks muxed into a MPG container (pathetic really!).  The base flexibility is there, I'm loving the increasing focus on Video from the JR folk but this is also coupled with a growth of users who just expect it to work out of the box (and currently it does not).

I started in MC12 too, and it was a godsend to play h264 + AC3/DTS mkvs, even compared to messing with filter merits in MPC. Ah, those days when I used to use AC3filter for all audio. :)
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Osho on February 11, 2011, 12:43:27 am
I uninstalled Haali splitter and tried LAV Splitter. It did not seem to work on half of my video files. I tried it on many different types of files. In the cases it did not work, it ended up crashing MC16(.0.28).


I ended up uninstalling LAV Splitter and installing Haali splitter back again. LAV Splitter is certainly looking promising though - especially if it could handle subtitles better.

Thanks,
Osho
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 11, 2011, 01:20:21 am
Thanks Osho - On my test files the LAV Splitter it is still crashing (or playing nothing depending on the other filters being used) with 1080i MPEG / DD DVB-T muxed in a TS container.  The rest of my test files is (including Xvid) is rock solid.  If you could be bothered it is worth posting a sample (eg 30 sec) over in his thread of that stuff that is crashing as he does download and fix issues (or has for me over the last week).
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: MrHaugen on February 11, 2011, 08:42:54 am
Ideally, JR could then optionally distribute/config such a set so we instead see comments like "I use MC as it plays everthing".

THAT would be a great idea. Video in MC is rather complex for the average user.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 13, 2011, 01:02:37 pm
After doing some testing and finding some bugs, nevcairiel has stated that he plans to add libbluray!  This will give us a Direct Show Blu-ray Navigation Filter!!!  He was taking about how to integrate it with MPC-HCs menu.  I really think that JR should reach out to him and make sure that this works with MC....Blu-ray light
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 14, 2011, 02:15:35 pm
To get the blu ray support working, it is going to need some player menu mods to support it.  He sounds keen to work with JR,
Quote from: nevcairiel;1477938
Like i said, its far from being done, and it might be a while. But i appreciate any support, and player support is always great. :)

Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: fitbrit on February 14, 2011, 02:25:30 pm
After doing some testing and finding some bugs, nevcairiel has stated that he plans to add libbluray!  This will give us a Direct Show Blu-ray Navigation Filter!!!  He was taking about how to integrate it with MPC-HCs menu.  I really think that JR should reach out to him and make sure that this works with MC....Blu-ray light

That would be amazing! I hardly ever use discs these days, but I would certainly if I could do it within MC. I might even rent movies again!
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: JimH on February 14, 2011, 02:55:49 pm
We'll offer a license if you want to contact him.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 15, 2011, 03:14:16 am
Thanks for that, but I think he will need some direct comms with JR about the development to make it work with MC.  It would be great if someone from JR made contact with him (I've let him know that a JRer may make contact so it will not be a surprise if you do)
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 20, 2011, 04:10:00 am
I'm happy to make the into - but don't want to overstep any boundaries.  Would JR be happy to work with him on the Blu-ray playback he plans to add to his splitter as it will apparently require support from as the player (he is working with MPC-HC already on this)?  If so I'll offer the licence (thanks Jim) and suggest he contacts ??.
Thanks
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: madshi on February 21, 2011, 10:24:37 am
How far is libbluray, anyway? From its git homepage, current version seems to be 0.0.1-pre? That sounds extremely non-finished to me.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 21, 2011, 12:57:30 pm
How far is libbluray, anyway? From its git homepage, current version seems to be 0.0.1-pre? That sounds extremely non-finished to me.

No Idea - and he may be talking through his hat FAIK, coding in a format that would not work with MC.... and no doubt lots of other things that as a user I'd have little understanding of (and hence why I suggest a JRer make contact).
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on February 22, 2011, 08:43:36 am
If so I'll offer the licence (thanks Jim) and suggest he contacts ??.

matt at jriver dot com.

Thanks for the help.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on February 23, 2011, 04:07:25 am
Thanks Matt - I've passed on the kind invitation to play....
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 09, 2011, 03:01:26 pm
Matt has Hendrik (LAV Splitter Author) made contact?  Anyway here is the outline of his plans for Blu-ray support http://1f0.de/2011/03/lav-filters-0-18-future-plans/
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 09, 2011, 03:16:37 pm
FYI from the LAV Thread:

Quote
Originally Posted by jmone 
Quote
Well I just linked to your blog for the JR Media Center devs to see what your plans are (as per my PM did you contact them, they are keen to discuss what player support you may need for this)


I didnt contact them yet, i've been busy with work and out of town the last few days, but stuff is cooling down now, and i should manage to get all that done soon.
I also don't have a concrete interface yet, but that should come up in the next days/week too.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on March 10, 2011, 09:13:21 am
nevcairiel just wrote me a nice note.

Thanks a lot jmone for the introduction.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 10, 2011, 09:58:47 am
Hi guys,

thanks for letting me play in your sand box. ;)

How far is libbluray, anyway? From its git homepage, current version seems to be 0.0.1-pre? That sounds extremely non-finished to me.
The features that i want to leverage out of it are working, that is mostly navigation. Whats not so good so far is Menu support, BD-Live, BD-J, and decryption. But it can properly extract the information out of the .bdmv, .mpls and .clpi files, and putting multi-part m2ts files back together for seamless playback.

Anyway, i'll let you guys know about any progress.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: fitbrit on March 10, 2011, 10:09:03 am
Thanks, jmone, Matt and Nevcairiel for working together on bringing this to MC for us.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on March 10, 2011, 10:17:45 am
Hi guys,

thanks for letting me play in your sand box. ;)

Welcome to Interact!


Quote
The features that i want to leverage out of it are working, that is mostly navigation. Whats not so good so far is Menu support, BD-Live, BD-J, and decryption. But it can properly extract the information out of the .bdmv, .mpls and .clpi files, and putting multi-part m2ts files back together for seamless playback.

Anyway, i'll let you guys know about any progress.

If playback of the main title is working, you've got everything I want.

How could Media Center start trying to support your filter?  Do we need to manually build a graph, or render a certain file from the Blu-ray, or what?

Thanks.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 10, 2011, 10:22:31 am
I'm not sure how i'll do the entry points. One thing i have setup right now is that you just render the index.bdmv file, and the splitter will select the title with the longest duration (usually the main movie), and play that. Other potential (future) possibilities include opening a m2ts file, and it'll figure out which title the file belongs to, and run that. Or opening a playlist file (mpls), or ...

I'll go with the .bdmv solution for now, as the main movie is what people usually want. The only problem with that is with TV Series on a BD, as there are typically 3-4 episodes with a similar duration on there. But i'll get to that once its working.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on March 10, 2011, 10:30:16 am
I'm not sure how i'll do the entry points. One thing i have setup right now is that you just render the index.bdmv file, and the splitter will select the title with the longest duration (usually the main movie), and play that. Other potential (future) possibilities include opening a m2ts file, and it'll figure out which title the file belongs to, and run that. Or opening a playlist file (mpls), or ...

I'll go with the .bdmv solution for now, as the main movie is what people usually want. The only problem with that is with TV Series on a BD, as there are typically 3-4 episodes with a similar duration on there. But i'll get to that once its working.

Is there a binary of the LAV filter we could test handing an index.bdmv to, and see if we can get a playable graph?
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 10, 2011, 10:33:58 am
Nothing really usable yet, after the weekend, hopefully. :)
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: madshi on March 10, 2011, 11:18:57 am
Other potential (future) possibilities include opening a m2ts file, and it'll figure out which title the file belongs to, and run that.

That could be problematic, especially for TV series. There's sometimes one playlist per episode. But there's also sometimes only one playlist which contains *all* episodes.

One thing that might be useful is this:

For seamless Blu-Rays (e.g. theatrical vs. extended cut, or computer animated movie with English / German / French texts etc) there are usually several playlists, in which every other m2ts part matches and the other half doesn't. This situation should be very easy to detect. It would be nice if there was some comfortable way to switch between the different "editions" then.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 10, 2011, 11:24:08 am
That could be problematic, especially for TV series. There's sometimes one playlist per episode. But there's also sometimes only one playlist which contains *all* episodes.
Sometimes there is also both. :) The best idea is still to open the index.bdmv and let the user switch between titles.

For seamless Blu-Rays (e.g. theatrical vs. extended cut, or computer animated movie with English / German / French texts etc) there are usually several playlists, in which every other m2ts part matches and the other half doesn't. This situation should be very easy to detect. It would be nice if there was some comfortable way to switch between the different "editions" then.
It shouldn't be a problem to detect and switch between the editions. You probably won't be able to switch during playback without starting over again, though.

Sadly there are no names attached to titles, its all done through the menus. But it will still beat what we have right now .. which is nothing. :)
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: madshi on March 10, 2011, 11:41:15 am
You probably won't be able to switch during playback without starting over again, though.

Hehe. If you're in the middle of an m2ts file which exists in both the current and new playlist, then it should be possible to switch seamlessly...  :)  You may have to issue a seek command, though, if the runtime of the two editions is differently.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 10, 2011, 11:45:46 am
Well thats for another day, anyway. It should be possible to translate the time from the one edition to the other, but meh. Unsupported use-case! (for now)
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 10, 2011, 06:21:41 pm
Welcome aboard nevcairiel!  I'm really excited about the leaps the HTPC community is taking in getting high quality video playback going thanks to the work of players like yourself, madshi, Matt etc.  One particular area is getting native Bluy-ray "light" support going and as a user, I'd like to be able to:
1) Associate / Play a "File" that will launch playback of content stored in a Blu-ray Structure (either physical Disc, ISO, or Folder Structure)
2) Select the desired playlist (Std, EE, etc)
3) Select the desired Audio and Subtitles
4) Support decoding (or bitstreaming for those that like this option) of all the various HD Audio options
5) Enable high quality Audio / Video Rendering (including refresh rate switching and sync)

So to me the current situation is pretty encouraging, as we have many of these in place or are planned devs to fill the holes:
1) 2) 3) LAV Splitter: Working on adding Blu-ray navigation.  I don't care about the Java menus etc, just get me to the content!
4) Issue is Decoding DTS-MA and the only workaround I know of is the use the TMT Filters at this stage and I'm not sure I've got it all working well with other filters in my list
5) madVR and jRiverDSP - only missing the refresh rate switching.

Thanks
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 13, 2011, 10:22:05 am
You asked for it, and here it is, a first testing version, its not nearly complete, in fact, it can only do the very basics.
- Open a .bdmv file (index.bdmv and MovieObject.bdmv both work)
- It'll select the longest title from a given BluRay, and play that. No interface to change titles yet.
- Seamless Playback is not working properly (playback usually breaks when the segment changes)
- Extraction of meta-data (stream languages, etc) is not implemented

All this version can really do is to allow you to test building a graph with a .bdmv file entry point.
Oh, and also only 32-bit, i had some issues building libbluray for 64bit...

http://files.1f0.de/lavf/LAVSplitter-0.20-preview-bluray.zip
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on March 13, 2011, 10:56:23 am
Thanks!

We'll be sure to play around with this and let you know how we fare.

We have a little work to do first to get Blu-ray setup for DirectShow playback (which there was no point offering before your filter).

Cheers.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 13, 2011, 11:00:16 pm
nevcairiel very impressive for a first go!  I can build a graph now and play the output in both GraphStudio and also in MC (as long as I manually add "bdmv" to "fileassociations.xml").

Couple of points in early testing:
1) Subtitles:  These already work! ... but you need to manually connect the pin to say FFDSHOW first to get it to play.  On my PC it is connecting to "Internal Script Command Renderer" (C:\Windows\SysWOW64\quartz.dll with CLSID {48025243-2D39-11CE-875D-00608CB78066}) and while a graph is built it never "plays"
2) Chapters:  No chapter support you (don't know if you plan to read these in from the .mpls)
3) Filters Preferences:  Oddly, the LAV Splitter seems to like connecting the output to the "Microsoft DTV-DVD Video Decoder" and "ffdshow Audio Decoder" in MC though I had no issue in GraphStudio using any of the other filter combinations (FFDSHOW Video, madVR etc etc).

Great work,
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 14, 2011, 02:12:56 am
1) Subtitles:  These already work! ... but you need to manually connect the pin to say FFDSHOW first to get it to play.  On my PC it is connecting to "Internal Script Command Renderer" (C:\Windows\SysWOW64\quartz.dll with CLSID {48025243-2D39-11CE-875D-00608CB78066}) and while a graph is built it never "plays"
Currently from the outside, it should not treat a BluRay any differently then a typical m2ts file. Connecting the ISCR sounds to me like it had the "No Subtitles" pin active, which is a media type compatible to the ISCR (plain MEDIASUBTYPE_Text). If you can, you should blacklist it from connecting, as its really not a useful filter. ;)

2) Chapters:  No chapter support you (don't know if you plan to read these in from the .mpls)
Will be added at some point, of course.

3) Filters Preferences:  Oddly, the LAV Splitter seems to like connecting the output to the "Microsoft DTV-DVD Video Decoder" and "ffdshow Audio Decoder" in MC though I had no issue in GraphStudio using any of the other filter combinations (FFDSHOW Video, madVR etc etc).
Like mentioned above, there is no special handling for anything when BD is active, it should connect to the same filters as it would for the standalone m2ts file. Note that H264 in MPEG2 TS uses the MEDIASUBTYPE_H264 while in MKV/MP4 it uses MEDIASUBTYPE_AVC1, so priorities might be different there.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 14, 2011, 05:11:24 am
Thanks Hendrik, I've not been able to play on my HTPC yet (family is watching content!) and I'm now away for a couple of days.  I'm OK with the filter mgt but just thought it odd that ISCR connected as I've never seen it raise its head before.   I'm sure that the JR folk will put in "real" filter mgt for the bdmv file type that is "better" than the fileassociation.xml addition that I did anyway.

Anyway - great first cut!
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 16, 2011, 07:29:55 pm
FYI - I tested it on the HTPC and as expected it works fine.  To get the .bdmv files to "play" I just added the bdmv file type into the "FileAssociations.xml" file in MC's install directory as follows:
Code: [Select]
AVCHD Video (m2ts,mts,[b]bdmv[/b])
Code: [Select]
<DXTypes>snd;mid;rmi;midi;mpeg;mpg;m1v;m2v;mp2;mpa;mpe;m2t;tp;ts;m2ts;mts;asx;wax;wvx;asf;wm;wmv;avi;divx;mkv;ogv;ogm;dvr-ms;tivo;nsv;flv;f4v;jts;jtv;evo;xvid;mp4;vob;[b]bdmv[/b];wtv</DXTypes>
As with my earlier report, I'm seeing different filters load when playing the "bdmv" over the "m2ts" but that is probably my manual addition of bdmv is not complete, correct, or in all the right places for MC's direct show filter settings to work as expected.

The results are great however with a directshow filter graph that lets you select your favorite filters for BD playback just like any file.  FYI I know even get full high def sound (including DTS-MA with the hacked LAV Audio filter allowing the Arcsoft HD Audio filter to load for this).

Looking forward to seeing how this will be "properly" setup in MC.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 17, 2011, 03:16:34 am
Just thinking outloud (I'm sure this is obvious) but from MC's POV, leveraging LAVSplitter Blu-ray support will need to be more than just supporting .bdmv as a file type (as my ordinary effort so far has done) but it may also need:
1) Blu-ray AutoPlay in Windows so that a Disc (or mounted ISO) will autoplay in MC
2) TheaterView friendly support to view and select Title / Stream / Subs etc....as apposed to the right click StdView Menu way....
3) Ability to import and tag both a Blu-ray ISO and a Blu-ray Structure into the Library (ala DVD)
4) Other things....

Thanks
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 18, 2011, 04:19:28 pm
I see if the Doom9 LAV thread that nevcairiel is getting close to a public release of his splitter with Blu-ray navigation integrated in it.  For the JR'ers any hints on the timeline/plans for when we can take advantage of this?  I'm thinking that shortly I should lock the old "Everything about Blu-ray / HD-DVD playback in MC" http://yabb.jriver.com/interact/index.php?topic=55171.0 and start a new one as everthing is about to get much more straight forward.

Thanks
Nathan


FYI: We watched a blu-ray disc (POTC) over two nights with the first half using LAVSplitter (DirectShow Filters in MC), the second half in Arcsoft TMT V5. 
1) DirectShow:  LAV Splitter, FFDSHOW Video Decoder, LAV Audio (LPCM Track), madVR, Reclock = Rock solid Audio/Video sync, No stuttering, Great looking Video. 
2) TMT: Had to turn on HA as some bug prevents TMT getting past the Java Menu otherwise.  Picture not as good and I got some stuttering

POTC is not a demanding disc with PCM Audio, no seemless branching or forced subs.  From a "quality" POV, the Direct Show playback looked better to me than what Arcsoft could do.  The downside is that TMT is Blu-ray Disc friendly for checking and changing steams (eg Audio, Subs).

Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on March 18, 2011, 04:35:54 pm
I see if the Doom9 LAV thread that nevcairiel is getting close to a public release of his splitter with Blu-ray navigation integrated in it.

"Getting close" is a bit of an exaggeration. I can't reliably say when it'll be, there are some features i really want done for the first version, and i can't begin to speculate how long it'll take to get them working. But it basically has my full attention, once i'm done with some other minor things for 0.19.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on March 28, 2011, 03:50:03 am
JR'ers - any progess with the Blu-ray Splitter that nevcairel provided?
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 05, 2011, 04:46:26 pm
The first public version of the LAV Splitter supporting Blu-ray is now out, and lets you start playback from either the index.bdmv file (which will currently default to the longest MPLS (Playlist)) OR you can launch playback from the MPLS of your choice.  While I am away with work and can not test, I'm pretty excited about the direct MPLS support as you could in MC, import multiple MPLS from the same stored disc structure, eg the one for the Std Theatrical Release, One for the EE, One for Alternative ending etc depending on your preference.  ***EDIT: I guess you could also import one for each epesode etc for a disc with multipleTV Shows etc ***

Could of simple changes to work with MC would be to add MPLS and BDMV as a new "Blu-ray" filetype.  I've also seen some posts in the Doom9 thread that there may need to be player support to allow selection of Playlists as a menu option.

Thanks
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 05, 2011, 05:27:14 pm
I just tried this with a Blu-ray. I put the Blu-ray in the drive and imported the index.bdmv file (after AnyDVD HD scanned the disk  ;)). I tagged the index.bdmv file with a File Type of mkv. This causes MC to use the LAV splitter that is setup on my system for mkv's. I then hit play and the movie opened and started playing! The only problem is that MC has crashed a few of the times I've tried to skip ahead.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 06, 2011, 07:37:53 am
While I am away with work and can not test, I'm pretty excited about the direct MPLS support as you could in MC, import multiple MPLS from the same stored disc structure, eg the one for the Std Theatrical Release, One for the EE, One for Alternative ending etc depending on your preference.  ***EDIT: I guess you could also import one for each episode etc for a disc with multipleTV Shows etc ***

This works :) - imported the 00000.mpls (Theatrical Version) and 00006.mpls (Alternative Ending) from the "I am Legend", tagged them up etc (changed media type from Data to Video) and now I have one disc structures but 2 versions.

Note: I had to manually add mpls as a file type like I did with bdmv so MC is really not setup for prime time for this. 
JR'ers: any idea what and when you plan to add support for this?

Thanks
Nathan
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 07, 2011, 05:46:33 pm
Thanks!

We'll be sure to play around with this and let you know how we fare.

We have a little work to do first to get Blu-ray setup for DirectShow playback (which there was no point offering before your filter).

Cheers.

Any feedback on where we are adding support as I'm not sure if some of the oddities I'm seeing is due to the hacked nature of what I've done to support LAVFilter BD Playback.......
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 13, 2011, 05:36:25 am
Not wanting to sound impatient (but I am)....whats the go?  Nevcairiel has been pounding out the code and it looks good but it is hard to test with MC at present.  The last post from Matt was a month ago and it has been deathly quiet on the MC front since then....  :-[
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 13, 2011, 02:25:33 pm
I was just playing with Blu-ray today. I installed the ArcSoft audio decoder so I can decode DTS-HD. I would also like bdmv (and mpls) added as a file type so I don't have to manually switch it to m2ts in the tags. We also need the option to AutoPlay Blu-ray. Otherwise I now can play a Blu-ray with TrueHD or DTS-HD and have full GPU decoding using the lav CUVID CUDA video decoder. This is finally easy to setup thanks to nevcairiel and his splitter/decoders.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 13, 2011, 03:52:25 pm
It may be that MC needs a page like with DVD to specify various things pending how they want to handle playlists etc etc and there are questions on how MC is going to handle the media and Library Mgt.  I see we need the following options:

1) Insert / Mount Blu-ray = Autoplay in MC using LAVSplitter grabbing the largest MPLS automatically.  This will work on the majority of the discs but may cause issues with:
  - Discs with alternative endings:  The alternative ending may be longer so you would automatically get that.  How does a user select the other ending in MC (in Theaterview)
  - Discs with Multiple Titles:  TV Series discs may have 3 or more Eps per disc.  I "presume" that all discs will have one long playlist with all Eps so should be OK.

2) Tagging:  In MC, we may want to tag playback by playlist (MPLS) to solve the the issues above.  Can we tag an Physical Disc or ISO to playback a specific MPLS over the BDMV and have it stored in the DB for next time the disc is inserted or mounted?

I guess that until we hear what Matt et al plans in discussion with nevcairiel....
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 13, 2011, 04:16:33 pm
OK - Here is an example of where you want to be able to select multiple Playists (and even tag them in this case).  I Am Legend Alternative Ending is LONGER than the Theatrical Release, so just autoplaying the INDEX.BDMV may not be ideal.  In this case I've ripped it to a structure on the HDD and the imported and tagged both the 00000.mpls (Theatrical Release) and the 00006.mpls (Alternative Ending) playlists.  To find our which mpls playlists I needed I just googled "I Am Legend, Alternative Ending, MPLS"

I see where we may want to tag up Physical Discs/ISO to allow the same sort of playback for the next time they are played or mounted.

Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 13, 2011, 05:14:31 pm
Note: I had to manually add mpls as a file type like I did with bdmv so MC is really not setup for prime time for this.
Where do you do this?

Edit:  By the way, I added an easy way to install the ArcSoft Audio Decoder HD for DTS-HD decoding in your Direct Show Filters thread (http://yabb.jriver.com/interact/index.php?topic=63282.0).
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 13, 2011, 08:43:51 pm
FileAssociations.xml is in "C:\Program Files (x86)\J River\Media Center 16\Data\Default Resources"

I just added the following bits in bold to these two lines (note: it gets overwritten by some upgrades so you may have to do it again).

<Video>MPEG Video (mp2,mpeg,mpg,m1v,mpv,mpe,m2v);MPEG Transport Video (m2t,tp,ts);AVCHD Video (m2ts,mts,bdmv,mpls);Windows Media Video (wmv,wvx,dvr-ms,x-ms-wmv,wtv);QuickTime (mov,qt);MP4 Video (mp4);M4V Video (m4v);AVI Video (avi);RealVideo (rv,rmvb);ShockWave (swf);DIVX Video (divx,x-divx);DVD Video (ifo,vob);Matroska Video (mkv);Ogg Video (ogv,ogm);Tivo (tivo);Flash Video (flv,f4v);3GP (3gp,3g2,3gpp,3gp2);JRiver TV (jtv);Enhanced VOB (evo);XVID Video (xvid)</Video>

<DXTypes>snd;mid;rmi;midi;mpeg;mpg;m1v;m2v;mp2;mpa;mpe;m2t;tp;ts;m2ts;mts;asx;wax;wvx;asf;wm;wmv;avi;divx;mkv;ogv;ogm;dvr-ms;tivo;nsv;flv;f4v;jts;jtv;evo;xvid;mp4;vob;bdmv;mpls;wtv</DXTypes>
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 13, 2011, 08:58:02 pm
Edit:  By the way, I added an easy way to install the ArcSoft Audio Decoder HD for DTS-HD decoding in your Direct Show Filters thread (http://yabb.jriver.com/interact/index.php?topic=63282.0).

Thanks - Nice mix of the old ASAudioHD / ASAudioHD+ Wrapper with the newer V185 Decoder!  I take it you get the settings saved from the wrapper and full bitdebth from the V185 decoder (I'd given up on the wrapper as it was always with the old DTS Decoder and it would not do full bitdebth)  I've been using the adding settings to Win.Ini method but if your pack works then that is much much better!
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 13, 2011, 10:22:28 pm
I take it you get the settings saved from the wrapper and full bitdebth from the V185 decoder (I'd given up on the wrapper as it was always with the old DTS Decoder and it would not do full bitdebth).
Yes, it seems to work. I started on this today and realized that it was a lot more complicated than it needed to be. I read this post (http://www.avsforum.com/avs-vb/showpost.php?p=19370583&postcount=3) and this post (http://www.avsforum.com/avs-vb/showpost.php?p=19420488&postcount=19) at AVS and this post (http://forum.doom9.org/showpost.php?p=1392750&postcount=1) at doom9. Rather than make someone go through all the steps, I just put all the audio codec files into one zip file.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: JimH on April 14, 2011, 06:17:19 am
FileAssociations.xml is in "C:\Program Files (x86)\J River\Media Center 16\Data\Default Resources"

I just added the following bits in bold to these two lines (note: it gets overwritten by some upgrades so you may have to do it again).
It won't if you put it in Custom Reaources.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 14, 2011, 06:32:00 am
It won't if you put it in Custom Reaources.

Thanks for the tip! [nag] ....any insight on where "real" support for this is planned however in MC? [/nag]


EDIT - do you mean we need to create a new folder called "C:\Program Files (x86)\J River\Media Center 16\Data\Custom Resources" and put the xml file in there?
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: cncb on April 14, 2011, 11:06:13 am
I want to try the LAV splitter but even though it is registering properly I can't seem to use it.  I downloaded and unzipped the x64 version, installed the VC++ runtime, and when I run install_splitter.bat it gives me a message that it was registered properly.  However, when I try to play an MKV in MC I just get an error.  Also, when I try to manually select the filters in MC I don't see any "LAV..." entries to select.  What am I missing?  Thanks.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 14, 2011, 11:50:17 am
You are missing the part that says (http://forum.doom9.org/showpost.php?p=1425963&postcount=1), "Binaries built by me currently require the VC++2010 Runtime (download 32-bit & 64-bit)." I was installing on a new computer yesterday and forgot this, too.

Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: cncb on April 14, 2011, 12:41:18 pm
Thanks but I did install the 64-bit VC++ runtime.  It won't register successfully until you have.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 14, 2011, 01:03:57 pm
MC is only a 32 bit program. You can only use the 32 bit filters and probably 32 bit VC++.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on April 14, 2011, 01:45:13 pm
This is true. DirectShow filters need to match your player, if your OS is 32-bit or 64-bit does not matter (well, 64-bit filter on 32-bit OS is doomed to fail, of course :D), its just important that player and filter are the same, and as MC is only 32-bit .. there you go!
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: cncb on April 14, 2011, 03:35:18 pm
Thanks.  That was it.  I suspected that I needed the 32-bit versions of the filters but that means I need the 32-bit VC++ runtime for my 64-bit system which didn't seem right...
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: cncb on April 16, 2011, 09:10:03 am
Any tips on getting bitstreaming working in MC?  I have a core i3 that supports DTS-HD bitstreaming.  I have selected the HDMI output and "Digital connection to surround receiver" in the Video settings but I only get stereo sound to my AVR (not even the DTS core).  I have checked the LAV Audio configuration settings and didn't see anything there.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 16, 2011, 05:10:34 pm
The LAVAudio decoder, decodes the bitstreams to PCM and passes it to the Audio Renderer with the native # of changes.  Eg at present (though nevcairiel has indicated he will add more features later), it is a straight decoder so if you need and of the following it has to be done by either a different or another filters:
- Bitstreaming
- Resampling
- Channel Mapping etc.

So if you need bitstreaming then you will need to for now use another decoder like FFDSHOW.

However.....I'd suggest that you actually, don't want to bitstream but rather decode (eg LAVAudio) then use "Playback Device = Same as device used in Audio Playback" + Check "Video Clock".  This will then use the JR Audio Renderer / DSP Studio for all the stuff for Output Formats etc etc.  The only downside to this approach is that your BitStreaming LED will not light up on your Reciever as it will already have been decoded in the PC and send as MPCM over HDMI for DAC and amplification.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: cncb on April 16, 2011, 05:39:37 pm
Thanks for the explanation.  One more question regarding VC-1 playback.  In the "filters" thread it sounds like most of you are using the "WMVideo Decoder DMO" for VC-1 playback but when I use this the playback stutters occasionally and sometime seems to be playing in fast forward (I don't seem to have the same problem with H264).  I see that ffdshow can handle VC-1 playback.  Is there some disadvantage to using ffdshow for this or are there settings for the MS decoder that I need to change?  Thanks again.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: jmone on April 16, 2011, 05:50:11 pm
At present, FFDSHOW's VC-1 implementation does not support interlaced material (apparantly this is being worked on as a part of GSOC) and you will only get a black screen.  So if you don't have any VC-1 i then leave the setting on libavcodec and all is good.  If you do have some VC-1 (eg I have a couple of VC-1 Music Videos that are 60 or 50i) then change the setting to wmv9 (same as the MS DMO code).  Each have their issues and as interlaced VC-1 material is not popular you may be able to use libavcodec :)
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 22, 2011, 10:17:28 am
My wife and kids have been at the in-laws the past couple of days so I have watched 3 Blu-rays using AnyDVD HD, LAV Splitter, Arcsoft Audio HD Decoder, and adding entries for bdmv and mpls into the FileAssociations.xml file (I copied it into a Custom Resources folder). This has worked perfectly. I just insert the Blu-ray, wait for AnyDVD HD to scan the disk, and go to DVD in Theater View. The movie starts to play!

For one of the Blu-rays I had download the cover art and data from Wikipedia. Subsequent Blu-rays that are inserted into the disk now use this info and display the cover art. It would be nice if the movie could have automatic lookup and display the correct cover art when loading.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 22, 2011, 02:07:36 pm
Nevcairiel, I thought I'd post this here since I don't have an account at doom9.

I am using LAV Splitter .23 and MC 16.0.74. With LAV CUVID .3 everything works fine for Blu-ray or MKV. However, if I uninstall LAV CUVID .3 and install .4, then I get no video in MC. Normally only LAV CUVID shows up as the directshow video filter. However, with .4 I get Microsoft DTV-DVD Video Decoder, ffdshow video decoder, MONOGRAM x264 encoder, and LAV CUVID Decoder in the filter graph. I've tried rebooting and unstalling the .3 first.

Why would LAV CUVID .4 allow other filters to be added to the chain? Is this an MC or LAV issue?
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on April 22, 2011, 03:52:38 pm
Graph Building is the players thing, has nothing to do with the filters.

There really aren't that many changes between .3 and .4, that doesn't make any sense.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: mojave on April 22, 2011, 04:22:32 pm
I agree that it doesn't make sense. However, the only change is the filter. I tried with different versions of MC (16.0.64 and 16.0.74) and even installed both the .4 version at the beginning of the LAV CUVID thread and the one posted on the day of the release toward the end of the thread. I thought maybe one had a corruption. I even tried copying the .4 LAVCUVID.ax file into the LAVCUVID-0.3 folder and registering it and I have the same problem. Here are the filter graphs:

LAV CUVID .4
Code: [Select]
Filter Graph Info:

    Filter 'JRiver Audio Renderer'
        CLSID: {A4002F8E-510F-442C-8AD3-F9C7B23FB394}
        Host:
        Input Pin 'In'
            Connected to pin 'pcm' of filter 'madFlac Decoder'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'madVR'
        CLSID: {E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}
        Host: c:\blu-ray\madvr\madvr.ax
        Input Pin 'Input'
            Connected to pin 'XForm Out' of filter 'LAV CUVID Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2

    Filter 'madFlac Decoder'
        CLSID: {6B257121-CBB6-46B3-ABFA-B14DFA98C4A6}
        Host: c:\blu-ray\madflac\madflac.ax
        Input Pin 'flac'
            Connected to pin 'Output' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
        Output Pin 'pcm'
            Connected to pin 'In' of filter 'JRiver Audio Renderer'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'LAV CUVID Decoder'
        CLSID: {62D767FE-4F1B-478B-B350-8ACE9E4DB00E}
        Host: c:\blu-ray\lavcuvid-0.4\lavcuvid.ax
        Input Pin 'XForm In'
            Connected to pin 'Out' of filter 'MONOGRAM x264 Encoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_H264, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'XForm Out'
            Connected to pin 'Input' of filter 'madVR'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2

    Filter 'JRiver Media Proxy Audio'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Audio' of filter 'LAV Splitter Source'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
        Output Pin 'Output'
            Connected to pin 'flac' of filter 'madFlac Decoder'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx

    Filter 'MONOGRAM x264 Encoder'
        CLSID: {1FB0F046-623C-40A7-B439-41E4BFCB8BAB}
        Host: c:\program files\j river\media center 16\plugins\mmx264\mmx264.ax
        Input Pin 'In'
            Connected to pin 'Out' of filter 'ffdshow Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_YV12, Format type FORMAT_VideoInfo2
        Output Pin 'Out'
            Connected to pin 'XForm In' of filter 'LAV CUVID Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_H264, Format type FORMAT_MPEG2_VIDEO

    Filter 'ffdshow Video Decoder'
        CLSID: {04FE9017-F873-410E-871E-AB91661A4EF7}
        Host: c:\program files\ffdshow\ffdshow.ax
        Input Pin 'In'
            Connected to pin 'Video Output 1' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin 'Out'
            Connected to pin 'In' of filter 'MONOGRAM x264 Encoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_YV12, Format type FORMAT_VideoInfo2
        Input Pin 'In Text'

    Filter 'Microsoft DTV-DVD Video Decoder'
        CLSID: {212690FB-83E5-4526-8FD7-74478B7939CD}
        Host: c:\windows\system32\msmpeg2vdec.dll
        Input Pin 'Video Input'
            Connected to pin 'Output' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Input Pin 'Subpicture Input'
        Output Pin 'Video Output 1'
            Connected to pin 'In' of filter 'ffdshow Video Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2
        Output Pin '~Line21 Output'

    Filter 'JRiver Media Proxy Video'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Video' of filter 'LAV Splitter Source'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Output'
            Connected to pin 'Video Input' of filter 'Microsoft DTV-DVD Video Decoder'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO

    Filter 'LAV Splitter Source'
        CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
        Host: c:\blu-ray\lavfilters-0.23\lavsplitter.ax
        Output Pin 'Video'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Audio'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
        Output Pin 'Subtitle'x

LAV CUVID .3
Code: [Select]
Filter Graph Info:

    Filter 'JRiver Audio Renderer'
        CLSID: {A4002F8E-510F-442C-8AD3-F9C7B23FB394}
        Host:
        Input Pin 'In'
            Connected to pin 'pcm' of filter 'madFlac Decoder'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'madVR'
        CLSID: {E1A8B82A-32CE-4B0D-BE0D-AA68C772E423}
        Host: c:\blu-ray\madvr\madvr.ax
        Input Pin 'Input'
            Connected to pin 'XForm Out' of filter 'LAV CUVID Decoder'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2

    Filter 'madFlac Decoder'
        CLSID: {6B257121-CBB6-46B3-ABFA-B14DFA98C4A6}
        Host: c:\blu-ray\madflac\madflac.ax
        Input Pin 'flac'
            Connected to pin 'Output' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
        Output Pin 'pcm'
            Connected to pin 'In' of filter 'JRiver Audio Renderer'
            Major type MEDIATYPE_Audio  Sub type MEDIASUBTYPE_PCM, Format type FORMAT_WaveFormatEx

    Filter 'LAV CUVID Decoder'
        CLSID: {62D767FE-4F1B-478B-B350-8ACE9E4DB00E}
        Host: c:\blu-ray\lavcuvid-0.3\lavcuvid.ax
        Input Pin 'XForm In'
            Connected to pin 'Output' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'XForm Out'
            Connected to pin 'Input' of filter 'madVR'
            Major type MEDIATYPE_Video  Sub type MEDIASUBTYPE_NV12, Format type FORMAT_VideoInfo2

    Filter 'JRiver Media Proxy Audio'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Audio' of filter 'LAV Splitter Source'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
        Output Pin 'Output'
            Connected to pin 'flac' of filter 'madFlac Decoder'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx

    Filter 'JRiver Media Proxy Video'
        CLSID: {A4207487-E7D8-406B-9882-B66370DE2492}
        Host:
        Input Pin 'Input'
            Connected to pin 'Video' of filter 'LAV Splitter Source'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Output'
            Connected to pin 'XForm In' of filter 'LAV CUVID Decoder'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO

    Filter 'LAV Splitter Source'
        CLSID: {B98D13E7-55DB-4385-A33D-09FD1BA26338}
        Host: c:\blu-ray\lavfilters-0.23\lavsplitter.ax
        Output Pin 'Video'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Video'
            Major type MEDIATYPE_Video  Sub type Unknown GUID Name: {31435641-0000-0010-8000-00AA00389B71}, Format type FORMAT_MPEG2_VIDEO
        Output Pin 'Audio'
            Connected to pin 'Input' of filter 'JRiver Media Proxy Audio'
            Major type MEDIATYPE_Audio  Sub type Unknown GUID Name: {1541C5C0-CDDF-477D-BC0A-86F8AE7F8354}, Format type FORMAT_WaveFormatEx
        Output Pin 'Subtitle'
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on April 25, 2011, 02:00:59 pm
I'm trying to get playback directly from a disc working.

But the LAV Splitter Source filter returns 0x80004005 when I give it an index.bdmv.

I don't have AnyDVD installed, but thought I wouldn't need it with LAV.

Thanks for any help.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: madshi on April 25, 2011, 02:13:43 pm
The LAV Splitter does not decrypt. ffmpeg/libav does not contain Blu-Ray decryption. Some files on the Blu-Ray disc may not be encrypted, so playing back e.g. trailers *may* work without AnyDVD HD, but playing the main movie file will definitely not work.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Hendrik on April 25, 2011, 02:23:39 pm
libbluray does support using libaacs to get rid of AACS encryption, however it requires you to provide key files, and it only supports fairly old AACS encryption types ..

Additionally, i'm not too keen on finding out if anyone is actively working against those kinds of decryption libraries. The AnyDVD HD makers are probably not based on some Caribbean island for no reason, i figure.
Therefor, i have no reason to supply decryption in any form in LAV Splitter - you want to use it, well get your hands on the decrypted contents of a Blu-ray.
Title: Re: Invite to "nevcairiel" to play? (dev of LAV Splitter and Audio Decoder)
Post by: Matt on April 25, 2011, 02:40:48 pm
Thanks for the response.  It's working great once AnyDVD HD is installed.

It's pretty sad, in my opinion, that I have to resort to methods like that to watch a disc that's in my drive.
Title: Blu-ray support using LAV Filters
Post by: jmone on April 25, 2011, 05:52:44 pm
Yup - if you are good boy and purchase you material they lock you down, if you pirate.....Anyway, this situation is really no different to where we were when DVDs were introduced.  You had to initially BUY a decoder/player to play these on your PC, followed by the Jon DeCSS era (http://en.wikipedia.org/wiki/Jon_Lech_Johansen) that gave us unencrypted access to the content that freed us up then finally, MS gave away it's DVD Navigator for free.  So far we can buy a decoder/player (TMT, PDVD, Nero) and now have the likes of AnyDVD HD to give us unencrypted access and that is where we are at today.  Who knows if MS or others will ever give us a "free" Blu-Navigator over time.  But for now we have the ability to get to our content, filters that can decode all the content and thanks to nev a source filter that will allow us to play back a playlist (the only real thing missing will be menu support and who knows when that is likely to appear in the wild).
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 25, 2011, 05:59:24 pm
I've been giving some thought to the bits we need in MC to support Blu-ray playback as best we can.  These are just my comments and it would be good to know what others think!

1) Adding BDMV and MPLS as a file type - Done in 16.0.75 and works well, no need to manually edit the associates.xml file
2) Adding a Blu-ray config option like with DVD - Done in 16.0.75 and works well to config the splitters you want
3) Adding a TheaterView "Menu" option (eg the MS "Menu" button that lets you select via your RC the various streams (audio, subs and in conjunction with Nev titles)
4) Registering MC as an Autoplayback option in Windows for Blu-ray
5) Like with DVD's the ability to tag and manage a blu-ray structure / ISO on the HDD with Coverart art etc
6) Change the TheaterView "DVD" button to "DVD / Blu-ray"
7) Auto Display change - I posted some thoughts on this here - http://yabb.jriver.com/interact/index.php?topic=62996.msg425905#msg425905

Thanks,
Nathan
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 25, 2011, 06:19:03 pm
For those interested, here is how it all looks in V16.0.75

Physical Disc (or Mounted ISO)
(1) The Disc Title is displayed
(2) MC creates a Thumbnail
(3) Tools --> Options --> Video now has a Blu-ray config and supports file type of bdmv (in the root of all discs) and mpls (can be multiple Playlist Files in the "Playlist" subdirectory)
* These are the playback setting I use and they work well for me
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 25, 2011, 06:29:48 pm
Here is what STD View looks like when you rip a Blu-ray movie stucture to the HDD and then import and tag (using Movie Lookup) the various files and a couple of minor issues
1) bdmv:  No Compression info is read or stored.  When you do an Update Library from Tags, the bdmv "Name" field is re-writen back to Blu-ray Movie (eg it lost "Transformers")
2) mpls:  Got the video codec correctly but for some reason not the audio

Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 25, 2011, 06:57:49 pm
Tagging and Playing ISOs

DVD: You can tag the ISO with the Movie Lookup details and when you "play it" it will mount (eg with VCD) then autoplay will have MC play the "newly inserted disc".  You also have the ability if you want to tag the "disc" from the Drives and Devices Menu (eg see attached DVD1)

Blu-ray: Like with DVD ISO you can tag them with Movie Lookup details just fine.  Similarly with DVDs when you "play it" it will mount (eg with VCD) but as it does not autoplay nothing happens at this stage.  Also once mounted, MC can "see" the disc but there is no way to tag it like with DVDs from the Drives and Devices menu (see Blu3).

Thanks
Nathan
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 25, 2011, 08:02:48 pm
FYI - I used a handy little app called "Default Programs Editor" ( http://defaultprogramseditor.com/ ) to add MC as the default player to windows AutoPlay for Blu-ray and after playing around needed to set under the "Edit the autoplay handler" values of:
- Action name = Play Blu-ray Video
- Program path = "C:\Windows\System32\MC16.exe" "%L\BDMV\index.bdmv" (note: with the ")
- Program name = Media Center

Once added as the default I needed to reboot initially (you can change the string value after the initial reboot but you seem to need it for MC to be recognised by AutoPlay).

:)
Title: Re: Blu-ray support using LAV Filters
Post by: Hendrik on April 26, 2011, 02:48:24 am
Glad to see you're officially adding the file types, that'll make it alot easier for people to use it in MC16.
I'll toy with title selection in the player through LAV Splitter this week, otherwise its a little bit tedious to actually detect which playlists are useful movie contents .. a typical Blu-ray has so many playlists..

Anyhow, happy to see player support. :)
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 26, 2011, 03:11:17 am
One idea would be to list the playlists in desending order of length.  That should work keeping the enteries at the top for single ending movies, alternative endings, those with playslists for TV Eps that have one for all + one for each eps and all the "crap" would be at the bottom of the list or not shown at all.
Title: Re: Blu-ray support using LAV Filters
Post by: MrHaugen on April 26, 2011, 03:15:11 am
Nice work! How is the playback of Bluray now? It's stable or not? I heard some people mentioning some issues earlier.
Title: Re: Blu-ray support using LAV Filters
Post by: Hendrik on April 26, 2011, 03:24:17 am
One idea would be to list the playlists in desending order of length.  That should work keeping the enteries at the top for single ending movies, alternative endings, those with playslists for TV Eps that have one for all + one for each eps and all the "crap" would be at the bottom of the list or not shown at all.

My current plan looks somewhat like this:

First Step: Filter the titles on the disc, using those two criteria (one has to match, not both)
 - Duration > X (configurable, something like 20-30 minutes default)
 - Has Chapters (I figure, all those bogus titles don't typically have chapters)
Additionally, titles with duplicate clips or repeating clips will be filtered out (this means menus, etc)

Then the titles would be sorted.
I'm still undecided on how to sort - by duration is the most straight forward, but maybe by index on the disc is more useful, because the "normal" movie is typically a lower index then the "maximum movie mode" version with in-movie commentary (which is longer)
Title: Re: Blu-ray support using LAV Filters
Post by: raym on April 26, 2011, 03:54:10 am
(3) Tools --> Options --> Video now has a Blu-ray config and supports file type of bdmv (in the root of all discs) and mpls (can be multiple Playlist Files in the "Playlist" subdirectory)
* These are the playback setting I use and they work well for me

Hi Nathan, I don't seen the TMT audio decoder listed in your screen shot. Don't we still need this for DTS-HD audio decoding?
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 26, 2011, 06:19:57 am
Nice work! How is the playback of Bluray now? It's stable or not? I heard some people mentioning some issues earlier.

100% Stable.  Just watched another Blu-ray in MC with LAV Filters + madVR + J Rivers VideoClock/Audio Renderer and the playback was perfect (well madVR said I droped 1 frame at some point but I never saw it).  The core support is all in place, it is now more about getting the various options in place with the player (MC) and title selection (LAV).
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 26, 2011, 06:21:46 am
My current plan looks somewhat like this:

First Step: Filter the titles on the disc, using those two criteria (one has to match, not both)
 - Duration > X (configurable, something like 20-30 minutes default)
 - Has Chapters (I figure, all those bogus titles don't typically have chapters)
Additionally, titles with duplicate clips or repeating clips will be filtered out (this means menus, etc)

Then the titles would be sorted.
I'm still undecided on how to sort - by duration is the most straight forward, but maybe by index on the disc is more useful, because the "normal" movie is typically a lower index then the "maximum movie mode" version with in-movie commentary (which is longer)


Sounds good - I'd suggest getting it out in the wild and seeing what the response is from users.  We will soon now what works or not as people test various discs.
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 26, 2011, 06:28:32 am
Hi Nathan, I don't seen the TMT audio decoder listed in your screen shot. Don't we still need this for DTS-HD audio decoding?

Yup (if you want full bitrate and depth as LAVAudio/FFDSHOW will only decode the core).  So what I do in LAVAudio is uncheck DTS support (and also with FFDSHOW if you have it installed).  Directshow then loads the TMT AudioHD decoder for DTS as it is the only filter that is registered for this.  If you add the TMT AudioHD Decoder as well as the LAVAudio filter in MC it will load BOTH filters in the chain (TMT gets loaded post LAVAudio so you still only get the core).

Anyway - for me LAVAudio is used for all video playback excpet DTS where the TMT filter is loaded.
Title: Re: Blu-ray support using LAV Filters
Post by: JustinChase on April 26, 2011, 02:20:11 pm
I've read some comments that indicate that one has to have AnyDVD HD installed to gain any access/usability/decryption of Blu-Ray discs.  Is that accurate still, or has this "requirement" been removed/eliminated now?

What about using the streaming option of MakeMKV to decrypt?  does this work, and if so, how?

Mainly, can I just stick a disc in the drive, and get MC to play it directly yet?

I'm guessing not, but want to be sure.  I'm at work and can't test now, so i figured I'd throw it out there before I get home and test myself.

thanks again to jmone for pushing this along, and to everyone that has been very helpful in helping facilitate this.

It's getting close to a "just works" solution now :)
Title: Re: Blu-ray support using LAV Filters
Post by: Hendrik on April 26, 2011, 02:38:40 pm
You need AnyDVD HD, or any other application that'll give you the unencrypted Blu-ray.
No idea how that MakeMKV thing works.

But if you have AnyDVD HD installed, you can basically just put a disc in, and hope for the best.
Title: Re: Blu-ray support using LAV Filters
Post by: mojave on April 26, 2011, 03:25:59 pm
Mainly, can I just stick a disc in the drive, and get MC to play it directly yet?
You still need the correct codecs installed, but if you do it works great. I have played 4 or 5 Blu-rays in the past few days by just inserting them into the drive and playing using Theater View.
Title: Re: Blu-ray support using LAV Filters
Post by: JustinChase on April 26, 2011, 03:28:32 pm
You need AnyDVD HD, or any other application that'll give you the unencrypted Blu-ray.

I figured as much; thanks for the quick response!

Also, THANK YOU for all your work on the LAV splitter, it's made my video playback life MUCH easier that it's ever been!

I'm really looking forward to seeing you continue to improve your splitter, it's come a long way in a short time; excellent work!!

thanks again.

RE: makeMKV streaming of decrypted blu-ray discs - it seems that it will send the decrypted file/stream to an IP address (IIRC), then I need to hit that address to get the stream.  I messed with this once, had no luck, and never bothered again.

I know (think?) MC can stream from an IP address, but I'm not sure the details.  I wonder if anyone has any experience with this, and can give some pointers.  I won't have time to mess with it tonight (unless one of you comes over and installs the hardibacker board in my shower for me :)), but will hopefully have some time to try again very soon.

Here is an FAQ on streaming to an NMT based devise (not sure what that is really), but it seems it might be useful for direct playback in MC, maybe not??

Quote
How do I stream to NMT-based devices?

MakeMKV supports web-based streaming and UPnP streaming. For NMT-based devices MakeMKV uses Syabas myiBox protocol extensions for web streaming. Because most NMT devices are also UPnP clients you will see MakeMKV media server as two items. Be sure to select "myiBox" item and not UPnP item, since most video formats are not supported in NMT UPnP client. If for some reason MakeMKV server is not discoverd by your device, try navigating to http://addressofpc:51000/s.html from your device.

This operation is also available from command-line with makemkvcon stream command.
Title: Re: Blu-ray support using LAV Filters
Post by: JustinChase on April 26, 2011, 03:30:00 pm
You still need the correct codecs installed, but if you do it works great. I have played 4 or 5 Blu-rays in the past few days by just inserting them into the drive and playing using Theater View.

Are you saying you can do this WITHOUT AnyDVD HD installed on your machine?
Title: Re: Blu-ray support using LAV Filters
Post by: mojave on April 26, 2011, 03:47:45 pm
Are you saying you can do this WITHOUT AnyDVD HD installed on your machine?
I'm sorry, but I can't publicly admit to having AnyDVD HD installed on my machines.  ;)  ;D
Title: Re: Blu-ray support using LAV Filters
Post by: JustinChase on April 26, 2011, 04:03:45 pm
understood, thanks for clarifying :)
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 27, 2011, 05:33:04 am
FYI - I have started to update the Everything about Blu-ray / HD-DVD playback in MC thread at http://yabb.jriver.com/interact/index.php?topic=55171.msg375378 (will take a couple of days as I'm travelling)
Title: Re: Blu-ray support using LAV Filters
Post by: SamuriHL on April 28, 2011, 08:34:07 pm
I have a question to the people who know more about MC16.  I've run into an issue with subtitles from Blu-rays.  Now, yes, I get that we can just use ffdshow for subtitles.  However, that solution is presenting a problem for me.  (haha, see what I did there?  Yea, ok)  Does anyone know if it's possible to use MPC's filters just for subtitle rendering in MC16?  I need to use a specific video decoder for decoding the video, but, my question is if we can somehow make the MPC subtitle code work in this configuration?  Thanks for any assistance with this!
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 29, 2011, 05:49:16 am
I have a question to the people who know more about MC16.  I've run into an issue with subtitles from Blu-rays.  Now, yes, I get that we can just use ffdshow for subtitles.  However, that solution is presenting a problem for me.  (haha, see what I did there?  Yea, ok)  Does anyone know if it's possible to use MPC's filters just for subtitle rendering in MC16?  I need to use a specific video decoder for decoding the video, but, my question is if we can somehow make the MPC subtitle code work in this configuration?  Thanks for any assistance with this!

For the info of others, at present there is a bug in getting just "Forced Subs" to consistently be displayed using FFDSHOW, the good news is nevcairiel is on the case looking at various solutions both with his splitter and also potential mods to the DirectVobSub as another option.
Title: Re: Blu-ray support using LAV Filters
Post by: SamuriHL on April 29, 2011, 08:17:03 am
For the info of others, at present there is a bug in getting just "Forced Subs" to consistently be displayed using FFDSHOW, the good news is nevcairiel is on the case looking at various solutions both with his splitter and also potential mods to the DirectVobSub as another option.

Yea, I really hope this can get sorted out cause we're SO close to having an amazing solution with MC16/LAVF Splitter/ffdshow audio/madVR for playback of all media types.  I have it working really well on my HTPC. 
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 30, 2011, 06:42:26 am
1) Adding BDMV and MPLS as a file type - Done in 16.0.75 and works well, no need to manually edit the associates.xml file
2) Adding a Blu-ray config option like with DVD - Done in 16.0.75 and works well to config the splitters you want
3) Adding a TheaterView "Menu" option (eg the MS "Menu" button that lets you select via your RC the various streams (audio, subs and in conjunction with Nev titles)
4) Registering MC as an Autoplayback option in Windows for Blu-ray
5) Like with DVD's the ability to tag and manage a blu-ray structure / ISO on the HDD with Coverart art etc Couple of minor bugs but MC already lets you do this
6) Change the TheaterView "DVD" button to "DVD / Blu-ray" Done in 16.0.77
7) Auto Display change - I posted some thoughts on this here - http://yabb.jriver.com/interact/index.php?topic=62996.msg425905#msg425905

Nice progress, Matt how about Item #4 - it can be done manually but it makes sence to let the user now select MC to play a Blu-ray disc as an option in windows Autoplay

Thanks,
Nathan
Title: Re: Blu-ray support using LAV Filters
Post by: flac.rules on April 30, 2011, 06:44:01 am
I really like the sound of this feature. Seems like a lot of really nice changes has been implemented in v16 concerning video-playback, please keep up the good work
Title: Re: Blu-ray support using LAV Filters
Post by: SamuriHL on April 30, 2011, 10:23:52 am
To report back on the sub issue, Nevcairiel has fixed the subs with ffdshow in an updated LAVF Splitter.  So, basically, now everything just works.  Truly an amazing setup and one that I plan on using full time now.
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on April 30, 2011, 09:05:15 pm
Quote
Edit:  By the way, I added an easy way to install the ArcSoft Audio Decoder HD for DTS-HD decoding in your Direct Show Filters thread (http://yabb.jriver.com/interact/index.php?topic=63282.0).

Thanks - Nice mix of the old ASAudioHD / ASAudioHD+ Wrapper with the newer V185 Decoder!  I take it you get the settings saved from the wrapper and full bitdebth from the V185 decoder (I'd given up on the wrapper as it was always with the old DTS Decoder and it would not do full bitdebth)  I've been using the adding settings to Win.Ini method but if your pack works then that is much much better
!

Hi Mojave, I finally tested this on my HTPC but I only get a max of 16bit/48khz .. eg no native 24bit/96khz that I get with the win.ini method and these filters - http://www.avsforum.com/avs-vb/showthread.php?p=19420488#post19420488
Title: Re: Blu-ray support using LAV Filters
Post by: SamuriHL on April 30, 2011, 09:24:55 pm
Same for me as what jmone reports on my AMD 5870.  Using the method linked to on AVSForum I'm able to get 24 bit.
Title: Re: Blu-ray support using LAV Filters
Post by: mojave on April 30, 2011, 10:29:19 pm
I found that out, too, yesterday and made a post about it at AVS when replying to renethx (http://www.avsforum.com/avs-vb/showpost.php?p=20372981&postcount=71). I'll change my post here in the other thread.

Quote from: desertdome/mojave
I used the ArcSoft Codec.zip file (TMT3 185) in this post or yours and added the wrapper and checkactivate.dll. I see now that you wrote in another post "So called "wrapper" (ASAudioHD+.ax) won't work with TMT3 185. Forget about that and use only win.ini." I also have the win.ini settings added on my computer. I just installed ReClock to check and it shows I am getting 48/16 from a DTS-HD audio track being decoded by the ArcSoft decoder. Which decoder version should I use?

Edit: I put the original ASAudioHD.ax file from TMT3 185 back in my folder and now I get 24 bit output. I understand what you mean by the wrapper not working.
Quote
Title: Re: Blu-ray support using LAV Filters
Post by: jmone on May 01, 2011, 01:29:00 am
I found that out, too, yesterday and made a post about it at AVS when replying to renethx (http://www.avsforum.com/avs-vb/showpost.php?p=20372981&postcount=71). I'll change my post here in the other thread.

I agree, probably a good idea to update it to the "best" method which for now looks like the win.ini one.
Title: Re: Blu-ray support using LAV Filters
Post by: JustinChase on May 07, 2011, 08:27:50 am
You need AnyDVD HD, or any other application that'll give you the unencrypted Blu-ray.
No idea how that MakeMKV thing works.

But if you have AnyDVD HD installed, you can basically just put a disc in, and hope for the best.

I posted on the makeMVK forum about this, and the author sounds very willing to help get this working with his software.

Quote
This is possible but the author would have to modify his program, to call MakeMKV and get decryption keys. If there is any interest, please PM me.

Here is the link...

http://www.makemkv.com/forum2/viewtopic.php?f=1&t=3551

I hope this can happen :)
Title: Re: Blu-ray support using LAV Filters
Post by: JustinChase on May 10, 2011, 10:40:07 pm
Matt, I can see you guys have clearly been busy lately (great changes btw!)

is this something you might be able to consider someday, or is this a bad idea that you just want to tell me you don't like?  ;D
Title: Re: Blu-ray support using LAV Filters
Post by: Matt on May 12, 2011, 10:31:12 am
Matt, I can see you guys have clearly been busy lately (great changes btw!)

is this something you might be able to consider someday, or is this a bad idea that you just want to tell me you don't like?  ;D

Thanks for posting over there.

If the authors don't want to deal with writing a system driver, I wonder if they might write a Directshow transform filter instead?  Transform filters are simple memory-in / memory-out things, and I would think it could just be used between the source filter and LAV Splitter filter.
Title: Re: Blu-ray support using LAV Filters
Post by: JustinChase on May 12, 2011, 10:36:40 am
Thanks for posting over there.

If the authors don't want to deal with writing a system driver, I wonder if they might write a Directshow transform filter instead?  Transform filters are simple memory-in / memory-out things, and I would think it could just be used between the source filter and LAV Splitter filter.

He hasn't said he won't write one, the only thing he said was you'd have to modify MC to call for the keys, and to MP him if you were interested.

I'm happy to pass along your latest suggestion, but since I don't have any idea what it all means, I wonder if you might just drop him a PM and see how interested he might be in all of this, and what he thinks you'd actually need to do in MC to get his keys, or if it's even possible on you end?