Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
|
|
Thread Tools | Search this Thread | Display Modes |
19th November 2010, 03:58 | #21 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
Half an year ago, when I start to learn directshow, I had read something about libbluray. But I think it is not stable enough to port. So I select libdvdnav as my first try on directshow.
I don't know the development status about libbluray now. Do you know the detail? C# I think is not fit for directshow filter design because of the efficiency. MSDN/directx sdk sample code/other one’s directshow code are worth to read. |
19th November 2010, 08:33 | #22 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
I started an implementation using libbluray for my LAVFSplitter. The problem i basically run into is how to get the title selection to players, because there is no proper title selection DShow interface, and the interface the DVD Navigator uses is quite limited and rather stupid, imho. (its also very specific to DVDs)
The best solution would be to define a new interface, which parts with the MS DVD Navigator interface, and use it for both libbluray and the dvd navigator. Of course, player developers would have to jump on board as well, or its all pointless.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
19th November 2010, 10:36 | #23 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
I think for the enduser, the menu is the most important interface for title selection. So impletement of the BD menu system and BDJ in DShow is the first.
I don't know if the libbluray work well on menu and BDJ. If It is, it is worth to work on it now. |
19th November 2010, 13:41 | #24 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
BDJ support in libbluray looks like a work in progress, not sure how far its along, default menus might be better, but i didnt try to get them working yet.
Sadly libbluray is like not documented at all, and development seems to be limited to 1-2 guys right now, that push a few commits every other week, so its going slow. Note when i'm saying "interface", i don't mean something the user can click on, i mean a interface in the programming sense, an abstract definition that defines how the player and the source filter/splitter communicate. The interface the DVD Navigator uses is just not re-usable for other source filters. I looked into that before, and its just lacking, and would severely limit the splitter. There needs to be something new that defines how the player tells the splitter what to do, and the splitter tells the player about the stream events. Starting to blindly code some filter without this will not result in any maintainable code. Thats why i also want player developers on board with this, because when they don't work on this as well, its a futile attempt. Sadly i don't know of any good player that has active devs that would want to work on this as well. MPC-HC does not really have an active dev experienced enough with the DShow parts to work on this, and i've never seen some guy from another player around these forums =/
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 19th November 2010 at 13:55. |
19th November 2010, 13:59 | #25 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
I think MS DVD Navigator had show the way for what yo saying "interface". It use filter events notification to tells the player about the stream events. The player use its IDVDInfo and IDVDControl interface to tells the splitter what to do. We can define a new universal event code and interface to do it better.
|
19th November 2010, 14:39 | #26 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,344
|
Yeah thats what i mean. IDVDInfo2 and IDVDControl2 are designed a bit silly, and full of legacy functions that don't make sense much anymore.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
25th November 2010, 04:00 | #28 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
Can madVR work with i945gm?
When I try to test dslibdvdnav with mpc-hc, I find madVR don't work. Software: mpc-hc release_v1_4_2499_0 (src downloaded from svn, changed to load dslibdvdnav, for test only) madVR v0.34 WinXP SP3 Hardware: DELL 640m |
25th November 2010, 07:10 | #30 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
Bad news. I must find another computer for testing.
Or anyone can help to test it, files has upload to sourceforge. http://sourceforge.net/projects/dsli...2.zip/download |
27th November 2010, 03:18 | #31 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
It seems no one had a test...
I found it crash with mpc internal video decoder and madVR in Win7. There is a bug in MHC-HC\src\DSUtil\deinterlace.cpp line 258, it make an aligned SSE2 store instruction on a unaligned pointer, should corrrect it by _mm_storeu_si128(dstrow++, ...). After a search i found it is corrected in SVN trunk. Anyway it works with madVR on my computer now. |
28th November 2010, 06:58 | #33 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
Thanks, it need to make some change on mediaportal to support dslibdvdnav.
dslibdvdnav use the same interface as MS DVD navigator. I know that is written by C#, can u do it? Maybe just make some change on "Core/DShowNET/Helper/Filters/FilterHelper.cs" is enough. |
29th November 2010, 11:45 | #34 | Link |
Registered User
Join Date: Feb 2009
Posts: 77
|
The results of my testing
If the DVD is in a local DVD drive then all works okay If the DVD is mounted from a NAS device MPC-HC plays a few frames of the FBI notice then freezes, but this works fine on normal MPC-HC. If the File->Open Directory is used and the Directory is on a NAS then MPC-HC displays "Cannot fid DVD directory" but this works fine on normal MPC-HC. If the file->Open DVD is used and the Directory is on a NAS then MPC-HC plays a few frames of the FBI notice then freezes, but this works fine on normal MPC-HC. It seems any network path does not work properly. Regards, Neeto
__________________
ASUS H97 Plus, Intel i5-4690 2.50Ghz, 16GB DD3 1600, XFX R9 270X 2GB DDR5, LynxTwo B Win 8.1 Pro with WMC 64Bit, Kodi, MPC-HC 1.7.8, LAV 0.65.0, Reclock 1.8.8.5, HD AnyDVD |
29th November 2010, 20:59 | #35 | Link |
Registered User
Join Date: Apr 2008
Posts: 1,106
|
I'm getting the "Cannot find DVD directory" error also using 0.1.2, windows 7 opening video_ts.ifo from hdd, using qdvd.dll allows me to play dvds with madVR, sweeet, any workaround or differences between this opensource one and qdvd.dll. I can't navigate through the dvd menus correctly with qdvd.dll and mpc-hc freezes every so often when attempting to do so.
Last edited by mark0077; 29th November 2010 at 21:38. |
30th November 2010, 07:03 | #36 | Link |
Registered User
Join Date: Nov 2010
Posts: 91
|
Thanks a lot.
1. It can not open video_ts.ifo now, it only support by open dvd root directory or a dvd image file. I will fix it. 2. I test on my computer that a network path is working by file->Open DVD. Neeto, are you sure the disc you mount on the NAS can be played if it mount on a local DVD drive? Is the NAS use SMB procotol for sharing? |
Thread Tools | Search this Thread |
Display Modes | |
|
|