View Full Version : directshow Bluray disc navigator filter base on libbluray
Pages :
1
2
3
[
4]
5
6
7
8
9
10
Mercury_22
11th April 2012, 17:55
What happens with VC1 ? I don't have any VC1 stuff to test with.
It's even crashing DSLibBluray with some BD but since it's working with FFD let's wait for the TruHD fix first :)
P.S. e.g.[vc1 @ 03e3bcc0] Chroma scaling is not supported, expect wrong picture
[vc1 @ 03e3bcc0] warning: first frame is no keyframe
or [vc1 @ 0263e320] Interlaced frames/fields support is incomplete or [vc1 @ 03ee5c00] Pan-scan not implemented. Update your FFmpeg version to the new
est one from Git. If the problem still occurs, it means that your file has a fea
ture which has not been implemented.
[vc1 @ 03ee5c00] get_buffer() failed (-1 0 00000000)with LAV's wmv9 DMO
nevcairiel
11th April 2012, 18:51
Those errors wouldn't happen with the DMO, its ffmpeg warnings. :p
But its most likely like i expected, its not sending full frames like you have to for VC-1
Mercury_22
11th April 2012, 19:04
Those errors wouldn't happen with the DMO, its ffmpeg warnings. :p
But its most likely like i expected, its not sending full frames like you have to for VC-1
Yeah I thought so too but I have DMO selected in LAVVideo :confused:
Mercury_22
12th April 2012, 19:16
@Nev after latest changes in LAV I'm getting a c:\dslibbluray\libbluray\src\libbluray\bluray.c:2108: PSR change: psr8 = 296776
(06B84620)
[pcm_bluray @ 03d83b00] PCM packet too small
EDIT: something weird it's happening when using LAV decoders : if I use LAVVideo = CB I get the above message about the PCM, but if I use LAVVideo = SW then there's no PCM message :confused:
dukey
15th April 2012, 18:51
cb2000,
why does the filter create a folder called
dvb.persistent.root
in whatever folder it is run from ?
cb2000
16th April 2012, 02:48
for BD-JAVA application to store application specified information, such as last playback position for resume while reopen.
cb2000,
why does the filter create a folder called
dvb.persistent.root
in whatever folder it is run from ?
dukey
16th April 2012, 10:04
I see, probably should be stored in x:\users\username\appdata somewhere
dukey
18th April 2012, 14:03
cb2000, I get this crashing rendering the 5th element bluray menu
Dunno if this is any help at all.
http://i.imgur.com/kZr7a.png
Looks like not all the memory for BOG_DATA is valid.
cb2000
18th April 2012, 16:10
can you send me the disc or tell me where I can get it?
and how can I reproduce it?
cb2000, I get this crashing rendering the 5th element bluray menu
Dunno if this is any help at all.
http://i.imgur.com/kZr7a.png
Looks like not all the memory for BOG_DATA is valid.
dukey
18th April 2012, 17:47
Fixed it, I think.
for (ii = 0; &gc->bog_data[ii] != bog_data; ii++) {
if (_areas_overlap(bog_data, &bog_data[ii]))
skip = 1;
/* FIXME: clean non-overlapping area */
}
to
for (ii = 0; &gc->bog_data[ii] != bog_data; ii++) {
if (_areas_overlap(bog_data, &gc->bog_data[ii]))
skip = 1;
/* FIXME: clean non-overlapping area */
}
was reading past the array boundary. Problem was only showing up in my program.
dukey
19th April 2012, 20:17
Got another crash cb2000. Well technically not a crash, I think it's a thread deadlock.
http://i.imgur.com/wV8kB.png
Not limited to any specific title. But if you just hold down the right key on some of the menu titles, eventually it locks up. Scene selection seems to be a favourite to break :p
Mercury_22,
give the version on sourceforge a build + test. Hopefully TrueHD should be fixed now. Will try and look at this VC1 issue.
Mercury_22
5th May 2012, 16:12
Mercury_22,
give the version on sourceforge a build + test. Hopefully TrueHD should be fixed now. Will try and look at this VC1 issue.
Yes TrueHD it's working with LAVAudio too now !
A big :thanks: for this one :)
Mercury_22
5th May 2012, 18:55
Excellent :)
I spoke too soon :( now TrueHD it's broken with FFD
Maybe Nev can help :rolleyes::p
perhaps ffdshow for whatever reason expects the AC3 substream inside of TrueHD .. I really don't know.
nevcairiel
5th May 2012, 20:12
perhaps ffdshow for whatever reason expects the AC3 substream inside of TrueHD .. I really don't know.
Then it would be broken with LAV Splitter as well.
Mercury_22
6th May 2012, 20:51
Was just a bad version of FFD now everything it's working OK with last FFD version
dukey
17th May 2012, 01:26
Mercury_22,
Run this disc -> NATIONAL_GEOGRAPHIC_RELENTLESS_ENEMIES
Then compile the latest code and run it again :p
dukey
18th May 2012, 01:21
http://www.mediafire.com/?qi9bdzzyfu35dr2
Latest build if anyone can test it.
Snowknight26
18th May 2012, 04:17
Works well with the Animusic Blu-ray. The only issue, surprisingly, were the cmd files (the unregister ones had invalid syntax). Here's what I'd recommend you replace them with:
register32bit.bat
%windir%\System32\regsvr32.exe dslibbluray.ax
%windir%\System32\regsvr32.exe EVRMixer.dll
register64bit.bat
%windir%\SysWOW64\regsvr32.exe dslibbluray.ax
%windir%\SysWOW64\regsvr32.exe EVRMixer.dll
uregister32bit.bat
%windir%\System32\regsvr32.exe /u dslibbluray.ax
%windir%\System32\regsvr32.exe /u EVRMixer.dll
uregister64bit.bat
%windir%\SysWOW64\regsvr32.exe /u dslibbluray.ax
%windir%\SysWOW64\regsvr32.exe /u EVRMixer.dll
Ironically, even on a 64-bit system, using the 32-bit regsvr32.exe seems to work. Maybe you can remove the 64-bit register/unregister files.
dukey
18th May 2012, 10:05
Oh the bat files were me trying to be helpful :)
I'll amend with your suggestion
cengizhan
18th May 2012, 19:15
Snowknight26,
under windows 64 bit:
syswow64 is for 32 bit files,
system32 is for 64 bit files.
so your cmd files' names should be swapped.
nevcairiel
18th May 2012, 19:29
It doesn't matter anyway, the 64-bit regsvr32 can register both 32 and 64 bit dlls. Just don't specify a path to it at all.
Mercury_22
18th May 2012, 19:34
Or you can use my "tweak" Windows 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\""
to add a "Register" and a "Unregister" option / command to your right click menu for .ax, .dll and .ocx files :p
Snowknight26
18th May 2012, 21:08
Snowknight26,
under windows 64 bit:
syswow64 is for 32 bit files,
system32 is for 64 bit files.
so your cmd files' names should be swapped.
Oops, small oversight. But yes, as nevcairiel and I recommended, there should be only one pair of bats, in which case you can simply leave off the path.
Blight
5th June 2012, 14:44
I'm trying to get the filter working in GraphStudio.
What's the difference between the 'Audio' and 'Sound' pins?
What are the 'PG' and 'IG' pins? And which filters should they connect to?
My goal is to check if I can integrate support for the filter into Zoom Player.
An 'integrator guide' is required for this project to gain more support...
dukey
5th June 2012, 18:09
Audio is .. audio. The sound pin is for the sound effects for menu buttons etc. Both can be playing at the same time. PG and IG are program graphics and interactive graphics. Again this is for menus overlays, buttons etc.
A guide is not really needed. Just look at the example code in the demo_player app. There is still some work to do to complete the control interface. But basically it works.
dukey
6th June 2012, 15:09
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.
dansrfe
14th June 2012, 20:30
Support for madVR yet?
dukey
15th June 2012, 00:50
You can use it, but you won't get any menu buttons etc because it only supports 1 pin. You could write a custom mixer for it, but my gut feeling is it would be too slow, even on fast hardware.
nevcairiel
15th June 2012, 07:12
You could just use software mixing, blend the menu in software onto the image. That shouldn't take all that much performance.
As an alternative, madVR already supports custom OSD overlays, would just have to write an adapter to send the menu data to its OSD interface instead of on separate pins.
dukey
15th June 2012, 12:38
It's not just mixing, the streams can be different sizes. So you'd have to resize in software too.
fairchild
19th June 2012, 00:56
Thanks to the devs for all the work on this, but can someone educate me on if this is to the point where it can be added as a filter in MPC-HC then used to open Blu-Ray discs and have fully functional menus?
Or is the only option still to use something like PowerDVD or WinDVD?
dukey
19th June 2012, 20:44
Thanks to the devs for all the work on this, but can someone educate me on if this is to the point where it can be added as a filter in MPC-HC then used to open Blu-Ray discs and have fully functional menus?
Yeah it plays most discs. It only works with unencrypted content at the moment, so you'll either need to compile libaacs and get that to work. Or use something like anydvd-hd.
It needs to be paired with a decoder that'll handle mpeg2/4/ and VC1. So the internal mpc-hc decoder should do the trick.
For renderer support it'll work out the box with EVR, but to get the custom presenter to work will require a few small changes. Ie to make it thread safe for direct 3d. And maybe check a few states.
The interface closely resembles that of the DVD navigator. It might change somewhat in the future. But for basic functionality all you need to do is pass key presses to it. The rest could be ignored.
Wile-E-Coyote
21st June 2012, 03:00
Hey guys. Thank you all for working on this.
I'm having a problem. I downloaded the latest build and followed the readme.txt instructions. The menus and movies in the demo_plyer play but are very choppy. I don't have this kind of problem when I read a blu-ray with any commercial player or even mpc-hc.
dukey
21st June 2012, 16:27
can u upload a sample of the video ? The menu files should suffice
Wile-E-Coyote
22nd June 2012, 06:02
can u upload a sample of the video ? The menu files should suffice
I've tried with two blu-rays so far. One shows the menu when inserted, the other starts the movie directly. And both have choppy playback. You sure the menu would be enough?
Mercury_22
22nd June 2012, 10:43
I've tried with two blu-rays so far. One shows the menu when inserted, the other starts the movie directly. And both have choppy playback. You sure the menu would be enough?
What decoder are you using ? What BD ? What OS, video, drivers.....
Also try this http://www63.zippyshare.com/v/27242529/file.html
Are they choppy using the same decoder in MPC too ?
Wile-E-Coyote
22nd June 2012, 11:25
What decoder are you using ? What BD ? What OS, video, drivers.....
Also try this http://www63.zippyshare.com/v/27242529/file.html
I'm following the readme's intructions, so the decoder, both audio and video is ffdshow (tryouts rev 4422).
My OS is Win 7 x64, running a Geforce GTX 570 with drivers 301.42
The latest directX runtime is installed.
So far I've tried the BDs of Kingdom of Heaven DC and The Last Samurai.
Are they choppy using the same decoder in MPC too ?
Like I said above no. Playback in MPC-HC is smooth, no matter what decoder I use. In fact I would be using it if it could play blu-ray menus.
I downloaded the file you linked me and replaced the original with it but it had no effect.
dukey
22nd June 2012, 12:46
Upload a sample so we can test it. Menu files + small cutting off the main title should do.
Wile-E-Coyote
22nd June 2012, 14:36
Sorry I have no idea how to rip the menus off a blu-ray. I'm gonna need time to find out how to do it.
On a side-note, is the navigation button in the player supposed to have any effect? When I click it nothing happens.
dukey
22nd June 2012, 16:16
There is functionality inside the filter to navigate and skip chapters. But it hasn't been added to the example program yet.
Mercury_22
22nd June 2012, 16:50
Sorry I have no idea how to rip the menus off a blu-ray. I'm gonna need time to find out how to do it.
On a side-note, is the navigation button in the player supposed to have any effect? When I click it nothing happens.
To navigate use F8 "for main menu" beside the arrows :)and for the menus just archive all the BD folders BUT inside STREAM folder leave just the m2ts files needed for the menu
EDIT AFAIK both BDs are VC-1 no ? Try changing the decoder for VC-1 in ffd or try to use LAV But VC-1 it's still not quite finish
DanB
16th July 2012, 18:09
This looks very promising ! I tested the 120 Build.
Would it be possible to use dslibbluray in the near future with WMP12 ?
I guess there is still the need of an DS Source Filter, and that one is not available today. Who would be able to write this filter ?
And how much work would this be for someone that now this stuff ?
whurlston
13th August 2012, 22:31
Video corruption when using LAV Video Decoder with Sucker Punch (US) but works fine on other H.264 discs.
http://www.htpcplugins.com/BDVideoCorruption.jpg
dukey
13th August 2012, 23:01
I don't get that corruption
you using dxva ?
whurlston
13th August 2012, 23:20
No (ATI card).
But thanks to your confirmation that it worked for you I played around with the settings some more and was able to get it to display properly if I set YUY2 as the only enabled output format in the LAV decoder settings.
Edit: NV12 was the offending format. With that disabled, it plays perfectly.
Absolutely awesome job on this guys!
dukey
14th August 2012, 10:25
It could be a problem with the custom mixer. Could you find out exactly what output settings you use that cause the problem ?
nevcairiel
14th August 2012, 11:58
Looks like a problem with the pitch negotiation, which i suppose would be the mixers job.
This is why i don't think this approach is the right one, implementing a custom mixer just to blend the menu graphics onto the video is way too complicated and limiting design.
I should really find the time to go about this with a more flexible approach and a clean design. Considering this project is rather dead itself, guess i don't have to work too fast. :p
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.