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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th March 2012, 21:42   #61  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
The best course of action would be to contribute any improvements to the actual Blu-ray handling back to the libbluray project. In fact, its the only course of action that'll get you proper support.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 15th March 2012, 21:55   #62  |  Link
Rectal Prolapse
Registered User
 
Join Date: Mar 2005
Posts: 433
I cannot seem to find the libbluray project - only the dslibbluray one on sourceforge. I guess I will have to keep searching around a bit.

I guess it is the VLC one:

http://www.videolan.org/developers/libbluray.html
Rectal Prolapse is offline   Reply With Quote
Old 15th March 2012, 22:40   #63  |  Link
nevcairiel
Registered Developer
 
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,346
Yes thats the one. Its the base library dslibbluray is based on (as one might've guessed from the name)
__________________
LAV Filters - open source ffmpeg based media splitter and decoders
nevcairiel is offline   Reply With Quote
Old 18th March 2012, 02:07   #64  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
cb2000,
is the code in test-60.zip the latest on sourceforge ? Because when I try and BBC_DEEP_BLUE it works fine with that compiled code. But when I compile the mixer myself and run it, it won't run past the menu buttons. Just freezes after. And the compile sizes come out different so I'm guessing there is some changes missing ?

I want to make some changes to the mixer to help with evr custom compatibility but would rather work with the latest version
dukey is offline   Reply With Quote
Old 18th March 2012, 14:25   #65  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
some interface function add in IEVRMixer, and be used by dslibbluray, see svn commit log of REV 62.

Quote:
Originally Posted by dukey View Post
cb2000,
is the code in test-60.zip the latest on sourceforge ? Because when I try and BBC_DEEP_BLUE it works fine with that compiled code. But when I compile the mixer myself and run it, it won't run past the menu buttons. Just freezes after. And the compile sizes come out different so I'm guessing there is some changes missing ?

I want to make some changes to the mixer to help with evr custom compatibility but would rather work with the latest version
cb2000 is offline   Reply With Quote
Old 18th March 2012, 18:26   #66  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
I was using build rev 62. The debug binary comes out a different size than that of the evrmixer.dll in the test-60.zip. I am thinking either you forgot to submit some code or REV 62 introduced a bug Since the BBC_DEEP_BLUE wont play past the menu with REV 62 or later.
dukey is offline   Reply With Quote
Old 19th March 2012, 08:31   #67  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Mainly because the libbluray.jar not compatable with bluray.dll.
Using the the same Rev of code and and libbluray.jar in test build please.

Quote:
Originally Posted by dukey View Post
I was using build rev 62. The debug binary comes out a different size than that of the evrmixer.dll in the test-60.zip. I am thinking either you forgot to submit some code or REV 62 introduced a bug Since the BBC_DEEP_BLUE wont play past the menu with REV 62 or later.
cb2000 is offline   Reply With Quote
Old 19th March 2012, 09:00   #68  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by dukey View Post
I was using build rev 62. The debug binary comes out a different size than that of the evrmixer.dll in the test-60.zip. I am thinking either you forgot to submit some code or REV 62 introduced a bug Since the BBC_DEEP_BLUE wont play past the menu with REV 62 or later.
Working fine here
Just make sure you're using ONLY FFD cause from my tests there are big incompatibilities with other decoders e.g. LAV
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 19th March 2012, 12:16   #69  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
Yeah I haven't even got FFD installed at the moment, been using LAV. And I'm also testing from inside my own program with my custom presenter. We should be able to fix those incompatibilities.
dukey is offline   Reply With Quote
Old 19th March 2012, 12:30   #70  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
Hm i tried the demo player with FFDShow tryouts
all i get is

Problem signature:
Problem Event Name: APPCRASH
Application Name: demo_player.exe
Application Version: 0.0.0.0
Application Timestamp: 4f5e0938
Fault Module Name: ffdshow.ax

seems to die after
f:\work\bluray\dslibbluray\trunk\libbluray\src\libbluray\bluray.c:1582: Playback
rate change to 1.000000 ! (03D835C0)

Last edited by dukey; 19th March 2012 at 12:32.
dukey is offline   Reply With Quote
Old 19th March 2012, 14:35   #71  |  Link
Mercury_22
Registered User
 
Join Date: Dec 2007
Posts: 1,138
Quote:
Originally Posted by dukey View Post
Hm i tried the demo player with FFDShow tryouts
all i get is

Problem signature:
Problem Event Name: APPCRASH
Application Name: demo_player.exe
Application Version: 0.0.0.0
Application Timestamp: 4f5e0938
Fault Module Name: ffdshow.ax

seems to die after
f:\work\bluray\dslibbluray\trunk\libbluray\src\libbluray\bluray.c:1582: Playback
rate change to 1.000000 ! (03D835C0)
Rebuild your FFD (I'm using alexin's http://www.xvidvideo.ru/component/do...x86-icl12.html since I'm using FFD just for DSLibBluray I'm too lazy to build my own) and use Win7DSFilterTweaker_5_1 to make FFD default for H264, mpeg2 and vc1 cause like I've said before at my end and cb2000's it's working
__________________
Intel UHD Graphics 750; Win 10 22H2
Mercury_22 is offline   Reply With Quote
Old 19th March 2012, 14:41   #72  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
same crash
its a null pointer somewhere

Edit: okay vc1 wasn't disabled, works now

Last edited by dukey; 19th March 2012 at 14:48.
dukey is offline   Reply With Quote
Old 19th March 2012, 16:55   #73  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
Well done a little debugging ..
I found that the DXVA code in the mixer is quite broken. It looks like this


If i simply disable it in the code using ..
m_bDVXAUsed = false;

It works fine


Would it be best if we just commented out the DXVA code for now ? As clearly it doesn't work right.
dukey is offline   Reply With Quote
Old 20th March 2012, 14:49   #74  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
Using dxva for deinerlace and color space convert, and d3d for alpha blend and scale now.
it is a bug of dxva using output format to X8R8G8 when input is ARGB. I dont find it because my card only support ARGB input in software dxva device.

Quote:
Originally Posted by dukey View Post
Well done a little debugging ..
I found that the DXVA code in the mixer is quite broken. It looks like this
Would it be best if we just commented out the DXVA code for now ? As clearly it doesn't work right.
cb2000 is offline   Reply With Quote
Old 20th March 2012, 15:10   #75  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
If i give you access to my machine can you remotely debug it ? I can have a go at debugging it myself but I'm not familiar with how it is supposed to work.
dukey is offline   Reply With Quote
Old 20th March 2012, 16:53   #76  |  Link
cb2000
Registered User
 
Join Date: Nov 2010
Posts: 91
try REV 76

Quote:
Originally Posted by dukey View Post
If i give you access to my machine can you remotely debug it ? I can have a go at debugging it myself but I'm not familiar with how it is supposed to work.
cb2000 is offline   Reply With Quote
Old 20th March 2012, 17:04   #77  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
just compiled the latest version, seems to work fine
dukey is offline   Reply With Quote
Old 20th March 2012, 17:07   #78  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
Just a quick note, the colour mapping is wrong on the D3D version. Instead of coming out 0-255 it comes out 16-240
The DXVA version seems fine though.
dukey is offline   Reply With Quote
Old 22nd March 2012, 23:51   #79  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
Can anyone build a windows version of libaacs?
http://git.videolan.org/?p=libaacs.git
Should compile with mingw I think.
dukey is offline   Reply With Quote
Old 24th March 2012, 01:07   #80  |  Link
dukey
Registered User
 
Join Date: Dec 2005
Posts: 560
cb2000,
we should set the proper frame rate here .. instead of

Code:
if (SUCCEEDED(pDevice->GetDisplayMode(0, &mode)))
     uiFrameRate = mode.RefreshRate;

MFSetAttributeRatio(pOutputType, MF_MT_FRAME_RATE, uiFrameRate, 1)
The refresh rate might bare no relation to the video frame rate.

I want to set the

Code:
IMFMediaType *mt = NULL;

if(GetOutputCurrentType(0,&mt)==S_OK) 
{
    MFRatio fps;

    if (SUCCEEDED(GetFrameRate(mt, &fps)) && (fps.Numerator != 0) && (fps.Denominator != 0))
    {
    MFFrameRateToAverageTimePerFrame(fps.Numerator,fps.Denominator,(UINT64*)&m_hnsFrameInterval);

 }
 }
If i set the proper
SetSampleDuration()

My jerky problems in menus go away
dukey is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:35.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.