Log in

View Full Version : directshow Bluray disc navigator filter base on libbluray


Pages : 1 2 3 4 5 [6] 7 8 9 10

mark0077
4th June 2013, 09:50
Guys is there a thread somewhere that describes how to use this with the likes of LAV Filters? I tried out the test player that comes with it and found it very good, but can't seem to get it to work in conjunction with LAV + mpc-hc. I'm a little confused between the different libblurays out there and whats in / not in lav already.

ddjmagic
9th June 2013, 16:32
A few samples for people to play around with as promised -

All the Boys Love Mandy Lane (UK Region B Import)

Menu button loads too early (Fixed in latest source)

Part 1 (http://www.mediafire.com/download/reqj1r3ar568nnt/ALLTHEBOYSLOVEMANDY.zip.001)
Part 2 (http://www.mediafire.com/download/vsq82xwsu68b5ki/ALLTHEBOYSLOVEMANDY.zip.002)

Black Snake Moan (US Region A)

Photo Gallery doesn't seem to work correctly, and menu not animated.

Part 1 (http://www.mediafire.com/download/4aqa74xx7cv79xk/BLACK_SNAKE_MOAN.zip.001)
Part 2 (http://www.mediafire.com/download/hv6kxopg1j2d76m/BLACK_SNAKE_MOAN.zip.002)

The Strangers (US Region A)

Stuck at first selection menu (Choice between Theatrical/Extended cut)

Part 1 (http://www.mediafire.com/download/k0hodvt5550s2ge/THE_STRANGERS.zip.001)
Part 2 (http://www.mediafire.com/download/3yw9ubzj6ju9dsa/THE_STRANGERS.zip.002)

Shutter Island (US Region A)

Loads menu but does not respond to any selections

Part 1 (http://www.mediafire.com/download/06770kvi6njiso3/SHUTTER_ISLAND_AC.zip.001)
Part 2 (http://www.mediafire.com/download/fx7ygtxmopvn3tn/SHUTTER_ISLAND_AC.zip.002)

:)

dukey
9th June 2013, 17:17
Thanks for the samples ddjmagic :)

nautilus7
9th June 2013, 18:10
If you want any specific sample, i can provide it. i have lots of blu-ray discs.

dukey
9th June 2013, 18:44
Samples that have problems with dslibbluray or libbluray are most welcome :)

DanB
20th June 2013, 17:43
last year i was asking dukey if it would be possible to use dslibbluray with WMP/WMC .

One year has gone, and I would like to discuss what theoretical or technical steps are necessary (or possible at all) to use it with WMC.

I did some digging into some dll´s from mc to analyze what’s going on when mc discover a bd based disc. I also found the blacklist “Feature” for this file types.

I am very into WMC programming, so any work that has to be done (Background addin , catching key presses , talking to the filter etc.) could be done by me.
but I don’t have that much knowledge on ds filter stuff, so your help and information are very welcome.

Thx, Daniel
#

dukey
22nd June 2013, 22:45
Test 226 (http://sourceforge.net/projects/dslibbluray/files/test-226.zip/download)
New build of dslibbluray.

- Added mouse support (only works for hdmv titles)
- Audio stream selection should now work
- Subtitle stream selection should now work
- I've rewritten the overlay code to buffer the data and render in a different thread. Prevents the program from deadlocking if too much data from libbluray is pushed. Also dramatically cuts the memory requirements.
- Lots of libbluray fixes too

ddjmagic
23rd June 2013, 10:24
Thanks for the new build. Mouse selection seems to work on the HDMV menus I tried. Audio/Subtitle switching too.

ALLTHEBOYSLOVEMANDY is fixed in the current source I just uploaded. Hopefully it should get added to the libbluray source soon too :)

Is this fix in the latest build? As the menu buttons still seem to load early for me.

Also with the new build, the Shutter Island sample crashes the player after the paramount intro .
I get - "demo_player.exe has stopped working"

Build 200 loads the menu, no crash.

dukey
23rd June 2013, 12:27
Is this fix in the latest build? As the menu buttons still seem to load early for me.

Not currently, but it'll get fixed in libbluray at some point. I'll check out the other video crashing.

mark0077
30th June 2013, 14:58
Is it possible to get this to work with the likes of mpc-hc + lav guys? Can't get it working.

ddjmagic
30th June 2013, 15:02
Is it possible to get this to work with the likes of mpc-hc + lav guys? Can't get it working.

I don't think it is possible at the moment. MPC-HC would need to add support for it first.

ddjmagic
30th June 2013, 19:59
Also with the new build, the Shutter Island sample crashes the player after the paramount intro .
I get - "demo_player.exe has stopped working"

Build 200 loads the menu, no crash.

This was a problem with my PC :devil:, it's all sorted now with no crash.

Menu selection with Shutter Island now works in build 226, in fact this disc now seems to work 100%, scene selection, pop up menu, audio/subtitle switching and all special features worked fine - Thanks :)

dukey
30th June 2013, 21:40
Is it possible to get this to work with the likes of mpc-hc + lav guys? Can't get it working.

Put a request in for the developers to add support for it. They just need to create an instance of the filter, render the pins. And add support for the mouse and keyboard interface. Theres a few other things, but for minimal support that would be sufficient.

MokrySedeS
30th June 2013, 22:16
I asked about it (http://forum.doom9.org/showthread.php?p=1623820#post1623820) some time ago. There was no reply :(

dukey
30th June 2013, 23:06
I think this is the official support ticket.
https://trac.mpc-hc.org/ticket/1295
I might try making a patch myself, but my free time is kinda busy spent finishing dslibbluray

ddjmagic
2nd July 2013, 18:06
A few more samples -

Karate Kid 1984 (US Region A)

Menu seems to work, but seems a bit laggy/unresponsive (could just be me though)

Part 1 (http://www.mediafire.com/download/xpiq6sah8q6rmb7/KARATE_KID.zip.001)
Part 2 (http://www.mediafire.com/download/fromk6e9xdt5c24/KARATE_KID.zip.002)
Part 3 (http://www.mediafire.com/download/k3p8ndlw3j235am/KARATE_KID.zip.003)

Crank (US Region A)

Loads the menu background video, but no actual menu or buttons are shown. Also skips the Lionsgate intro video.

Part 1 (http://www.mediafire.com/download/oq7h4b3fmoybm7b/CRANK.zip.001)
Part 2 (http://www.mediafire.com/download/3fv5i29pzr4otd2/CRANK.zip.002)

Atonement (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/o1hskr19lban4vw/ATONEMENT.zip.001)
Part 2 (http://www.mediafire.com/download/5x8ild8sqikbcbs/ATONEMENT.zip.002)

King Kong (US Region A)

Loads the menu fine, the only thing I see wrong is once you select either Extended/Theatrical, the loading bar comes over the top (The 'King Kong' image doesn't disappear). See this screenshot (http://i.imgur.com/6cwaUkW.jpg) for example.

Part 1 (http://www.mediafire.com/download/6phiglegx8h6i51/KING_KONG.zip.001)
Part 2 (http://www.mediafire.com/download/s3auyf1tawckzjn/KING_KONG.zip.002)


Note - All these samples contain just the files needed to make the menu load.

dukey
2nd July 2013, 20:34
Are they all bd-j (java) samples ?

ddjmagic
2nd July 2013, 21:47
Are they all bd-j (java) samples ?

Yes. I think so (they have a JAR folder)

dukey
2nd July 2013, 22:00
If they have stuff in the jar folder, that normally means they are bd-j :)
Thanks for the samples. I'll check them out

ddjmagic
2nd July 2013, 22:08
If they have stuff in the jar folder, that normally means they are bd-j :)
Thanks for the samples. I'll check them out

Yes, just checked, they all have files inside the JAR folder :)

starla
3rd July 2013, 12:58
King Kong (US Region A)

Loads the menu fine, the only thing I see wrong is once you select either Extended/Theatrical, the loading bar comes over the top (The 'King Kong' image doesn't disappear). See this screenshot (http://i.imgur.com/6cwaUkW.jpg) for example.

Part 1 (http://www.mediafire.com/download/6phiglegx8h6i51/KING_KONG.zip.001)

This is probably player and/or filter specific, not related to the libbluray itself since it seems to work with another DS source filter and player.

Other samples behave the same so they are most likely libbluray related issues we are seeing.

dukey
3rd July 2013, 15:56
This is probably player and/or filter specific, not related to the libbluray itself since it seems to work with another DS source filter and player.

Other samples behave the same so they are most likely libbluray related issues we are seeing.

ARGB overlays have no timestamps, so they just render immediately.

starla
3rd July 2013, 19:14
ARGB overlays have no timestamps, so they just render immediately.

Wasn't the issue with King Kong about "loading" gfx hanging on the screen?

dukey
3rd July 2013, 19:22
When I tried the disc in power dvd, you see the loading bar over a black screen, instead of the King Kong image. I am not sure which is correct, maybe both. But I have no control over this, it just draws whatever libbluray feeds it. It doesn't hang either, on my machine anyway ;p

ddjmagic
3rd July 2013, 19:57
When I tried the disc in power dvd, you see the loading bar over a black screen, instead of the King Kong image. I am not sure which is correct, maybe both. But I have no control over this, it just draws whatever libbluray feeds it. It doesn't hang either, on my machine anyway ;p

TMT/PowerDVD and both my Standalone players show the loading bar over a black screen, so I assume that's how it should be, it's only for a second anyway, I was just being picky :D

dukey
4th July 2013, 01:08
Do you guys have any BD samples with secondary audio ? I need to add support for that at some point

wOxxOm
4th September 2013, 17:46
A typo in register64bit.cmd: missing backslash in the first line after %systemroot%

I've tested demo_player with a few anime BDs (dual-language content if that matters) and apparently some menu items don't work:
everything except a background disappears after clicking the disk is read entirely for a few minutes with the menu frozen and then the menu is reactivated after clicking the BD menu a few times PC lags like it operates at 1MHz, yet CPU usage in task manager is ~1%, the player is operational but the lagging won't disappear until I close the demo_player.
It would also be nice to have a 'save screenshot' menu command *and* a hotkey for that in the demo_player.

dukey
4th September 2013, 19:28
What titles are you trying that don't work ?
And can you provide samples

and thanks for the heads up about the missing back slash :)

dukey
5th September 2013, 12:49
I tested the copy you sent me wOxxOm,
off my hard disk it seems to work flawlessly.
What decoders are you using ? DXVA mode ?
What do I have to do exactly to replicate that bug ?

As for saving screenshots
alt + print screen -> paste in mspaint or similar

http://i.imgur.com/ohl0PxH.jpg

wOxxOm
5th September 2013, 12:53
dukey,
the extras button doesn't work and just makes demo_player read entire BD byte by byte for a few minutes then the menu is reactivated as for absence of the lags, maybe the trimmed copy I sent you isn't enough to reproduce my default decoder is LAV, I've tried it with CUVID and pure software decoding Alt-PrintScreen and then manual cropping? Of course I know it's possible but a hotkey to save the screenshot to an autonumbered png file would be soooo much nicer.

Edit: now I think the lag problem might have been caused by LAV in CUVID GPU decoding mode as my graphics card is far from being high-performance, it's a fanless low-power GT 640.

dukey
5th September 2013, 13:28
Since you are playing directly from disc,
what are you using for decryption ? Anydvd ?

wOxxOm
5th September 2013, 13:29
no, I've temporarily copied it to hdd, so no extra software.

whurlston
11th September 2013, 18:34
the extras button doesn't work and just makes demo_player read entire BD byte by byte for a few minutes then the menu is reactivatedThis is typical if you have AnyDVD (or other decryption software) set to remove titles shorter than x number of minutes and the extra clips are shorter than x.

no, I've temporarily copied it to hdd, so no extra software.You needed to decrypt it before copying to the hdd or it wouldn't play at all.

wOxxOm
11th September 2013, 18:36
This is typical if you have AnyDVD (or other decryption software) set to remove titles shorter than x number of minutes and the extra clips are shorter than x.

You needed to decrypt it before copying to the hdd or it wouldn't play at all.

Thanks, but it's irrelevant in this case, I should have said (but regrettably didn't) that Arcsoft TMT plays the extras fine from the same hdd folder.

whurlston
11th September 2013, 19:03
Ah, yes. That changes things. I don't have a copy of that movie to test but dukey is definitely more qualified anyway. (My c++ is rusty at best.)

@dukey: I've found that the demo player will not use any of the "Cyberlink Video Decoder (PDVDx)" decoders. If you change the VC1 Media type on dslibbluray (BDVideoDemuxer.cpp) and the EnumMatchingFilters in the demo player to use DEFINE_GUID(MEDIASUBTYPE_WVC1_CYBERLINK,
0xd979f77b, 0xdbea, 0x4bf6, 0x9e, 0x6d, 0x1d, 0x7e, 0x57, 0xfb, 0xad, 0x53);
and then set EnumMatchingFilters to MERIT_DO_NOT_USE, these decoders will be able to be used.

Other decoders (LAV, ArcSoft, etc) also accept that media type so the only thing that changes is that EnumMatchingFilters will return the newer Cyberlink decoders in the list in addition to the other decoders it already returned.

dukey
11th September 2013, 23:48
The demo player has a little logic that just enums all the filters and asks which support all 3 video codecs (h264/mpeg2/vc1). Any matching that can be used, failing that, it'll just try and connect a h264 decoder.
In the source that is ..

arrayInTypes[0] = MEDIATYPE_Video;
arrayInTypes[1] = MEDIASUBTYPE_MPEG2_VIDEO;

arrayInTypes[2] = MEDIATYPE_Video;
arrayInTypes[3] = MEDIASUBTYPE_H264;

arrayInTypes[4] = MEDIATYPE_Video;
arrayInTypes[5] = MEDIASUBTYPE_WVC1;

So you saying that the powerdvd decoders don't support
MEDIASUBTYPE_WVC1 ? There is a lower case version of that subtype maybe they support that ?
MEDIASUBTYPE_wvc1

whurlston
12th September 2013, 10:20
I really need to stop testing things at 3:00am. Turns out that I had not changed the merit when I tested using MEDIASUBTYPE_WVC1 and I didn't see that subtype when I enumerated the supported media types on the filter.

Using MEDIASUBTYPE_WVC1 and MERIT_DO_NOT_USE, the newer Cyberlink decoders do get returned in the supported decoders list. Using MERIT_DO_NOT_USE + 1, only the older "CyberLink Video/SP Decoder" gets used.

dukey
12th September 2013, 10:50
I can change the merit to MERIT_DO_NOT_USE if you want. My only question is why is the merit on that filter so low ?

whurlston
12th September 2013, 20:31
Not sure why the merit is so low. I guess they just didn't want it used in third party apps.

I don't need you to change the merit just for me, it was really just an FYI. I'm actually using the filter in a C# application (and it's been working quite nicely for me so far).

dukey
12th September 2013, 20:42
That's cool. Feedback from other developers is always useful. It's basically been just me working on it for the past year. I've ironed out pretty much most of the bugs in the directshow part. Just many to be fixed in libbluray, especially with regards to java.

KeyserSoze17
29th December 2013, 09:30
Dunno if this helps blight
http://i.imgur.com/V8gTO.png

In the future there might be more outputs to EVR, because some of the needed pins are missing I believe.

I'm trying to test this out in GraphStudio, but I cannot get the EVRMixer.dll to show up in the directshow filter list. When I register the filter, it says it was registered correctly. Is there anything else I should be doing to get this to show up? The dslibbluray.ax shows up in the filter list just fine.

Thanks

dukey
29th December 2013, 11:10
The evr mixer is a media foundation object. You can't instantiate it in graph studio. When you write the code, you don't have to manually connect the IMFTransform filter (evrmixer) to the graph, all you have to do is to tell EVR to use a custom mixer and it does the rest.

whurlston
3rd January 2014, 21:03
libbluray\src\file\dirs.h missing in SVN (referenced in bdj.c and dirs._win32.c since commit r245):

/*
* This file is part of libbluray
* Copyright (C) 2011-2013 VideoLAN
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library. If not, see
* <http://www.gnu.org/licenses/>.
*/

#ifndef BLURAY_DIRS_H
#define BLURAY_DIRS_H

#include <util/attributes.h>

#ifdef _WIN32
BD_PRIVATE int win32_mkdir(const char *dir);
#endif

/*
* Config, cache and data dirs
*/

BD_PRIVATE const char *file_get_config_home(void);
BD_PRIVATE const char *file_get_config_system(const char *dir);
BD_PRIVATE const char *file_get_cache_home(void);
BD_PRIVATE const char *file_get_data_home(void);

#endif

@dukey, I finally figured out how to build libbluray.jar too. :)

dukey
3rd January 2014, 21:56
Building the jar is not too hard. Just need to build against the j2me classes instead of the regular ones. But I might switch it to full desktop java at some point, so maybe we have a 64bit version of the filter too. Because the phoneme jvm has no 64bit compiler. Although if we run the JVM in a separate process maybe this doesn't matter anyway :)

IanD
4th March 2014, 17:13
Is it any easier to implement menu support for AnyDVD HD SpeedMenu?

Java menus seem to be so complex in some cases that I fear it will be impossible to support them all the time, however SpeedMenu is much simpler and can be generated for any Bluray, yet there is currently no support within MPC and it is thus difficult to play a title on a PC platform with non-Cinavia software.

whurlston
4th March 2014, 18:55
Is it any easier to implement menu support for AnyDVD HD SpeedMenu?

Java menus seem to be so complex in some cases that I fear it will be impossible to support them all the time, however SpeedMenu is much simpler and can be generated for any Bluray, yet there is currently no support within MPC and it is thus difficult to play a title on a PC platform with non-Cinavia software.

it already works with AnyDVD's Speed Menus.

dukey
4th March 2014, 21:36
That's nice, never actually tried speed menus.

dukey
12th March 2014, 21:16
http://sourceforge.net/projects/dslibbluray/files/test-248.zip/download
New version if people want to test. First version I've released for 9~ months.
Quite a few improvements to libbluray, and some to dslibbluray

Also for java discs, you need desktop java installed. Previous builds didn't because we used the phoneme jvm

Ceremony
13th March 2014, 00:14
fantastic work! too bad one cant use it within mpc yet (well, i couldnt make menus work, playlists (short ad-like clips before the movie play) do work fine though), but it was fun to check out my bluray menus for the first time ever xD

Also, the register64bit.cmd contains an unfortunate typo:
%systemroot\%SysWOW64\regsvr32.exe dslibbluray.ax
%systemroot%\SysWOW64\regsvr32.exe EVRMixer.dll

dukey
13th March 2014, 00:41
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.