View Full Version : directshow Bluray disc navigator filter base on libbluray
Pages :
1
2
3
4
5
6
[
7]
8
9
10
Ceremony
13th March 2014, 01:16
Oops, I thought I had fixed that. Well spotted.
If you got discs that don't work, or have problems, samples would be great. Generally just need enough to load the menus, which normally is a few hundred meg.
the ones i tried thus far all worked (none of them are BD-Js). If i find one that screws up, ill up the important parts for you :)
One of the BDs i tried was pretty annoying though:
The bluray for millennium actress has a chapter menu with previews and such. if i open it, it gets placed above the main menu options which are located at the bottom of the screen. however, it automatically closes if I hover over any of the main menu options, including the already active chapter option. here's a screenshot, of the menu with the chapters open:
http://storage.superconnected.org/img/millenniumactress.png
not sure if thats the intended behaviour, closing on hover, as it seems counter intuitive. cant check with powerdvd or any other crappy commercial software, so should i mebbe upload it? the rest works though, but unlike my other blurays, it directly starts the movie (after some logo animations).
P.S. Im not a fan of java... so once its fully supported, id like to see a "disable for BD-J" option ^^
dukey
13th March 2014, 01:54
Mouse navigation in bluray is a bit of a hack. Some discs can't be made to work properly with mouse navigation. (Personally I think this is a design flaw). In these cases you either have to use a keyboard/remote. As for java, maybe 70% of discs use it, so it cant be ignored.
If you can cut and upload a sample I am more than happy to check it out.
Ceremony
13th March 2014, 08:12
Mouse navigation in bluray is a bit of a hack. Some discs can't be made to work properly with mouse navigation. (Personally I think this is a design flaw). In these cases you either have to use a keyboard/remote. As for java, maybe 70% of discs use it, so it cant be ignored.
If you can cut and upload a sample I am more than happy to check it out.how do old hw players handle these BD-J discs? java wasnt part of the bluray specifications from the very beginning now, was it?
nevcairiel
13th March 2014, 09:40
how do old hw players handle these BD-J discs? java wasnt part of the bluray specifications from the very beginning now, was it?
They just don't work on those.
nautilus7
13th March 2014, 14:41
Hi, thanks for the updated version. I will try it with my discs and i'll report if something isn't working.
What are the future plans for this project? Is it going to be a part of mpc-hc or lav filters? Thanks.
Ceremony
13th March 2014, 19:09
They just don't work on those.so they dont play at all or do they at least play the main movie?
dukey
14th March 2014, 17:13
What are the future plans for this project? Is it going to be a part of mpc-hc or lav filters? Thanks.
Just to make it rock solid stable. I need to add rate control to the filter. The evr mixer needs some work as well.
As for mpc-hc, people are free to implement this into whatever projects they want. I have no plans to do this.
Ceremony
15th March 2014, 00:58
Just to make it rock solid stable. I need to add rate control to the filter. The evr mixer needs some work as well.
As for mpc-hc, people are free to implement this into whatever projects they want. I have no plans to do this.Understandable, though kind of a pity.
anyway, I obv have no clue about how bluray menus work and stuff, but why do we need a new presenter to handle it? Main reason im "complaining" is, that I would need to pick either madVR or your EVR
Are DVD menus also handled by the renderer?
Mercury_22
15th March 2014, 10:49
Understandable, though kind of a pity.
anyway, I obv have no clue about how bluray menus work and stuff, but why do we need a new presenter to handle it? Main reason im "complaining" is, that I would need to pick either madVR or your EVR
Are DVD menus also handled by the renderer?
Better ask madshi to add support for it in madVR I'll support you :p
dukey
15th March 2014, 10:53
With the standard directshow renderers, that support multiple input pins, they are driven by the primary video input pin. The trouble is, some bluray discs will stop rendering the primary video stream and just render overlays. In this situation normal renderers just wont display anything. So some sort of custom mixer is required.
haha01haha01
20th March 2014, 23:32
hey dukey,
im trying to get this filter integrated into mpc-hc, but whenever i initialize EVR with your mixer and MPC's custom presenter, there is no video output. I have debugged the issue for a bit and it seems that the call to ProcessOutput always returns with mf_e_transform_need_more_input. Do you have any idea what may be causing this?
dukey
21st March 2014, 11:13
Hi haha01haha01,
did you make the mpc custom presenter thread safe with regards to d3d ? Normally this isn't required because in evr the mixer uses straight dxva so doesn't share with d3d. But our own mixer uses d3d so it is required. I might try and write a pure dxva path, but it needs new hardware since older hardware lacks being able to do alpha blend or some mode I forgot about in dxva.
You need to use these functions
http://msdn.microsoft.com/en-us/library/windows/desktop/ms697056%28v=vs.85%29.aspx
Just lock and unlock the device when you are using it.
Also because they are both using d3d, the presenter might set some d3d state that interfears with the mixer. I tried to make the mixer restore all states that it changed, but I only really checked for compatibility with my own presenter. If there are states you see that are conflicting get in contact and maybe we can sort something out.
As for mf_e_transform_need_more_input that should be fine. That's normal for interlaced video when waiting for complete frames etc. But I can double check it
Ceremony
21st March 2014, 13:08
@haha and dukey:
i was unable to use your custom EVR within MPCBE (tried both 32bit and 64bit builds). When i installed it, it wasnt available as a custom filter (or is it under a inconspicuous name?), nor did adding the dll manually work for me. the bluray lib however was available and loaded the correct streams (short streams before loading the menu and such). menus did not work and were only partially shown as the presenter was missing.
dukey
21st March 2014, 17:49
You need to call InitializeRenderer with a pointer to the mixer, the same way you sent a custom presenter
http://msdn.microsoft.com/en-us/library/windows/desktop/ms704667%28v=vs.85%29.aspx
ddjmagic
26th March 2014, 00:04
Thanks for the new update dukey :cool:
On my tests so far, the new version shows vast improvements.
A summary of samples found in my previous posts:
Samples from this post (http://forum.doom9.org/showpost.php?p=1632329&postcount=252) -
All the Boys Love Mandy Lane - Fixed - Menu buttons now load perfectly.
Black Snake Moan - Fixed -Menu now animated.
The Strangers - Still gets stuck at first selection menu (Choice between Theatrical/Extended cut)
Shutter Island - Fixed - Menu now loads perfectly and responds to selections.
Samples from this post (http://forum.doom9.org/showpost.php?p=1635212&postcount=266) -
Karate Kid 1984 - Still seems a bit unresponsive on menu selections and animations.
Crank - Menu/buttons still missing.
Atonement - Fixed - Menu loads perfectly, no more endless loop.
King Kong - Menu stills works fine.
Going to test a few more discs this weekend, so I'll probably post some more samples for any to take a look at.
dukey
26th March 2014, 00:28
I fixed karate kid being slow in the java code.
And crank is fixed too, but the animated buttons are somewhat slow. If someone can write a fast image resizer in java, or native C, that would be great.
ddjmagic
26th March 2014, 01:04
Strange, I don't see any menu items at all on Crank (just the background video) - Screenshot (http://i.imgur.com/qqFLMoG.jpg)
One other thing I've notice on a most discs, is that the "Pop-Up Menu" option in Demo Player seems to be grayed out , so there becomes no way of returning to the menu without closing and opening again (libbluray says Top Menu is masked by BD-J so that can't be used)
dukey
26th March 2014, 11:28
Because the source is out of date. If you can compile the java code you can check it out for yourself :p It's not really that hard, just download eclipse, import sources, export jar.
ddjmagic
26th March 2014, 13:21
Because the source is out of date. If you can compile the java code you can check it out for yourself :p It's not really that hard, just download eclipse, import sources, export jar.
Great :cool: I might give it a go later.
Any comment on not being able select "Pop-Up Menu" option in the demo player on some discs? (or is this yet to be fully implemented)
dukey
26th March 2014, 13:50
Popup is a special kind of menu, it's something you can open whilst the main title is playing. Only a few discs I've uncounted so far seem to have them.
ddjmagic
26th March 2014, 14:30
Popup is a special kind of menu, it's something you can open whilst the main title is playing. Only a few discs I've uncounted so far seem to have them.
So how do I return to the menu while playing the main movie or special feature in demo player when "Top Menu" is masked by BD-J and "Pop-Up Menu" is grayed out, without having to restart the disc?
Note: On the discs in question PDVD/TMT uses the pop up menu to allow you to return to the menu.
ddjmagic
26th March 2014, 15:00
Just to clarify here - 8/8 of the sample discs I have posted contain a selectable Pop Up menu in PDVD/TMT, only 2/8 have a selectable Pop-Up menu in demo player (both are HDMV)
Without the Pop-Up menu there is no way to get back to the menu or select features of any of these discs once the movie has started.
dukey
26th March 2014, 15:08
I'll check it out, the demo player really was meant to just test the filter than that be a full blown player. But I guess I can add those features.
ddjmagic
26th March 2014, 15:26
I'll check it out, the demo player really was meant to just test the filter than that be a full blown player. But I guess I can add those features.
The Pop-Up menu option is already listed in the demo player, it just doesn't seem to be selectable on BD-J discs.
It is selectable and works perfectly on all HDMV discs I have tried.
It would save having to keep restarting the disc after testing each aspect of the menu.
A couple questions on compiling the latest source :) - Any particular version of Eclipse needed? or will the 'Standard 4.3.2' be OK?
Do I get the latest libbluray source from the Videolan git?
dukey
26th March 2014, 16:25
Just normal eclipse should be fine, and yes, just grab the latest code from videolan
ddjmagic
26th March 2014, 17:19
Just normal eclipse should be fine, and yes, just grab the latest code from videolan
Thanks :) Does the exported JAR file have to be named anything in particular?
dukey
26th March 2014, 17:42
the same name as is already in the package
ddjmagic
26th March 2014, 21:11
A few samples (it's actually quite difficult to find a disc that fails to load at all ;) )
Cabin in the Woods (US Region A)
Gets stuck in BD_EVENT_NONE/BD_EVENT_IDLE loop and never loads a menu.
Part 1 (https://www.mediafire.com/?ud55j8cd0abpxe5)
Here Comes The Boom (US Region A)
Gets stuck in BD_EVENT_NONE/BD_EVENT_IDLE loop and never loads a menu.
Part 1 (http://www.mediafire.com/download/sk1jmdnjaykqm1j/HERE_COMES_THE_BOOM.zip.001)
Part 2 (http://www.mediafire.com/download/54juce9pvn37hn3/HERE_COMES_THE_BOOM.zip.002)
Note: On both of these discs samples I had to blank a bunch of trailers to save space/time, so hopefully they are still OK (they still load to a menu in TMT)
Now a couple of cool menus that load perfectly if anyone wants to look/play around with -
Django Unchained (US Region A)
Part 1 (http://www.mediafire.com/download/h5ekp74m9t03833/DJANGO_UNCHAINED.zip)
Mrs Doubtfire (US Region A)
Part 1 (http://www.mediafire.com/download/9vrxc9p89mj7d3v/MRS_DOUBTFIRE.zip)
Note: There is no movie/features files, just enough to show the menu.
Also I am still using the last build of libbluray as I failed at trying to compile the latest source :D
dukey
26th March 2014, 22:34
try this one
http://sourceforge.net/projects/dslibbluray/files/libbluray-j2se-0.2.jar/download
ddjmagic
27th March 2014, 11:10
try this one
http://sourceforge.net/projects/dslibbluray/files/libbluray-j2se-0.2.jar/download
I have replaced the 248 build jar with that jar, and I can't seem to get any BD-J discs to load. If I put the old jar back they load again.
Is that the correct procedure to update the jar file?
This is the error I get - Screenshot (http://i.imgur.com/nX8TjNd.png)
dukey
27th March 2014, 11:56
i'll do a full build at some point
dukey
8th April 2014, 13:43
http://sourceforge.net/projects/dslibbluray/files/test-262.zip/download
ddjmagic
8th April 2014, 16:24
Thanks for the new build :) Karate Kid menu is now very responsive and Crank menu buttons now show/load.
dukey
8th April 2014, 16:29
Yes it's a lot better :) There is an option in crank to turn on menu animations and that generally works quite nicely. Crank so far is the only BD i've come across that uses image scaling. Those 2 samples you posted above, I couldn't get either to work with powerdvd, maybe missing files or something.
ddjmagic
8th April 2014, 16:42
Yes it's a lot better :) There is an option in crank to turn on menu animations and that generally works quite nicely. Crank so far is the only BD i've come across that uses image scaling. Those 2 samples you posted above, I couldn't get either to work with powerdvd, maybe missing files or something.
I tried to blank some stuff out to keep the sample size down (almost 15 minutes of trailers before the menu)
I'll take a look and see if I can find out where it went wrong and post fixed samples :)
nautilus7
8th April 2014, 17:41
Am I supposed to put the 2 files (.ax and .dll) inside the system32 folder in order to register them succesfully? The script can't locate them by default. Maybe windows 8.1 is the problem?
dukey
8th April 2014, 17:55
I've not used win 8.1 .. but if you are just using the 64bit version u should just use the 64bit batch file to register. What error message did u get ?
ddjmagic
8th April 2014, 18:20
I've had a look a the "Here Comes The Boom" sample and it looks like 00033.m2ts & 00034.m2ts are missing, if you add a couple of blank files it should then work.
Not sure why Cabin in the Woods sample doesn't work (it does in TMT, but not PDVD)
nautilus7
8th April 2014, 18:50
I've not used win 8.1 .. but if you are just using the 64bit version u should just use the 64bit batch file to register. What error message did u get ?
http://t1.someimage.com/HYqLJnH.jpg (http://someimage.com/HYqLJnH)
Same error for evr dll also. It seems like the full path to the file is needed so it can be registered succesfully.
dukey
8th April 2014, 22:18
Try replacing %windir% with %systemroot% and see if that fixes it for you
nautilus7
8th April 2014, 22:37
It's already %systemroot%. I am getting this error when I run the bat script as administrator. When I run it normally (double click) I get a different error. See below:
http://t1.someimage.com/gVHp5KU.jpg (http://someimage.com/gVHp5KU)
Prinz
9th April 2014, 11:53
I had a similar problem in Win7 x64. Right clicking and run as Admin doesn't work here too. I have to open an Admin command prompt, change to the dir and start the register64bit.cmd inside this Admin prompt.
Mercury_22
9th April 2014, 12:16
You can try my "reg method" :) it adds "Register" and "Unregister" in right click menu for ax, dll, and ocx filesWindows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.AX]
@="axfile"
[HKEY_CLASSES_ROOT\axfile\shell\Register]
@="Register"
[HKEY_CLASSES_ROOT\axfile\shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\axfile\shell\UNRegister]
@="UNRegister"
[HKEY_CLASSES_ROOT\axfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\Register]
@="Register"
[HKEY_CLASSES_ROOT\dllfile\shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\dllfile\shell\UNRegister]
@="UNRegister"
[HKEY_CLASSES_ROOT\dllfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""
[HKEY_CLASSES_ROOT\.OCX]
@="ocxfile"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register]
@="Register"
[HKEY_CLASSES_ROOT\ocxfile\shell\Register\command]
@="regsvr32.exe \"%1\""
[HKEY_CLASSES_ROOT\ocxfile\shell\UNRegister]
@="UNRegister"
[HKEY_CLASSES_ROOT\ocxfile\shell\UNRegister\command]
@="regsvr32.exe /u \"%1\""
nautilus7
9th April 2014, 14:01
So, with this method, all i need is to right click the file i want to register?
Anyway, i have change the dir of the ax/dll files inside the bat script an i have succesfully register them. The whole point is to correct the script so others don't face this problem.
Thanks everybody for their response.
dukey
9th April 2014, 14:05
Does this help ?
http://stackoverflow.com/questions/1894967/how-to-request-administrator-access-inside-a-batch-file
It should request admin for the batch file
nevcairiel
9th April 2014, 14:35
What you need to do is put this line as the first line in the batch file:
cd /d "%~dp0"
Run As Administrator changes the working directory, so the batch file needs to change it back, or it won't find its own files.
Also, you really don't need to specify the full path to regsvr32, just calling the .exe plain and simple does it all, no matter if 32 or 64 bit.
Mercury_22
9th April 2014, 14:44
So, with this method, all i need is to right click the file i want to register?
Anyway, i have change the dir of the ax/dll files inside the bat script an i have succesfully register them. The whole point is to correct the script so others don't face this problem.
Thanks everybody for their response.
Yes!
... and click "Register":)
nautilus7
9th April 2014, 17:38
What you need to do is put this line as the first line in the batch file:
cd /d "%~dp0"
Run As Administrator changes the working directory, so the batch file needs to change it back, or it won't find its own files.
Also, you really don't need to specify the full path to regsvr32, just calling the .exe plain and simple does it all, no matter if 32 or 64 bit.
Thanks nev. I confirm the following works.
cd /d "%~dp0"
regsvr32 dslibbluray.ax
regsvr32 EVRMixer.dll
nautilus7
9th April 2014, 17:39
Yes!
... and click "Register":)Thanks. It's very useful.
dukey
12th April 2014, 13:07
If people have java discs that don't work, especially those with unimplemented functions, please post samples :)
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.